Networking Forums

Networking Forums > Computer Networking > Windows Networking > Wrong TCp checksum on server side?

Reply
Thread Tools Display Modes

Wrong TCp checksum on server side?

 
 
Rajesh Gupta
Guest
Posts: n/a

 
      07-23-2004, 11:51 PM
Hi Everyone,

I am having a strange problem. My TCP packets get dropped on the server
side. When i did debugging, this is what found out.

TCP checksum on server side is wrong? Well its really strange, as i did not
modified anything in the TCP header and TCP data. I made modification in the
IP header only. I think this should not make any difference in the TCP
checksum.

When i checked the packet on client, its exactly the same packet. There is
no change in the TCP header and Data. On the client side, etherreal says,
correct checksum i.e. 0x43e0.
While on the server side, i checked the TCP header. Its exactly same.
Etherreal says Incorrect checksum (0x43e0), should be 0x43e4.

I am not sure what is happening, i have only modified the destination
address 172.10.10.16 to 172.10.10.12.

Observation, the difference between correct checksum and incorrect checksum
is 4, its exactly the same difference between previous and modified IP.

So i am not sure, what is happening to the TCP checksum. I read the
documentation, IP checksum is the checksum of IP header, while TCp checksum
is TCP header + TCP data.
Thanks a lot in advance.
Raj


 
Reply With Quote
 
 
 
 
Kizzy
Guest
Posts: n/a

 
      07-24-2004, 04:58 PM
TCP checksum includes the psuedo-header (some fields of the IP
header - see the RFC for details). If the psuedo-header
changes, TCP checksum needs to be re-calculated or "adjusted".

"Rajesh Gupta" <(E-Mail Removed)> wrote in message
news:OLtwv$(E-Mail Removed)...
> Hi Everyone,
>
> I am having a strange problem. My TCP packets get dropped on the server
> side. When i did debugging, this is what found out.
>
> TCP checksum on server side is wrong? Well its really strange, as i did

not
> modified anything in the TCP header and TCP data. I made modification in

the
> IP header only. I think this should not make any difference in the TCP
> checksum.
>
> When i checked the packet on client, its exactly the same packet. There is
> no change in the TCP header and Data. On the client side, etherreal says,
> correct checksum i.e. 0x43e0.
> While on the server side, i checked the TCP header. Its exactly same.
> Etherreal says Incorrect checksum (0x43e0), should be 0x43e4.
>
> I am not sure what is happening, i have only modified the destination
> address 172.10.10.16 to 172.10.10.12.
>
> Observation, the difference between correct checksum and incorrect

checksum
> is 4, its exactly the same difference between previous and modified IP.
>
> So i am not sure, what is happening to the TCP checksum. I read the
> documentation, IP checksum is the checksum of IP header, while TCp

checksum
> is TCP header + TCP data.
> Thanks a lot in advance.
> Raj
>
>



 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
IPCOP OPENVPN side by side with router VPN SupportAV Linux Networking 3 12-13-2006 10:03 AM
Connect Adjacent Buildings (Side by Side) rmartinezayala@gmail.com Wireless Internet 0 03-06-2006 05:36 PM
Port 80 Times Out WAN side; works great LAN side; switched ISP =?Utf-8?B?anItbQ==?= Windows Networking 3 01-13-2005 04:21 PM
How to handle TCP checksum, if adapter support TCP checksum offloading? Rajesh Gupta Windows Networking 0 08-02-2004 11:20 PM
VPN Server-side access thru MN-700? Terry Broadband Hardware 0 02-06-2004 11:01 PM



1 2 3 4 5 6 7 8 9 10 11