Bug 30176 - iptables tcp module
Summary: iptables tcp module
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: iptables
Version: 1.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bernhard Rosenkraenzer
QA Contact: David Lawrence
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-03-01 15:33 UTC by Gerald Teschl
Modified: 2007-04-18 16:31 UTC (History)
0 users

(edit)
Clone Of:
(edit)
Last Closed: 2001-03-02 08:19:39 UTC


Attachments (Terms of Use)

Description Gerald Teschl 2001-03-01 15:33:10 UTC
iptables-1.2.0-9:

The tcp module is somehow broken and does no longer accept the
--(source|destination)-port option. Without this option they are useless;-(

[root@soliton /root]# iptables -A input -p tcp -d 0/0 --dport ssh -j ACCEPT
iptables v1.2: Unknown arg `--dport'
Try `iptables -h' or 'iptables --help' for more information.

But the man page claims:
  tcp
       These  extensions  are  loaded  if  `--protocol  tcp'   is
       specified. It provides the following options:
<snip>
       --destination-port [!] [port[:port]]
              Destination port or port range  specification.  The
              flag --dport is an alias for this option.

Comment 1 Bernhard Rosenkraenzer 2001-03-02 08:19:28 UTC
Fixed in 1.2.0-10


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