bugzilla-daemon at netfilter.org
2018-Jun-05 21:10 UTC
[Bug 1260] New: If set with "localhost", a new rule is duplicated
https://bugzilla.netfilter.org/show_bug.cgi?id=1260
Bug ID: 1260
Summary: If set with "localhost", a new rule is duplicated
Product: iptables
Version: 1.6.x
Hardware: x86_64
OS: Debian GNU/Linux
Status: NEW
Severity: minor
Priority: P5
Component: iptables
Assignee: netfilter-buglog at lists.netfilter.org
Reporter: fredgib at free.fr
If I append a new rule (in any chain of the filter table) with
"localhost" as
the source or the destination, then the rule will be duplicated: the command
"iptables -L" shows it twice, and it is possible to replace/delete one
of the
two instances without altering the other with for example "iptables
-D".
The command "iptables -L -n" shows both instances with
"127.0.0.1" instead of
"localhost".
If I use "127.0.0.1" instead of "localhost" while I append
the rule, the rule
is NOT duplicated and appears normally with "iptables -L", displaying
"localhost" if I don't use "-n" and displaying
"127.0.0.1" if I do.
Cheers!
--
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.netfilter.org/pipermail/netfilter-buglog/attachments/20180605/de1e0fa8/attachment.html>
Maybe Matching Threads
- [Bug 1166] New: negated rule and rule with mistyped interface name looks identical in non-verbose iptables output
- [Bug 1757] New: Alpine 3.19: iptables: Bad rule (does a matching rule exist in that chain?).
- [Bug 1147] New: iptables rule to match a 'set' shows [unsupported revision]
- [Bug 1379] New: Rule to accept INPUT address range does not block address that are not in range specified
- [Bug 985] New: iptables-save cannot display devgroup rule the right way?
