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

Re: Firewall Issue



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

On Thu, 20 Mar 2003 14:27:47 -0600, Mike Vanecek wrote:

> On Mon, 17 Mar 2003 23:18:24 -0800 (PST), Keith Morse wrote
> > On Mon, 17 Mar 2003, Markku Kolkka wrote:
> > 
> > > Viestissä Maanantai 17. Maaliskuuta 2003 23:40, Marie-Thérèse Lorentzen 
> > > kirjoitti:
> > > > Is there a way or a file in which one can look at to see what the firewall
> > > > is set actually at?
> > > 
> > > iptables -L -v
> > 
> > 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.

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

iD8DBQE+ejF00iMVcrivHFQRAmWxAJ9H0agh7pke/jl/jdG2kFB9vAJtbQCePHxy
daOIpR6b90ogtZlPA5FAH7U=
=YAZH
-----END PGP SIGNATURE-----





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