[1394] in linux-net channel archive

home help back first fref pref prev next nref lref last post

Re: Spontaneous reboots caused by bogons

daemon@ATHENA.MIT.EDU (Tom May)
Fri Nov 17 15:26:50 1995

Date: Thu, 16 Nov 1995 11:36:34 -0800
From: ftom@netcom.com (Tom May)
To: gpg109@rsphy1.anu.edu.au
CC: linux-net@vger.rutgers.edu

>I was toying with the idea of "if (ip_length <8) return;" but this
>is not really correct. Consider someone who writes a packet-sniffer
>application that is interested in Rx'ing these bogons to diagnose
>net problems. They would (silently) only get 34 bytes of the total
>packet if we did that. Too much like MicroSloth behaviour for me...

Fine.  Perhaps a comment to the effect of "if iph->tot_len is invalid,
copy the entire packet because packet sniffers must be able to see it"
or something like that should be dropped in to the source.

Tom.

home help back first fref pref prev next nref lref last post