On Thu, 20 Mar 2003, Mike Vanecek wrote:

> Sorry, do not mean to be thick, but the man iptables says, 
> 
>        -L, --list
>               List all rules in the selected chain.  If no chain is selected,
>               all  chains  are  listed. It  is  legal to specify the -Z (zero)
>               option as well, in which case the chain(s) will anatomically
>               listed and zeroed.  The exact output is affected by the other
>               arguments given.
> 
> would not iptables -L list all iptable chains??

It depends on what you mean by "all iptables chains".  The script 
/etc/rc.d/init.d/iptables at the function status does a 
        cat /proc/net/ip_tables_names

which on my primary firewall results in

mangle
nat
filter


"iptables -nL" lists only filter rules.





-- 
Psyche-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/psyche-list

Reply via email to