All of lore.kernel.org
 help / color / mirror / Atom feed
From: Grant Taylor <gtaylor@riverviewtech.net>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Using iptables level7/ipp2p match in a bridge
Date: Tue, 09 Jan 2007 02:28:59 +0000	[thread overview]
Message-ID: <45A2FDEB.8020706@riverviewtech.net> (raw)
In-Reply-To: <020c01c72ae7$8e9722f0$0100a8c0@newlife>

On 12/28/06 20:04, Ming-Ching Tiew wrote:
> Thank you for a reply which comes in so useful. I would like to get into
> a bit more details. Assuming I have already enable the kernel options, 
> do you mean if I want to mark ipp2p traffic, I will do something like this :-

You are welcome.

>        iptables -A FORWARD -m ipp2p --ipp2p -j MARK --set-mark 6

Yes, with "Bridged IP/ARP packets filtering" you can do that.

> If I set more options such as "-i eth0 -o eth1" will I be able to capture 
> the traffic more particularly  ?

In short yes.  "Bridged IP/ARP packets filtering" allows IPTables to see 
bridged traffic.  This means that any filtering you can do with IPTables 
can now be done on bridged traffic.




Grant. . . .
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

      parent reply	other threads:[~2007-01-09  2:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-29  1:20 [LARTC] Using iptables level7/ipp2p match in a bridge Ming-Ching Tiew
2006-12-29  1:31 ` Grant Taylor
2006-12-29  2:04 ` Ming-Ching Tiew
2007-01-09  2:28 ` Grant Taylor [this message]

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=45A2FDEB.8020706@riverviewtech.net \
    --to=gtaylor@riverviewtech.net \
    --cc=lartc@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.