Date: Thu, 7 Jan 1999 21:10:36 +1300 From: Joe Abley <jabley@clear.co.nz> To: Wes Peters <wes@softweyr.com> Cc: freebsd-hackers@FreeBSD.ORG, jabley@clear.co.nz Subject: Re: setting DF bit Message-ID: <19990107211036.A14269@clear.co.nz> In-Reply-To: <36940A44.89628F8B@softweyr.com>; from Wes Peters on Wed, Jan 06, 1999 at 06:13:40PM -0700 References: <19990107135107.B12785@clear.co.nz> <36940A44.89628F8B@softweyr.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jan 06, 1999 at 06:13:40PM -0700, Wes Peters wrote: > Joe Abley wrote: > > How do arrange for the DF bit in the IP header to be set for a given > > connected socket? > > > > I was expecting to find a sockopt, but I can't find one... > > And won't. "sysctl -w net.inet.ip.sourceroute 1" will turn on DF > system-wide, setting it to zero (the default) will turn it back off. So what is the approved manner for doing a ping with the "DF" bit set? In the interests of testing, we need to set the DF bit in our icmp echo request. I do not want to set the DF bit on _everything_ though. Why do you say "won't"? Joe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990107211036.A14269>