Git Product home page Git Product logo

Comments (6)

traylenator avatar traylenator commented on July 23, 2024

If this can be done in away such that as a configuration it is possible to
creat the file but not actually do the (re) load.

from puppetlabs-firewall.

rfdrake avatar rfdrake commented on July 23, 2024

This could create more problems with interoperating with fail2ban and similar things, but it's otherwise easier to puppet firewall rules that way, since you could take advantage of templating. It would probably work fine if iptables-restore allowed you to restore on a per-chain basis, but it seems to only allow per-table.

from puppetlabs-firewall.

trevor-vaughan avatar trevor-vaughan commented on July 23, 2024

PLEASE do this. Using the iptables-restore command would be a huge win.

Also, I would try to ensure that you could ignore items based on target chain regex so that you could ignore fail2ban, libvirt, etc...

This does mean that a full restore would wipe those rules and you would have to have those service subscribe to the iptables restart exec but, when you're being authoritative, it's very difficult to add acceptance for randomization.

from puppetlabs-firewall.

mrwacky42 avatar mrwacky42 commented on July 23, 2024

iptables-restore only takes 2 options, and neither takes a regex.

from puppetlabs-firewall.

trevor-vaughan avatar trevor-vaughan commented on July 23, 2024

Sorry, I wasn't clear.

You would create a file with all relevant rules and compare it with the running system. However, you would have the ability to ignore certain rules based on regex such that you could prevent reloading the config should the running configuration match the new configuration without the ignored rules.

Hopefully that's more clear.

from puppetlabs-firewall.

chelnak avatar chelnak commented on July 23, 2024

Hello! We are doing some house keeping and noticed that this issue has been open for a long time.

We're going to close it but please do raise another issue if the issue still persists. 😄

from puppetlabs-firewall.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.