From: Erik Hensema <erik@hensema.net>
To: Harald Welte <laforge@netfilter.org>,
netdev@oss.sgi.com,
Netfilter Development Mailinglist
<netfilter-devel@lists.netfilter.org>
Subject: Re: RFC: promote netfilter MARK value from IPv6 packets to sit packets
Date: Mon, 24 Feb 2003 00:42:25 +0100 [thread overview]
Message-ID: <20030223234225.GA23556@hensema.net> (raw)
In-Reply-To: <20030223193339.GD15385@sunbeam.de.gnumonks.org>
On Sun, Feb 23, 2003 at 08:33:39PM +0100, Harald Welte wrote:
> On Mon, Feb 17, 2003 at 03:57:27PM +0100, Erik Hensema wrote:
>
> > In order to be able to provide QoS on tunneled IPv6 connections, I've
> > created a simple patch (definately not ready for inclusion in the kernel,
> > since it surely needs a configuration option) which promotes the netfilter
> > MARK value from the IPv6 packets to the sit packets.
> > Now I can mark packets using ip6tables, and on the ipv4 level I can still
> > differentiate between the priorities. Problem solved, I'm happy ;-)
>
> I like this patch. I think we should make it a kernel configuration
> option, but for all kind of tunnel interfaces. Something like
> 'propagate NFMARK while tunneling' (or maybe 'preserve' instead of
> 'propagate' is better language?)
It certainly should be configurable. I've already sent it to the list, but
you can also download it from
http://dexter.hensema.net/~erik/patches/sit-promote-mark-2.4.21-pre4.diff
It should be easy to port this patch to gre and maybe ipip (don't know the
code of the latter, but I assume it's similar to gre and sit). I'll work on
that tomorrow, when I've got access to my development machine again.
In my current patch the configuration option is called 'IPv6: Promote
netfilter MARK value to sit packets'.
I don't think we should call it 'preserve', because technically that's not
what is happening. The tunnel interface creates a fresh new packet, with a
fresh new nfmark. Propagate seems to be the right term to me (as a
non-native english speaker).
--
Erik Hensema (erik@hensema.net)
next prev parent reply other threads:[~2003-02-23 23:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-17 14:57 RFC: promote netfilter MARK value from IPv6 packets to sit packets Erik Hensema
2003-02-23 19:33 ` Harald Welte
2003-02-23 23:42 ` Erik Hensema [this message]
2003-02-24 13:41 ` jamal
2003-02-24 14:41 ` Harald Welte
2003-02-25 2:30 ` jamal
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=20030223234225.GA23556@hensema.net \
--to=erik@hensema.net \
--cc=laforge@netfilter.org \
--cc=netdev@oss.sgi.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).