Re: problem in tcp checksum?
Mike Schiffman <[email protected]> Fri, 3 Dec 2004 17:46:44 -0800
| Newsgroups | gmane.comp.security.libnet |
|---|---|
| Message-ID | <[email protected]> |
The latest version of libnet 1.1.x, to be released soon, has this and other bugs fixed. On Dec 3, 2004, at 3:38 PM, Shai Rubin wrote: > 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 > > > > -- Mike Schiffman, CISSP http://www.packetfactory.net/schiffman Doveryay No Proveryay