Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
* [LARTC] checksum update in TCP
@ 2003-01-20  9:23 devik
  2003-01-20 10:35 ` Pavel Mores
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: devik @ 2003-01-20  9:23 UTC (permalink / raw)
  To: lartc

Hi,

anyone knows when TCP checksum is updated ? I have problem
with FTP transfers. I tested with two linux servers both
as ftp client or server. In all cases large (cca 50MB) file
transfers are corrupted inside.
I want to spot the problem, so that my question is:
if packet goes thru 2.4.18 router, does the router TCP
checksum recomputation ? Router has NAT enabled but not for
packets I'm interested in.
If yes then if router itself corrupts packet's data the case
will not be caught because it simply computes valid checksum
of corrupted data.
On other side if it simply passes packet thru (because nothing
except TTL is changed and TTL is not part of TCP checksum) then
the checksum should really ensure that nothing is changed
between sender and reciever and if data are invalid then error
would be on sender's or reciever's side.

thanks,
-------------------------------
    Martin Devera aka devik
Linux kernel QoS/HTB maintainer
  http://luxik.cdi.cz/~devik/

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2003-01-23  7:31 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-20  9:23 [LARTC] checksum update in TCP devik
2003-01-20 10:35 ` Pavel Mores
2003-01-20 11:09 ` Patrick McHardy
2003-01-20 11:19 ` Patrick McHardy
2003-01-20 14:09 ` devik
2003-01-21 11:58 ` Pavel Mores
2003-01-21 13:59 ` devik
2003-01-22 23:24 ` Pavel Mores
2003-01-23  7:31 ` devik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox