[plug] Iptables eqiuv of ipchains -L -M

Anthony J. Breeds-Taurima tony at cantech.net.au
Wed Feb 19 08:22:26 WST 2003


On Tue, 18 Feb 2003, 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 ^_^ )

cat /proc/net/ip_conntrack  | egrep 'src.*src'

Will show your the MASQ'd connections.

IIRC there is a project called netstat-m which is the gives the equiv of
netstat -M from an ipchains host.
....

Actually a quick google trined up http://cv.intellos.net/ looks pretty good to
me.

Yours Tony.

/*
 * "The significant problems we face cannot be solved at the 
 * same level of thinking we were at when we created them."
 * --Albert Einstein
 */



More information about the plug mailing list