bugzilla-daemon at bugzilla.netfilter.org
2009-Feb-18 15:42 UTC
[Bug 578] New: Inserting Rule requires rulename as first argument (instead of the rulenumber)
http://bugzilla.netfilter.org/show_bug.cgi?id=578 Summary: Inserting Rule requires rulename as first argument (instead of the rulenumber) Product: iptables Version: unspecified Platform: All OS/Version: All Status: NEW Severity: trivial Priority: P1 Component: iptables AssignedTo: laforge at netfilter.org ReportedBy: felix.schuster at gmx.at looking into the man page: iptables [-t table] -I [rulenum] rule-specification [options...] you have to tell the rulenumber as first option to "-I" give it a try: iptables -I 3 INPUT -d 192.168.0.2 -i eth0 -p tcp --dport 993 -m state --state NEW -j ACCEPT iptables v1.4.2: Invalid rule number `INPUT' Try `iptables -h' or 'iptables --help' for more information. trying it the other way: iptables -I INPUT 3 -d 192.168.0.2 -i eth0 -p tcp --dport 993 -m state --state NEW -j ACCEPT that's working. so simple change the man page ;) -- 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-Mar-29 23:17 UTC
[Bug 578] Inserting Rule requires rulename as first argument (instead of the rulenumber)
http://bugzilla.netfilter.org/show_bug.cgi?id=578 jengelh at medozas.de changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #1 from jengelh at medozas.de 2009-03-30 01:17 ------- This was fixed in commit v1.4.3-rc1-82-g1791a45; first version to have this is v1.4.3. Done. -- 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.
Seemingly Similar Threads
- [Bug 713] New: CPPFLAGS are mishandled which breaks non-shared targets
- [Bug 732] New: Iptables 1.4.11 or 1.4.12 does not compile on CentOS 5.6
- [Bug 720] New: iptables no longer compiles for Linux 2.4 because it uses linux/magic.h
- [Bug 727] New: Open your firewall by a simple typo
- [Bug 707] New: Trivial SNAT manpage error