Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Jul 1998 09:52:32 -0700
From:      David Greenman <dg@root.com>
To:        Bill Fenner <fenner@parc.xerox.com>
Cc:        sthomas@lart.net, freebsd-bugs@FreeBSD.ORG, phk@critter.freebsd.dk
Subject:   Re: kern/7191: FreeBSD 2.2.6 generates Source-route prohibited when not routing 
Message-ID:  <199807071652.JAA27173@implode.root.com>
In-Reply-To: Your message of "Tue, 07 Jul 1998 09:42:56 PDT." <98Jul7.094259pdt.177515@crevenia.parc.xerox.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
>I'm not sure I agree the ICMP message is bogus.  It's true that RFC1122
>says that ICMP source route failed errors are only returned for
>incomplete (i.e. in-transit) source routes, but it also says that
>complete source routes MUST be passed up to the transport layer.  Since
>we're not passing the packet up to the transport layer, it makes sense
>to send some kind of ICMP error.

   ...but hosts shouldn't send ICMP unreachables:

            A host MUST silently discard an incoming datagram that is
            not destined for the host.  An incoming datagram is destined
            for the host if the datagram's destination address field is:

   So if ipforwarding is 0, and the packet isn't for the local machine, then
it must be silently discarded.

-DG

David Greenman
Co-founder/Principal Architect, The FreeBSD Project

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807071652.JAA27173>