All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Ming-Ching Tiew" <mingching.tiew@redtone.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Using iptables level7/ipp2p match in a bridge
Date: Fri, 29 Dec 2006 02:04:14 +0000	[thread overview]
Message-ID: <021c01c72aed$a3ecf660$0100a8c0@newlife> (raw)
In-Reply-To: <020c01c72ae7$8e9722f0$0100a8c0@newlife>


From: "Grant Taylor" <gtaylor@riverviewtech.net>
> 
> Yes there is.  Read my previous post 
> (http://mailman.ds9a.nl/pipermail/lartc/2006q4/019935.html) for more 
> information.  In short, what you want to do is enable IPTables (layer 3 
> and up) to be able to operate on bridged (layer 2) traffic.  "Bridged 
> IP/ARP packets filtering" will allow you to do exactly what you are 
> wanting to do.
> 

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 :-

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

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

Regards



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

  parent reply	other threads:[~2006-12-29  2:04 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 [this message]
2007-01-09  2:28 ` Grant Taylor

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='021c01c72aed$a3ecf660$0100a8c0@newlife' \
    --to=mingching.tiew@redtone.com \
    --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.