mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* How to disable TCP's checksum
@ 2002-02-27 14:17 Zhu Ying Jie
  2002-02-27 14:21 ` Roberto Nibali
  2002-02-27 14:28 ` bert hubert
  0 siblings, 2 replies; 4+ messages in thread
From: Zhu Ying Jie @ 2002-02-27 14:17 UTC (permalink / raw)
  To: linux-kernel

Hi,
  I am currently using kernel version 2.4.2 and trying to disable
tcp_input's checksum function. However, even I comment all the csum_error
in the file tcp_input.c, the packet (with wrong checksum) seems still will
be dropped. Can anyone tell me how to do the work? 

Zhu Ying jie
Department of Computer Science,
School of Computing, 
National University of Singapore


SS****************************SS***********************************SS
+           From little town of far land we came,                   + 
+           to save our honor from a world of flame.                +
+           By little town of far land we sleep,                    + 
+           and trust that world will be won for you to keep.       +
SS****************************SS***********************************SS



^ permalink raw reply	[flat|nested] 4+ messages in thread
* Re: How to disable TCP's checksum
@ 2002-02-27 17:17 Nivedita Singhvi
  0 siblings, 0 replies; 4+ messages in thread
From: Nivedita Singhvi @ 2002-02-27 17:17 UTC (permalink / raw)
  To: zhuyingj; +Cc: linux-kernel


> I am currently using kernel version 2.4.2 and trying to
> disable tcp_input's checksum function. However, even
> I comment all the csum_error in the file tcp_input.c, the
> packet (with wrong checksum) seems still will be dropped.

If the checksum field is the only one thats incorrect or messed
up, then disabling the checksum will suffice.  But if any other part
of the packet is also corrupted or altered in some way, it
might fail the many other checks both IP and TCP perform.

(Sorry, I know thats fairly obvious, but its easy to miss a check
or two. :) )

> Zhu Ying jie

thanks,
Nivedita


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

end of thread, other threads:[~2002-02-27 17:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-27 14:17 How to disable TCP's checksum Zhu Ying Jie
2002-02-27 14:21 ` Roberto Nibali
2002-02-27 14:28 ` bert hubert
2002-02-27 17:17 Nivedita Singhvi

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

all inboxes | Powered by JetHome®