From: Harald Welte <laforge@netfilter.org>
To: Alexandre Becoulet <alexandre.becoulet@epita.fr>
Cc: netfilter-devel@lists.netfilter.org
Subject: Re: [new filter] simple packet authentication
Date: Tue, 27 Jan 2004 11:43:03 +0100 [thread overview]
Message-ID: <20040127104303.GD11761@sunbeam.de.gnumonks.org> (raw)
In-Reply-To: <200401230216.08607.alexandre.becoulet@epita.fr>
[-- Attachment #1: Type: text/plain, Size: 1354 bytes --]
On Fri, Jan 23, 2004 at 02:16:08AM +0100, Alexandre Becoulet wrote:
> On Friday 23 January 2004 01:25, Andrew Hall wrote:
>
> > This is a neat idea although I'd probably be a bit wary to use the IP ID
> > field when considering it's use with fragments.
>
> Sure, using the IP ID field could be an issue. The module will not mangle
> fragmented packets (offset > 0 or MF flag set). That's why packets have to be
> mangled before being routed. At least, it should work for locally-generated
> packets, and for packets reaching the first gateway. It should not be usefull
> to mangle the packet later.
well, there is one problem... once you have IP_DF set, the Fragment ID
is believed to be ueseless. Linux in fact is setting it to zero, at
least in some cases, for performance reasons (contention on the id
counter). So I could imagine some weird implementations that would
then discard the IPid at some later point in the forwarding path of your
packet.
--
- Harald Welte <laforge@netfilter.org> http://www.netfilter.org/
============================================================================
"Fragmentation is like classful addressing -- an interesting early
architectural error that shows how much experimentation was going
on while IP was being designed." -- Paul Vixie
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2004-01-27 10:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-22 21:04 [new filter] simple packet authentication Alexandre Becoulet
2004-01-23 0:25 ` Andrew Hall
2004-01-23 1:16 ` Alexandre Becoulet
2004-01-27 10:43 ` Harald Welte [this message]
2004-01-23 12:27 ` Henrik Nordstrom
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=20040127104303.GD11761@sunbeam.de.gnumonks.org \
--to=laforge@netfilter.org \
--cc=alexandre.becoulet@epita.fr \
--cc=netfilter-devel@lists.netfilter.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.