From owner-cvs-sys Fri May 23 19:58:22 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id TAA02060 for cvs-sys-outgoing; Fri, 23 May 1997 19:58:22 -0700 (PDT) Received: from plum.cyber.com.au (plum.cyber.com.au [203.7.155.24]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id TAA02052; Fri, 23 May 1997 19:58:13 -0700 (PDT) Received: (from darrenr@localhost) by plum.cyber.com.au (8.6.12/8.6.6) id MAA11722; Sat, 24 May 1997 12:58:08 +1000 From: Darren Reed Message-Id: <199705240258.MAA11722@plum.cyber.com.au> Subject: Re: cvs commit: src/sys/netinet ip_icmp.c To: julian@FreeBSD.ORG (Julian Elischer) Date: Sat, 24 May 1997 12:58:08 +1000 (EST) Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG In-Reply-To: <199705232217.PAA25661@freefall.freebsd.org> from "Julian Elischer" at May 23, 97 03:17:34 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk In some mail I received from Julian Elischer, sie wrote > > julian 1997/05/23 15:17:34 PDT > > Modified files: (Branch: WHISTLE_NET_BRANCH_1) > sys/netinet ip_icmp.c > Log: > Submitted by: archie@whistle.com > don't look for a matching receive interface if the packet was not received. > This can happen if an icmp UNREACH or similar is being generated > by firewall code. (Prior to firewall code this was not possible). This series of changes intrigues me. When I came upon this problem, I at first thought it a problem and then realised that for locally generated packets, this situation is usually handled by functions returning an error code (i.e. EHOSTUNREACH or similar) rather than there being an ICMP packet to respond to. IMHO, ipfw shouldn't send an ICMP response to a locally generated packet. Darren