<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 - The lock problem causes the iptables return with exit code 0 without adding my rules to kernel."
   href="https://bugzilla.netfilter.org/show_bug.cgi?id=1161">1161</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>The lock problem causes the iptables return with exit code 0 without adding my rules to kernel.
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

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

        <tr>
          <th>OS</th>
          <td>Ubuntu
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>enhancement
          </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>hr.hasani@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Hi there,
I'm using iptables 1.6.1 and I have a problem with it. When I use iptables in a
script to add some rules, it doesn't work some times.
This problem becomes more obvious when you have some services that will come up
during boot time simultaneously and want to add some iptables rules. In this
case some rules will not add correctly.

To have a good scenario for this bug, you can use some services that have up
script and in their script they use iptables to add some firewall rules(e.g.
coova-chilli).
To view the bug run the following commands:
sudo service chilli stop; sudo service chilli start;sudo iptables -nvL ; sudo
iptables -F

if anything works fine, in each run you should see the INPUT and FORWARD chains
rules. But after some runs the chains will be clean or some rules are added and
other rules not!
I use -w and -W, but it doesn't work!

Thanks
Hamid Reza Hasani</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are watching all bug changes.</li>
      </ul>
    </body>
</html>