From owner-freebsd-net@FreeBSD.ORG Thu Dec 10 20:17:46 2009 Return-Path: Delivered-To: freebsd-net@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 448C7106568D for ; Thu, 10 Dec 2009 20:17:46 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with ESMTP id C99E48FC1B for ; Thu, 10 Dec 2009 20:17:45 +0000 (UTC) Received: (qmail 31743 invoked by uid 399); 10 Dec 2009 20:17:45 -0000 Received: from localhost (HELO foreign.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 10 Dec 2009 20:17:45 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4B21576C.7030605@FreeBSD.org> Date: Thu, 10 Dec 2009 12:17:48 -0800 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Thunderbird 2.0.0.23 (X11/20091206) MIME-Version: 1.0 To: Richard A Steenbergen References: <20091210190305.GT45152@gerbil.cluepon.net> In-Reply-To: <20091210190305.GT45152@gerbil.cluepon.net> X-Enigmail-Version: 0.96.0 OpenPGP: id=D5B2F0FB Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-net@FreeBSD.org Subject: Re: ping6 and a do-not-fragment option X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Dec 2009 20:17:46 -0000 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/