bugzilla-daemon at bugzilla.netfilter.org
2009-Feb-23 16:22 UTC
[Bug 579] New: iptables --ports argument unknown
http://bugzilla.netfilter.org/show_bug.cgi?id=579 Summary: iptables --ports argument unknown Product: iptables Version: unspecified Platform: i386 OS/Version: Debian GNU/Linux Status: NEW Severity: minor Priority: P3 Component: iptables AssignedTo: laforge at netfilter.org ReportedBy: jokketan at hotmail.com iptables v1.4.2 from the man page: --ports port[,port|,port:port]... Match if either the source or destination ports are equal to one of the given ports. when trying: iptables -A INPUT --proto tcp --ports 443 -j ACCEPT iptables v1.4.2: Unknown arg `(null)' Try `iptables -h' or 'iptables --help' for more information. i've seen the same thing in v1.2.9 under mandrake. Is the --ports argument depcricated or something? Either there is something wrong with iptables or the man pages are incorrect. Best regards, Jonathan. -- Configure bugmail: http://bugzilla.netfilter.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at bugzilla.netfilter.org
2009-Feb-25 18:35 UTC
[Bug 579] iptables --ports argument unknown
http://bugzilla.netfilter.org/show_bug.cgi?id=579 christoph.paasch at gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID ------- Comment #1 from christoph.paasch at gmail.com 2009-02-25 19:35 ------- You must add -m multiport, to load this module: iptables -A INPUT --proto tcp -m multiport --ports 443 -j ACCEPT The manpage is correct, as it says you must use -m. -- Configure bugmail: http://bugzilla.netfilter.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
Possibly Parallel Threads
- [ANNOUNCE] Release of iptables-1.2.9
- Kmemleak: false-positive in vring_add_indirect ?
- Kmemleak: false-positive in vring_add_indirect ?
- [Bug 447] New: iptables doesn't support multiple times the same match in one rule
- [Bug 451] New: ip6tables port range support in multiport modules is broken