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
+es
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.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.