In <20000721163220.D1495@marowsky-bree.de> Lars Marowsky-Bree (lmb@suse.de) wrote:
> On 2000-07-21T11:21:31,
> Vojtech Pavlik <vojtech@suse.cz> said:
>> Of course you can send invalid TCP/IP packets using the network stack in
>> Linux. You can send any packets.
> No. Actually the stack will filter out packets. (For example, sending a packet
> from the broadcast address to the broadcast address will be filtered)
No. It's true ONLY if you are using "normal" TCP/IP unterface. If you are
using "raw sockets" you can send ANY packets (even non-IP ones). That's the
point. HDIO_DRIVE_CMD gives you the same "raw I/O" ability. In both cases
you MUST be root to use it. So what's the difference ? Why we are not adding
such sanity checks in network stack ? Since we know that stupid IDE drive
can be hurt by wrong packet and smart network card can not ? Then fix stupid
IDE drive and make it smart as well.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sun Jul 23 2000 - 21:00:19 EST