I tried to run the echo server but I don't get anything back.
This is the tcpdump kind of output I get out of the original script (and with yours and ikegami's suggestions):
client:/home/user # tcpdump -i eth0 -A port 6928 -xX -vv -s 0
listening on eth0, link-type EN10MB (Ethernet), capture size 65535 byt
16:59:48.813909 IP (tos 0x0, ttl 64, id 22143, offset 0, flags [DF],
+proto: TCP (6), length: 60) client.12110 > server.6928:
16:59:48.814003 IP (tos 0x0, ttl 128, id 58743, offset 0, flags [DF],
+proto: TCP (6), length: 64) server.6928 > client.12110: S, cksum 0x82
+75 (correct), 1326247112:1326247112(0) ack 4102086732 win 17520
I've noticed that the port on the client changes every time i run the script. May it be this the problem ? How could I stick it to the 6928 port ?
Unfortunetely I cannot run right now tcpdump on the older Linux boxes where it works fine, to see if there is any difference.
Thanks a lot for any hint.