Messages in this thread | | | From | "Josan Kadett" <> | Subject | RE: Cursed Checksums | Date | Mon, 23 Aug 2004 02:05:51 +0200 |
| |
It is what I intend to do, yet could you paste a working source code for;
- sniff data from a chosen interface - put the same data in the same interface's inbound socket
If I could find how to do this via low-level libraries, I think I could write an applet to do the mangling.
-----Original Message----- From: linux-kernel-owner@vger.kernel.org [mailto:linux-kernel-owner@vger.kernel.org] On Behalf Of Olivier Galibert Sent: Monday, August 23, 2004 12:59 AM To: linux-kernel@vger.kernel.org Subject: Re: Cursed Checksums
Why don't you patch the checksum when you change the IP? It's just a not of the sum the 16-bit words so take the old one, not it, add the two 16-bits differences, re-not it and write it back.
OG.
- 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/
| |