All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Jaime Nebrera <jnebrera@eneotecnologia.com>
Cc: netfilter-devel@lists.netfilter.org, Amin Azez <azez@ufomechanic.net>
Subject: Re: VLAN match within iptables
Date: Tue, 26 Jun 2007 12:00:55 +0200	[thread overview]
Message-ID: <4680E3D7.6020401@netfilter.org> (raw)
In-Reply-To: <1182849745.22167.13.camel@blas>

Jaime Nebrera wrote:
>   We are seeking for a way to match rules based on VLAN Tag ID.
> 
>   Searching the archives I have found this post:
> 
> http://lists.netfilter.org/pipermail/netfilter-devel/2006-August/025336.html
> 
>   But the patch is missing and the answer was to use ebtables.
> 
>   Of course ebtables already has this and this is kinda redundant, but
> at the same time things get a bit complex when you have to worry about
> so many marks due to vlan id, ips stuff etc etc
> 
>   Is there any way to access the patch Amin sent to the list?

Since you have to apply that patch to your kernel anyway, I suggest you
to apply the u32 patch instead (it is scheduled for 2.6.23 IIRC).

http://lists.netfilter.org/pipermail/netfilter-devel/2007-June/028189.html
http://lists.netfilter.org/pipermail/netfilter-devel/2007-June/028176.html

Of course, you'll have to define the rule to match the vlan stuff but if
later on you need to match any other minor bit, you'll already have the
way to do so.

-- 
"Países en desarrollo es el nombre con que los expertos designan a los
países arrollados por el desarrollo ajeno" -- Patas Arriba. La Escuela
del Mundo al Revés -- E. Galeano

  parent reply	other threads:[~2007-06-26 10:00 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-26  9:22 VLAN match within iptables Jaime Nebrera
2007-06-26  9:34 ` Jan Engelhardt
2007-06-26  9:38   ` Patrick McHardy
2007-06-26  9:41     ` Jan Engelhardt
2007-06-26 10:00 ` Pablo Neira Ayuso [this message]
2007-06-26 10:09   ` Patrick McHardy
2007-06-26 12:38     ` Jan Engelhardt
2007-06-26 12:50       ` Patrick McHardy
2007-06-26 13:12         ` xt_u32 20070626 (Re: VLAN match within iptables) Jan Engelhardt
2007-06-26 13:13           ` xt_u32 20070626 (iptables part) Jan Engelhardt
2007-06-26 16:49             ` Patrick McHardy
2007-06-26 13:19           ` xt_u32 20070626 (Re: VLAN match within iptables) Patrick McHardy
2007-06-26 13:35             ` Jan Engelhardt
2007-06-26 13:36               ` Patrick McHardy
2007-06-26 14:05                 ` Jan Engelhardt
2007-06-26 14:06                   ` Patrick McHardy

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=4680E3D7.6020401@netfilter.org \
    --to=pablo@netfilter.org \
    --cc=azez@ufomechanic.net \
    --cc=jnebrera@eneotecnologia.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 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.