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?