public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* RE: Cursed Checksums
@ 2004-08-22 18:55 Albert Cahalan
  2004-08-22 22:38 ` Josan Kadett
  0 siblings, 1 reply; 10+ messages in thread
From: Albert Cahalan @ 2004-08-22 18:55 UTC (permalink / raw)
  To: linux-kernel mailing list

I'm surprised to find that there doesn't seem to
be an ebtables mangle table. That'd be the place
to match on a u32, then either change that or just
mark the packet for checksuming.



^ permalink raw reply	[flat|nested] 10+ messages in thread
[parent not found: <E1Bz02y-00052n-3Z@sc8-sf-mx2.sourceforge.net>]
* Cursed Checksums
@ 2004-08-21  2:37 Josan Kadett
  2004-08-22 11:40 ` Alan Cox
  0 siblings, 1 reply; 10+ messages in thread
From: Josan Kadett @ 2004-08-21  2:37 UTC (permalink / raw)
  To: linux-kernel

I have an issue with the incorrect TCP and UDP checksum dropped by the
kernel. A network node is calculating TCP/UDP header checksums with wrong
psuedo-headers, so kernel does not let these packets to reach to userspace;

When I manually calcaulate the checksum in the incoming TCP and UDP packets
and re-inject them back to the socket, everything works fine. That is, the
data integrity is not damaged or corrupted at all.

I tried to investigate the code in tcp_input.c and udp.c to see if I can
disable the checksum control for inbound packets entirely. No use it was
since I need to do this urgently.

Any ideas?



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

end of thread, other threads:[~2004-08-22 23:05 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-22 18:55 Cursed Checksums Albert Cahalan
2004-08-22 22:38 ` Josan Kadett
     [not found] <E1Bz02y-00052n-3Z@sc8-sf-mx2.sourceforge.net>
2004-08-22 20:14 ` Albert Cahalan
  -- strict thread matches above, loose matches on Subject: below --
2004-08-21  2:37 Josan Kadett
2004-08-22 11:40 ` Alan Cox
2004-08-22 19:39   ` Josan Kadett
2004-08-22 21:03   ` Josan Kadett
2004-08-22 20:36     ` Alan Cox
2004-08-22 22:58     ` Olivier Galibert
2004-08-23  0:05       ` Josan Kadett

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