Re: Firewall Issue

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 20 Mar 2003 15:41:56 -0600, Mike Vanecek wrote:

> > > > As someone pointed out to me once, iptables -L -v only shows one table.
> > > > 
> > > > "service iptables status" gets 'em all.
> > > 
> > > Would you please expand on this?  I am not seeing any difference between the
> > > two. Of course, iptables -L INPUT -v -n would be something else.
> > 
> > "service iptables status" is a loop on all iptables chains (=tables),
> > which means it prints NOT just the contents of the "filter" table.
> > See /etc/init.d/iptables for the code fragment that does it.
> 
> 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??

All chains within a _single_ table, but not all chains within all
tables. See section "TABLES" close to the top of "man iptables".

- -- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+eu500iMVcrivHFQRAn2oAJ92FCnPRgXG26NCXOPJZl7EK7s3OwCfcMoy
Um0MCLjjdL0tZqy098Mtfts=
=ea2C
-----END PGP SIGNATURE-----



-- 
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