Re: iptables rules equivalence
From: Timo Voipio (oh_hami_at_hotmail.com)
Date: 07/28/03
- Next message: Johannes Halmann: "Re: Linux and security"
- Previous message: Nick Austin: "Re: Ip Address"
- In reply to: H. S.: "iptables rules equivalence"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 28 Jul 2003 10:41:15 +0300
H. S. wrote:
> Aren't these two rules the same?
> (i) $IPTABLES -A INPUT -i lo -s $UNIVERSE -d $UNIVERSE -j ACCEPT
> (ii) $IPTABLES -A INPUT -i lo -j ACCEPT
Yes they are. If source and destination are not specified they are assumed
to be 0.0.0.0/0.
-Timo
-- Timo Voipio | Helsinki, Finland | ICBM at: 60 11.800 N 024 52.760 E GeekCode ver 3: GU>CC d s-: a--- C++ UL(+)$>+++$ P+>+++ L++(+) E- W++ N++ o? K? w O M- V- PS PE Y+ PGP+ t 5++ X R tv- b++(++++) DI+ D G e- h! r !y
- Next message: Johannes Halmann: "Re: Linux and security"
- Previous message: Nick Austin: "Re: Ip Address"
- In reply to: H. S.: "iptables rules equivalence"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]