Re: Firewall Issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
Psyche-list@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux