From: "Josan Kadett" <corporate@superonline.com>
To: "'Albert Cahalan'" <albert@users.sf.net>
Cc: <linux-kernel@vger.kernel.org>
Subject: RE: Cursed Checksums
Date: Mon, 23 Aug 2004 00:38:30 +0200 [thread overview]
Message-ID: <S266319AbUHVVil/20040822213841Z+233@vger.kernel.org> (raw)
In-Reply-To: <1093200924.5759.3088.camel@cube>
In normal conditions, when NAT translates an IP header, it should do correct
checksumming. However; when the source IP address of a packet is
manipulated, Iptables still seems to use the "original" IP address and
calculate the checksum accordingly. This way even if I use 3 three boxes;
Original Packet --> NAT 1 --> NAT 2 --> NAT3 --> Still incorrect checksum
The wrong checksum is carried over and over the line. It is really a strange
issue and I could not find a reason why still I get the incorrect checksum
even after the IP header is translated three times...
As I said, the original packet must be corrected before it is transmitted to
another place and I think it is just two or three lines of code in the
kernel, but the question is "where"...
-----Original Message-----
From: linux-kernel-owner@vger.kernel.org
[mailto:linux-kernel-owner@vger.kernel.org] On Behalf Of Albert Cahalan
Sent: Sunday, August 22, 2004 8:55 PM
To: linux-kernel mailing list
Subject: RE: Cursed Checksums
I'm surprised to find that there doesn't seem to
be an ebtables mangle table. That'd be the place
to match on a u32, then either change that or just
mark the packet for checksuming.
-
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/
next prev parent reply other threads:[~2004-08-22 21:41 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-22 18:55 Albert Cahalan
2004-08-22 22:38 ` Josan Kadett [this message]
[not found] <E1Bz02y-00052n-3Z@sc8-sf-mx2.sourceforge.net>
2004-08-22 20:14 ` Albert Cahalan
-- strict thread matches above, loose matches on Subject: below --
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
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=S266319AbUHVVil/20040822213841Z+233@vger.kernel.org \
--to=corporate@superonline.com \
--cc=albert@users.sf.net \
--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®