Messages in this thread | | | Date | Sun, 22 Aug 2004 10:01:20 +0400 | From | Brad Campbell <> | Subject | Re: Entirely ignoring TCP and UDP checksum in kernel level |
| |
Josan Kadett wrote: > Well, the device fails only in one type of operation, that is when it has to > receive packets from an internal port, it sends packets via its external IP > address. > > I have managed to disable IP header checksumming by hacking the kernel (in > file ip_input.c). Now I have to do the same for tcp_input.c and udp.c . > Packet mangling will not be required because when I turn the rp_filter off, > the kernel does not care whether it is coming from the intended source or > not. >
Just a completely random thought. What about re-calculating the checksum and correcting it when the packet hits the IP layer prior to it being passed out to the relevant protocol handlers?
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/
| |