bugzilla-daemon at netfilter.org
2013-Oct-19 20:54 UTC
[Bug 865] New: Misparsed command line containing --line
https://bugzilla.netfilter.org/show_bug.cgi?id=865 Summary: Misparsed command line containing --line Product: iptables Version: 1.4.x Platform: arm OS/Version: other Status: NEW Severity: major Priority: P4 Component: iptables AssignedTo: netfilter-buglog at lists.netfilter.org ReportedBy: eric.bock.1980 at gmail.com Estimated Hours: 2.0 Note: the error message for --line[-numbers] contains <hyphen><zero>. There is neither a short option zero nor a short option O. [ 0 ] app_42 at android:/# iptables -v --line -A OUTPUT iptables v1.4.10: Illegal option `-0' with this command Try `iptables -h' or 'iptables --help' for more information. [ 2 ] app_42 at android:/# iptables -v0 -A OUTPUT iptables v1.4.10: option `-v0' requires an argument Try `iptables -h' or 'iptables --help' for more information. [ 2 ] app_42 at android:/# iptables -v -0 -A OUTPUT iptables v1.4.10: option `-0' requires an argument Try `iptables -h' or 'iptables --help' for more information. [ 2 ] app_42 at android:/# iptables -v -0 foo -A OUTPUT iptables v1.4.10: option `-0' requires an argument Try `iptables -h' or 'iptables --help' for more information. [ 2 ] app_42 at android:/# iptables -v -0 foo bar -A OUTPUT iptables v1.4.10: option `-0' requires an argument Try `iptables -h' or 'iptables --help' for more information. [ 2 ] app_42 at android:/# iptables -v -0 1 2 -A OUTPUT iptables v1.4.10: option `-0' requires an argument Try `iptables -h' or 'iptables --help' for more information. [ 2 ] app_42 at android:/# Short option O produces the same errors: [ 2 ] app_42 at android:/# iptables -v -O 1 2 -A OUTPUT iptables v1.4.10: option `-O' requires an argument Try `iptables -h' or 'iptables --help' for more information. [ 2 ] app_42 at android:/# As it turns out, this is a situation in which iptables processes the entire command line before attempting to access the filter table, so -A does not short-circuit the error for ordinary users. -- Configure bugmail: https://bugzilla.netfilter.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
bugzilla-daemon at netfilter.org
2013-Oct-21 20:38 UTC
[Bug 865] Misparsed command line containing --line
https://bugzilla.netfilter.org/show_bug.cgi?id=865 Phil Oester <netfilter at linuxace.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |netfilter at linuxace.com Resolution| |DUPLICATE Remaining Hours|2.0 |0.0 --- Comment #1 from Phil Oester <netfilter at linuxace.com> 2013-10-21 22:38:33 CEST --- *** This bug has been marked as a duplicate of bug 864 *** -- Configure bugmail: https://bugzilla.netfilter.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
Seemingly Similar Threads
- [Bug 860] New: Bizarre "cannot use" error inconsistent with command line
- [Bug 862] New: Inconsistent handling of invalid chain names
- [Bug 863] New: Implied regression in errors
- [Bug 866] New: Missing newline with --list-rules
- [Bug 864] New: Verbose output options rejected when modifying chains