Date: Thu, 10 Dec 2009 12:17:48 -0800 From: Doug Barton <dougb@FreeBSD.org> To: Richard A Steenbergen <ras@e-gerbil.net> Cc: freebsd-net@FreeBSD.org Subject: Re: ping6 and a do-not-fragment option Message-ID: <4B21576C.7030605@FreeBSD.org> In-Reply-To: <20091210190305.GT45152@gerbil.cluepon.net> References: <20091210190305.GT45152@gerbil.cluepon.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Richard A Steenbergen wrote: > Hi, > > I just noticed, while trying to do a little debugging, that ping6 > doesn't seem to have a way to specify "do not fragment" like ping does > for IPv4. Obviously the way this is implemented has been changed, since > there is no longer a DF-bit in IPv6, but it looks like there is already > an IPV6_DONTFRAG setsockopt() available for exactly this purpose. It > looks like IPV6_DONTFRAG got added at a later date (from RFC3542), > perhaps after ping6 was initially written. > > It seems like the correct fix would be to add a cli option to ping6 > (perhaps 'D', since it's available and matches the command in ping) to > call this setsockopt() and implement a "do not fragment" option. > Sounds good, we look forward to reviewing your patches. :) Doug -- Improve the effectiveness of your Internet presence with a domain name makeover! http://SupersetSolutions.com/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B21576C.7030605>