[plug] Iptables eqiuv of ipchains -L -M

levsky at rave.iinet.net.au levsky at rave.iinet.net.au
Tue Feb 18 21:35:23 WST 2003


On Tue, Feb 18, 2003 at 09:07:46PM +0800, Craig Foster wrote:
> After searching through tldp.org & others, I can't see anywhere to
> reproduce the output of ipchains -L -M on an iptables firewall.
> Could anyone point me in the right direction?
> (it can't be that difficult to do, right? It's useful to see who's
> hogging all the home ADSL bandwidth ^_^ )

Ye gods, I haven't used ipchains in ages, but from a guess,
that dumps the masquerade table doesn't it?

If that's the case, you can achieve the same thing with netfilter
by catting /proc/net/ip_conntrack

If I've missed the point completely, just thwap me :)

Cheers

Mark



-- 
Old MacDonald had a form
e_i ^ e_i = 0



More information about the plug mailing list