Date: Wed, 24 Apr 1996 02:06:57 -0700 (PDT) From: "Rodney W. Grimes" <rgrimes@GndRsh.aac.dev.com> To: pst@Shockwave.COM (Paul Traina) Cc: phk@critter.tfs.com, current@FreeBSD.org, JimFleming@unety.net Subject: Re: SLIP: Check IP Version (please test) Message-ID: <199604240906.CAA04133@GndRsh.aac.dev.com> In-Reply-To: <199604240705.AAA06833@precipice.shockwave.com> from Paul Traina at "Apr 24, 96 00:05:10 am"
next in thread | previous in thread | raw e-mail | index | archive | help
> An IP v8 packet MUST never be forwarded to the slip driver. Granted, but to protect one self from losing software ``be conservative in what you send and gaurd yourself from what you might receive''. This patch just protects FreeBSD to make sure what comes down the serial line is marked as an IPV4 packet. I don't care if your not suppose to send v6 or v8 stuff over SLIP, the software should _VALIDATE_ what it received. > From: Poul-Henning Kamp <phk@critter.tfs.com> > Subject: Re: SLIP: Check IP Version (please test) > > This patch seems to be irrelevant in any case. Only IPv4 packets should > > be passed to the SLIP driver. SLIP is not a multiprotocol point-to-point > > protocol, PPP is. > > > > IPvX x!=4 is a different protocol. SLIP is not supported in IPv6. Please > > don't slow down the code path by adding this change. > > I agree, the point is that people play with IPv8 and it breaks slip. > If SLIP is only for IPv4, it should discard other packets... ... [the rest trashed] ... -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation Company Reliable computers for FreeBSD
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199604240906.CAA04133>