From: Stephen Satchell <list@satchell.net>
To: Adi <kristiadi_himawan@dtp.net.id>
Cc: netfilter <netfilter@lists.netfilter.org>
Subject: Re: Iptables and bridge
Date: Mon, 16 Feb 2004 22:55:17 -0800 [thread overview]
Message-ID: <1077000917.9435.6.camel@ssatchell1.pyramid.net> (raw)
In-Reply-To: <003001c3f59a$ba6dc2b0$15a02bca@Rangga>
On Tue, 2004-02-17 at 13:12, Adi wrote:
> Hi,
>
> Does anyone ever try traffic accounting using iptables (ipac-ng) in at
> linux bridge?
> I have try using iptables -t mangle -A PREROUTING -j ACCEPT, but when
> i see the
> bytes counter using iptables -t mangle -nL -vx, it shown 0.
> But acctually the traffic already flow from eth0,eth1and br0,
> i monitoring by the traffic using tcpdump and iptraf.
Yes. What I do is use accounting when I have blocked a spammer from
using mail to/from the servers behind my layer-2 firewall. Everything
is selected by raw interface in the FILTER section. It's been effective
to demonstrate when a person who has been guilty of spamming before is
possibly starting to spam again.
I haven't played with MANGLE in the layer-2 firewall, but then again my
whole purpose for having one of those beasts is to offload our CISCO
7500 routers and provide some very specific protection for Windows
systems. I run a mostly-closed firewall for them, and ever since I did
that we have had far fewer problems with them.
Satch
next prev parent reply other threads:[~2004-02-17 6:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-17 21:12 Iptables and bridge Adi
2004-02-17 6:55 ` Stephen Satchell [this message]
2004-02-17 10:18 ` Iptables and SNAT Jan Kaastrup
2004-02-17 10:57 ` Mark Vevers
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=1077000917.9435.6.camel@ssatchell1.pyramid.net \
--to=list@satchell.net \
--cc=kristiadi_himawan@dtp.net.id \
--cc=netfilter@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