lkml.org 
[lkml]   [2000]   [Jul]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: TO HELL WITH IT THEN......(re: disk-destroyer.c)
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/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.693 / U:0.300 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site