Messages in this thread | | | Date | Sun, 22 Aug 2004 11:04:28 +0400 | From | Brad Campbell <> | Subject | Re: 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/
| |