chr4-cookbooks / iptables-ng

Cookbook to maintain iptables rules and policies on different platforms, respecting the way the os handles these settings.
GNU General Public License v3.0
38 stars 33 forks source link

Delete old unused attribute rules automatically #45

Closed chewi closed 9 years ago

chewi commented 9 years ago

Fixes issue #41. It doesn't delete whole chains or tables as that is probably taking it a step too far.

chewi commented 9 years ago

You probably already know that these failures are not my fault!

chr4 commented 9 years ago

Hi, thanks for your contribution! This seems to be a good idea, give me some time to review it and run the tests, etc.

I fixed the rubocop issues, you can rebase your branch on master and they should be gone.

chr4 commented 9 years ago

This looks pretty good. Would you mind adding some integration tests using kitchen? Merging, release might take a while, as I'm currently getting strange errors when running the tests...