Bug 96936 - iptables -L does not show interface option
Summary: iptables -L does not show interface option
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: iptables
Version: 8.0
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: wdovlrrw
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-06-06 18:29 UTC by Need Real Name
Modified: 2007-04-18 16:54 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-06-06 20:41:13 UTC
Embargoed:


Attachments (Terms of Use)

Description Need Real Name 2003-06-06 18:29:33 UTC
From Bugzilla Helper:
User-Agent: Opera/7.11 (Linux 2.4.20-18.8 i686; U)  [en]

Description of problem:
iptables -L does not state the interface connected to a rule

Version-Release number of selected component (if applicable):
iptables-1.2.6a-2

How reproducible:
Always

Steps to Reproduce:
1. Add a rule with -i lo
iptables -A INPUT -p tcp -i lo -j ACCEPT

2. show this rule
iptables -L INPUT
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         
RH-Lokkit-0-50-INPUT  all  --  anywhere             anywhere           
ACCEPT     tcp  --  anywhere             anywhere           

3. ok, just remove it...
iptables -D INPUT 2


Expected Results:  I'd like to see this parameter -i lo
Some lines are now quite confusing, lokkit creates a rule with

iptables -A RH-Lokkit-0-50-INPUT -i lo -j ACCEPT

and its iptables output is:

ACCEPT     all  --  anywhere             anywhere

Confusing?!


Additional info:

Comment 1 Need Real Name 2003-06-06 20:41:13 UTC
Sorry, now read the complete manpage!!!!


Note You need to log in before you can comment on or make changes to this bug.