bugzilla-daemon at netfilter.org
2013-Oct-19 20:30 UTC
[Bug 864] New: Verbose output options rejected when modifying chains
https://bugzilla.netfilter.org/show_bug.cgi?id=864
Summary: Verbose output options rejected when modifying chains
Product: iptables
Version: 1.4.x
Platform: arm
OS/Version: other
Status: NEW
Severity: normal
Priority: P5
Component: iptables
AssignedTo: netfilter-buglog at lists.netfilter.org
ReportedBy: eric.bock.1980 at gmail.com
Estimated Hours: 1.0
The options -n, -x, and --line-numbers produce an error of the following form
when not listing chains, despite having no effect:
iptables v1.4.10: Illegal option `-0' with this command
When using -v, one might want to know the index of an appended rule. This
error also prevents one from listing chains in expanded formats and then
immediately modifying them by replacing the -L from the shell history.
--
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-19 21:14 UTC
[Bug 864] Verbose output options rejected when modifying chains
https://bugzilla.netfilter.org/show_bug.cgi?id=864
Eric Bock <eric.bock.1980 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |major
--- Comment #1 from Eric Bock <eric.bock.1980 at gmail.com> 2013-10-19
23:14:23 CEST ---
This also means the shell alias 'iptables -vnx --line' doesn't help
at all;
obtaining the same output format for every operation requires at least parsing
the command line separately and piping through sed.
--
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 864] Verbose output options rejected when modifying chains
https://bugzilla.netfilter.org/show_bug.cgi?id=864 --- Comment #2 from Phil Oester <netfilter at linuxace.com> 2013-10-21 22:38:33 CEST --- *** Bug 865 has been marked as a duplicate of this bug. *** -- 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:39 UTC
[Bug 864] Verbose output options rejected when modifying chains
https://bugzilla.netfilter.org/show_bug.cgi?id=864
Phil Oester <netfilter at linuxace.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
CC| |netfilter at linuxace.com
--- Comment #3 from Phil Oester <netfilter at linuxace.com> 2013-10-21
22:39:16 CEST ---
Issue confirmed with latest iptables.
--
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-31 20:21 UTC
[Bug 864] Verbose output options rejected when modifying chains
https://bugzilla.netfilter.org/show_bug.cgi?id=864
Phil Oester <netfilter at linuxace.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |WONTFIX
Remaining Hours|1.0 |0.0
--- Comment #4 from Phil Oester <netfilter at linuxace.com> 2013-10-31
21:21:46 CET ---
(In reply to comment #3)> Issue confirmed with latest iptables.
I should have said _behavior_ confirmed with latest iptables.
It makes absolutely no sense to use -n -x or --line with commands like -A -N or
-S. That is why they are prohibited. Check the "commands_v_options"
function
in iptables.c to see which options are valid with which commands.
Closing.
--
Configure bugmail: https://bugzilla.netfilter.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
Apparently Analagous Threads
- [Bug 855] New: Can create user chains with names unparsable by iptables-restore
- [Bug 866] New: Missing newline with --list-rules
- [Bug 865] New: Misparsed command line containing --line
- [Bug 829] New: Should not need to turn on --verbose to --list to show interface
- [Bug 862] New: Inconsistent handling of invalid chain names