I don't think you are missing something, I just went through the same
thing day before yesterday and was also temporarily alarmed at what
was listed out - until (like you) I realized that the interface is missing
from the list.
Adding "-i" to the -L seemed like a logical way to list out the rules for
a particular interface, but alas no ...
- Bruce
Gustav Schaffter wrote:
> Hi,
>
> ipchains V1.3.9-5
> RedHat 6.2+
>
> When executing 'ipchains -L' or 'ipchains -nL' I do not see the
> interfaces concerned for the existing rules.
>
> Q: What options would I give to ipchains to also see the interfaces?
>
> I've read the man page for ipchains, but either I miss it (has happened
> before :-) or it's just not in there. (I believe it's the latter case.)
>
> Reason for asking:
> When I run 'ipchains -L' I can see the rule
>
> Chain input (policy DENY):
> target prot opt source destination ports
> ACCEPT all ------ anywhere anywhere n/a
>
> (and of course a number of other rules)
>
> which looks very scary until I realize (by looking in
> /etc/sysconfig/ipchains) that this is true only for interface 'lo',
> which is exactly what was the intention when creating the rule.
> Unfortunately, this is not visible with 'ipchains -L' or 'ipchains -nL'.
> How could I list the rules to see the 'lo' interface for this rule?
>
> Best regards
> Gustav
> --
> pgp = Pretty Good Privacy. To get my public pgp key, send an e-mail to:
> [EMAIL PROTECTED]
>
> Visit my web site at http://www.schaffter.com
>
> --
> To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
> as the Subject.
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.