From owner-freebsd-net Tue Aug 29 13:35:16 2000 Delivered-To: freebsd-net@freebsd.org Received: from news.IAEhv.nl (news.IAE.nl [194.151.64.4]) by hub.freebsd.org (Postfix) with ESMTP id 0769737B43C; Tue, 29 Aug 2000 13:35:13 -0700 (PDT) Received: (from uucp@localhost) by news.IAEhv.nl (8.9.1/8.9.1) with IAEhv.nl id WAA10123; Tue, 29 Aug 2000 22:35:12 +0200 (MET DST) Received: from avalon.oasis.IAEhv.nl (avalon.oasis.IAEhv.nl [192.168.1.3]) by drawbridge.oasis.IAEhv.nl (Postfix) with ESMTP id 7DF2D3E39; Tue, 29 Aug 2000 22:32:51 +0200 (CEST) Received: by avalon.oasis.IAEhv.nl (Postfix, from userid 226) id 69E7E3D; Tue, 29 Aug 2000 22:32:45 +0200 (CEST) Subject: Re: CFR: patch for ICMP error generation bugs In-Reply-To: <20000829192913.A39253@sunbay.com> "from Ruslan Ermilov at Aug 29, 2000 07:29:13 pm" To: Ruslan Ermilov Date: Tue, 29 Aug 2000 22:32:45 +0200 (CEST) Cc: net@FreeBSD.org, Garrett Wollman , Bill Fenner , Darren Reed , Kannan Varadhan , Frank Volf X-Mailer: ELM [version 2.4ME+ PL82 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Message-Id: <20000829203245.69E7E3D@avalon.oasis.IAEhv.nl> From: volf@oasis.IAEhv.nl (Frank Volf) Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi Ruslan, I checked the patch on FreeBSD 4.1-STABLE and it seems to work for me (but I do not have a very special or high traffic setup). Many thanks for your efforts. Kind regards, Frank Ruslan Ermilov wrote: > Hi! > > There are at least two problem reports PR 16240 and PR 20877 > that this patch addresses. You can easily see yourself what > gets wrong by monitoring ICMP error messages containing part > of original datagram with `tcpdump -vvnx icmp' and comparing > the original datagram with one in generated ICMP error. You > will notice that sometimes fields are in host byte order, or > TTL field is decremented. > > At least one case is not fixed by this patch -- in an IPFW > based firewall, when we have a `unreach foo' rule matching > `out'going packets, the ip_ttl field is still decremented. > > Please note that `udp_usrreq.c,v 1.71 by darrenr' should be > backed out in order to apply and test this patch. > > > Comments please, > -- > Ruslan Ermilov Oracle Developer/DBA, > ru@sunbay.com Sunbay Software AG, > ru@FreeBSD.org FreeBSD committer, > +380.652.512.251 Simferopol, Ukraine > > http://www.FreeBSD.org The Power To Serve > http://www.oracle.com Enabling The Information Age [ Attachment, skipping... ] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message