From owner-freebsd-bugs Wed Aug 15 3:25: 7 2001 Delivered-To: freebsd-bugs@freebsd.org Received: from day.anthologeek.net (day.anthologeek.net [212.43.217.20]) by hub.freebsd.org (Postfix) with ESMTP id C6F1837B40B for ; Wed, 15 Aug 2001 03:25:03 -0700 (PDT) (envelope-from sw@anthologeek.net) Received: by day.anthologeek.net (Postfix, from userid 1000) id 2A33117126; Wed, 15 Aug 2001 12:23:09 +0200 (CEST) Date: Wed, 15 Aug 2001 12:23:09 +0200 From: Sameh Ghane To: Pierre Beyssac Cc: freebsd-bugs@FreeBSD.org Subject: Re: bin/29026: fix for traceroute Message-ID: <20010815122309.A46718@anthologeek.net> References: <200108131950.f7DJo1157822@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200108131950.f7DJo1157822@freefall.freebsd.org>; from pb@fasterix.freenix.org on Mon, Aug 13, 2001 at 12:50:01PM -0700 X-PGP-Keys: 0x1289F00D: Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Le (On) Mon, Aug 13, 2001 at 12:50:01PM -0700, Pierre Beyssac ecrivit (wrote): > The following reply was made to PR bin/29026; it has been noted by GNATS. > > From: Pierre Beyssac > To: FreeBSD-gnats-submit@FreeBSD.ORG > Cc: > Subject: bin/29026: fix for traceroute > Date: Mon, 13 Aug 2001 21:45:26 +0200 > > ----- Forwarded message from Pierre Beyssac ----- > > Date: Mon, 16 Jul 2001 21:06:37 +0200 > From: Pierre Beyssac > To: freebsd-net@FreeBSD.ORG > Cc: traceroute@ee.lbl.gov > Subject: fix for traceroute (bin/29026) > > Could anyone check this fix for PR bin/29026 (traceroute -s option)? > > It just reenables the bind(2) call checking for the source address > correctness, and moves the IP_HDRINCL after that (once IP_HDRINCL > is enabled on the socket, bind doesn't check this anymore). > > It seems to work on my (very outdated) current as well as -stable, > but I'm not able to check it on a recent -current, and although I > have tested it with and without -s I may have missed some side > effects with weird options combinations. > > If someone can confirm that this works, I can commit it. It works fine here, with a brand new -current. -- Sameh To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message