Linux Netfilter discussions
 help / color / mirror / Atom feed
[parent not found: <95ac437a-3f19-490a-80d0-3ce0a20850ed@y10g2000prg.googlegroups.com>]
* Re: Iptables and bridge
@ 2004-02-17  6:55 Stephen Satchell
  2004-02-17 10:18 ` Iptables and SNAT Jan Kaastrup
  0 siblings, 1 reply; 5+ messages in thread
From: Stephen Satchell @ 2004-02-17  6:55 UTC (permalink / raw)
  To: Adi; +Cc: netfilter

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




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-10-27  9:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <200402171428.52966.mark@vevers.net>
2004-02-17 14:39 ` Iptables and SNAT Jan Kaastrup
     [not found] <95ac437a-3f19-490a-80d0-3ce0a20850ed@y10g2000prg.googlegroups.com>
     [not found] ` <46ee7b1c0910212155pd99519cw9831d4bb7d7f3064@mail.gmail.com>
     [not found]   ` <b8dec168-132d-4fba-9d09-fbb5554c339d@m7g2000prd.googlegroups.com>
2009-10-27  5:08     ` IPtables " codingfreak
2009-10-27  9:03       ` Richard Horton
2004-02-17  6:55 Iptables and bridge Stephen Satchell
2004-02-17 10:18 ` Iptables and SNAT Jan Kaastrup
2004-02-17 10:57   ` Mark Vevers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox