<html>
    <head>
      <base href="https://bugzilla.netfilter.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - If set with "localhost", a new rule is duplicated"
   href="https://bugzilla.netfilter.org/show_bug.cgi?id=1260">1260</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>If set with "localhost", a new rule is duplicated
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>iptables
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>1.6.x
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86_64
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Debian GNU/Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>minor
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P5
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>iptables
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>netfilter-buglog@lists.netfilter.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>fredgib@free.fr
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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!</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are watching all bug changes.</li>
      </ul>
    </body>
</html>