Bad TCP checksum error

2007-10-26 Thread Gaurav Aggarwal
103 0306 12:59:39.708619 IP (tos 0x0, ttl 64, id 61975, offset 0, flags [DF], proto: TCP (6), length: 60, bad cksum 75 (->8e23)!) 10.102.35.76.36898 > 10.102.130.105.colubris: S, cksum 0xc3e7 (incorrect (-> 0xc45c), 366446207:366446207(0) win 5840 0x: 0012 010a 5f4c 000b cd3a 5bfb 0800 4500 0x0010: 003c f217 4000 4006 0075 0a66 234c 0a66 0x0020: 8269 9022 0da2 15d7 867f a002 0x0030: 16d0 c3e7 0204 05b4 0402 080a 00e1 0x0040: 7757 0103 0306 2 packets captured 4 packets received by filter 0 packets dropped by kernel /* End - TCP dump */ Attached is the dump for ethreal also. -- Regards, Gaurav Aggarwal nfq_test.c Description: Binary data dump.pcap Description: Binary data

Re: Bad TCP checksum error

2007-10-26 Thread Gaurav Aggarwal
ted and computed) is coming as 0x02. Attached is the modified source code and tcpdump. Any help will be really appreciated. On 10/26/07, Gaurav Aggarwal <[EMAIL PROTECTED]> wrote: > Hi, > > I wrote a program where I am using the nfnetlink and netfilter_queue > model to capture th