From owner-freebsd-current Thu Feb 29 02:11:00 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id CAA28944 for current-outgoing; Thu, 29 Feb 1996 02:11:00 -0800 (PST) Received: from utrhcs.cs.utwente.nl (utrhcs.cs.utwente.nl [130.89.10.247]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id CAA28938 for ; Thu, 29 Feb 1996 02:10:54 -0800 (PST) Received: from myrtilos.cs.utwente.nl by utrhcs.cs.utwente.nl (SMI-8.6/csrelay-SVR4_1.3/RBCS) id LAA02668; Thu, 29 Feb 1996 11:10:47 +0100 Received: from curie.cs.utwente.nl by myrtilos.cs.utwente.nl (SMI-8.6/csrelay-Sol1.4/RB) id LAA24686; Thu, 29 Feb 1996 11:10:45 +0100 Received: from localhost by curie.cs.utwente.nl (SMI-8.6/SMI-SVR4) id LAA11767; Thu, 29 Feb 1996 11:10:44 +0100 To: current@freebsd.org Subject: Processing ICMP packets (was: -stable hangs at boot (fwd)) In-reply-to: Your message of "Wed, 28 Feb 1996 11:14:21 PST." <96Feb28.111437pst.177480@crevenia.parc.xerox.com> Date: Thu, 29 Feb 1996 11:10:43 +0100 Message-ID: <11766.825588643@curie.cs.utwente.nl> From: Andras Olah Sender: owner-current@freebsd.org Precedence: bulk On Wed, 28 Feb 1996 11:14:21 PST, Bill Fenner wrote: > In message <199602262117.PAA15987@brasil.moneng.mei.com>you write: > >Yes, I can imagine :-) I just want my firewalls to do something mildly > >more social - like return a HOST_UNREACHABLE > > How about "Communication Administratively Prohibited" (code 13, see RFC1812 > section 5.3.9) I've got two questions related to the handling of ICMP packets: 1. Shouldn't icmp_input() map ICMP type 3, code 13 packets to PRC_UNREACH* error codes, instead of discarding them? 2. Background info: What's the difference between codes 9, 10 (ICMP_UNREACH_{NET,HOST_PROHIB) and 13? Is 13 a code which covers both 9 and 10, or does it have a special meaning? Thanks, Andras