[Bug 1260] New: If set with "localhost", a new rule is duplicated
bugzilla-daemon at netfilter.org
bugzilla-daemon at netfilter.org
Tue Jun 5 23:10:09 CEST 2018
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>
More information about the netfilter-buglog
mailing list