problem in tcp checksum?

Shai Rubin <[email protected]> Fri, 03 Dec 2004 17:38:08 -0600
Newsgroups gmane.comp.security.libnet
Message-ID <[email protected]>
Dear libnet users/developers,

I have recently switched from libnet version 1.1.0 to version 1.1.2.1.

Unfortunately, my code stops working.


It seems to me that there is a problem in the tcp checksum mechanism in 
the new version. When I trace my packets with tcpdump I get "bad tcp 
cksum" if a packet that I send has an odd number of bytes. If the packet 
has an even number of bytes, then the tcp checksum is OK. This does not 
happen when I compile my program with the older version of libnet.

Anyone has a similar problem?

Thanks,

Shai Rubin