From: Fabio Marcone <fabio.marcone@duet.it>
To: netfilter@vger.kernel.org
Subject: Re: postrouting and mac address
Date: Tue, 21 Jul 2009 15:10:55 +0200 [thread overview]
Message-ID: <4A65BE5F.4090007@duet.it> (raw)
In-Reply-To: <c7a3bdd5fcb7f7152ae1a453651aa9d1@localhost>
Hi!
there was a misunderstanding: "filter" I mean "recognize". I don't want
to drop packets in postrouting, I know it is impossible, but I need to
recognize in postrouting packet of a certain source (by mac address, not
by ip).
I don't know when packets source mac address is modified by router.
Thanks,
Fabio
> Hi Fabio,
>
> I don't think you can filter packets in postrouting.
> The only tables available in POSTROUTING are mangle and nat.
>
> To filter packets in a router, I think you have to do it in the FORWARD
> chain.
>
> see: http://jengelh.medozas.de/images/nf-packet-flow.png
>
> Julien
>
>
next prev parent reply other threads:[~2009-07-21 13:10 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-21 12:05 postrouting and mac address Fabio Marcone
2009-07-21 12:20 ` Julien Vehent
2009-07-21 13:10 ` Fabio Marcone [this message]
2009-07-21 13:24 ` Fabio Marcone
2009-07-21 13:30 ` Pascal Hambourg
2009-07-21 13:36 ` Fabio Marcone
2009-07-21 13:53 ` Gáspár Lajos
2009-07-21 13:59 ` Pascal Hambourg
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=4A65BE5F.4090007@duet.it \
--to=fabio.marcone@duet.it \
--cc=netfilter@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 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.