From: "Josan Kadett" <corporate@superonline.com>
To: "'Olivier Galibert'" <galibert@pobox.com>
Cc: <linux-kernel@vger.kernel.org>
Subject: RE: Cursed Checksums
Date: Mon, 23 Aug 2004 02:05:51 +0200 [thread overview]
Message-ID: <S267738AbUHVXFu/20040822230550Z+97@vger.kernel.org> (raw)
In-Reply-To: <20040822225833.GA5225@dspnet.fr.eu.org>
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.
next prev parent reply other threads:[~2004-08-22 23:05 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
2004-08-22 18:55 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=S267738AbUHVXFu/20040822230550Z+97@vger.kernel.org \
--to=corporate@superonline.com \
--cc=galibert@pobox.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®