Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Simple Construction of a RAW TCP/IP Packet.

by Anonymous Monk
on Jun 13, 2010 at 10:47 UTC ( [id://844426] : note . print w/replies, xml ) Need Help??


in reply to Simple Construction of a RAW TCP/IP Packet.

Hi,
Thanks for this piece of code - it wonderful. However, I noticed that it appears that the tcp checksum calculation is not correct. I made tcp captures and tcpdump report the checksum is incorrect for TCP. I could not get any server to answer SYN-ACK to this SYN packet (tried with standard sshd and httpd), which confirms that the checksum is wrong. I am doing the research right now and trying to rewrite the checksum part.
Cheers, Alex
  • Comment on Re: Simple Construction of a RAW TCP/IP Packet.

Replies are listed 'Best First'.
Re^2: Simple Construction of a RAW TCP/IP Packet.
by Anonymous Monk on Jun 16, 2011 at 13:56 UTC
    Alex- Did you manage to get anywhere with the re-write?