login
Header Space

 
 

Re: Strange network related data corruption

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Malte <maltesch@...>
Cc: <linux-kernel@...>
Date: Monday, October 8, 2007 - 9:01 am

On Sunday 07 October 2007 17:47, Malte Schröder wrote:

$ cat z
FILE=z; | cut -d" " -f1 | nc -lp5000 -q0; while nc -lp5000 -q0 < $FILE; do : ; done

$ sh z
z: line 1: syntax error near unexpected token `|'
z: line 1: `FILE=z; | cut -d" " -f1 | nc -lp5000 -q0; while nc -lp5000 -q0 < $FILE; do : ; done'


Does it happen over loopback?

tcpdump / tcpflow may help seeing whether there is some corruption
(TCP checksumming should have catched that, but worth looking into).
Basically, you wait for "wrong" checksum to appear, then
you stop script and look into tcpdump/tcpflow logs.
--
vda
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Strange network related data corruption, Malte , (Sun Oct 7, 12:47 pm)
Re: Strange network related data corruption, Denys Vlasenko, (Mon Oct 8, 9:01 am)
Re: Strange network related data corruption, Malte , (Tue Oct 9, 7:25 am)
Re: Strange network related data corruption, Denys Vlasenko, (Tue Oct 9, 7:57 am)
Re: Strange network related data corruption, Malte , (Sat Oct 13, 3:55 am)
speck-geostationary