Date: Tue, 20 Sep 2005 13:45:42 +0100 (BST) From: Robert Watson <rwatson@FreeBSD.org> To: Milscvaer <millueradfa@yahoo.com> Cc: freebsd-net@freebsd.org Subject: Re: UDP dont fragment bit Message-ID: <20050920134408.Y34322@fledge.watson.org> In-Reply-To: <20050918212110.61962.qmail@web54501.mail.yahoo.com> References: <20050918212110.61962.qmail@web54501.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 18 Sep 2005, Milscvaer wrote: > FreeBSD ought to add per-socket socket options to allow a programmer to > turn on and off the don't fragment bit for UDP and the UDP checksum, on > a per socket basis. > > FreeBSD needs to implement this feature. We requested this same feature > years ago and I cannot believe such a simple, basic feature is still not > implemented, or not documented in the setsockopt manpage anyhow. This > needs to be implemented. We need it. Trust me. For whatever reason, it turns out that you and only you have requested this feature. For typicaly network debugging applications, a raw socket is used, which allows the direct frobbing the the IP DF bit. For example, in traceroute(8). Could you tell us a bit more about the application and proposed use? Presumably forcing the DF bit isn't much use unless you can also retrieve useful reporting on the ICMP errors associated with needing the fragment? Robert N M Watson
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050920134408.Y34322>