lkml.org 
[lkml]   [2004]   [Aug]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Entirely ignoring TCP and UDP checksum in kernel level
Josan Kadett wrote:
> **Indeed there is no longer such a need to recalculate the IP checksum
> because I have found a way to disable it by patching the kernel. So, only
> requirement is this;
>
> Change the source address of the packet before it reaches to the socket
> buffer aka skbuff.h. Because if it reaches that code with the wrong IP
> header, the csum will just drop it away.

The main reason I suggested correcting the checksum is if it was done that way, the kernel would
behave normally for all other IP traffic and simply do a dodgy on only traffic from 192.168.1.1

If nobody else jumps in, let me think about it for a day or so and I'll see what I can do. It's been
a couple of years since I last looked at the network code though.

What kernel are you running?

Regards,
Brad
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:05    [W:0.036 / U:0.316 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site