Menu

#1654 Module will fail to work with newer versions of iptables

1.140
closed
5
2004-06-06
2004-06-01
No

The Debian iptables package in sid/sarge recently changed.
It no longer uses /etc/init.d/iptables to load and save
rulesets. What I did for now is to just recreate the initscript
in my webmin-firewall package (See attached patch.) but
there is probably a better/more elegant way to do it.

Discussion

  • Jamie Cameron

    Jamie Cameron - 2004-06-01

    Logged In: YES
    user_id=129364

    What method does Debian use now? I would like to support it
    properly in Webmin if possible ..
    Also, I didn't see any patch attached to this bug report..

     
  • Jaldhar H. Vyas

    Jaldhar H. Vyas - 2004-06-06
     
  • Jaldhar H. Vyas

    Jaldhar H. Vyas - 2004-06-06

    Logged In: YES
    user_id=125881

    Whoops sorry here's the patch now. Sorry I didn't get this to you
    in time for 1.150 but in a way its a good thing as I later got some
    bug reports about it. And you may prefer something else anyway.
    I talked to the Debian iptables maintainer and he said the
    preferred method now is just to use iptables-save to save rules
    to a file and iptables-restore to restore them again. Replace with
    ip6tables-save and ip6tables-restore for ipv6.

     
  • Jamie Cameron

    Jamie Cameron - 2004-06-06

    Logged In: YES
    user_id=129364

    Try out the updated firewall module attached to this email,
    which checks if the Debian init script exists, and if not
    falls back to creating it's own and using it's own save file.

     
  • Jamie Cameron

    Jamie Cameron - 2004-06-06
    • status: open --> closed
     
  • Jamie Cameron

    Jamie Cameron - 2004-06-06

    Updated Linux Firewall module

     

Log in to post a comment.