shorewall-init.readme 1.2 KB

12345678910111213141516171819202122232425262728293031
  1. shorewall-init from upstream offers two features (taken from [1]):
  2. 1. It can 'close' the firewall before the network interfaces are
  3. brought up during boot.
  4. 2. It can change the firewall state as the result of interfaces
  5. being brought up or taken down.
  6. On Gentoo we only support the first feature -- the firewall lockdown during
  7. boot.
  8. We do not support the second feature, because Gentoo doesn't support a
  9. if-{up,down}.d folder like other distributions do. If you would want to use
  10. such a feature, you would have to add a custom action to /etc/conf.d/net
  11. (please refer to the Gentoo Linux Handbook [2] for more information).
  12. If you are able to add your custom {pre,post}{up,down} action, your are
  13. also able to specify what shorewall{6,-lite,6-lite} should do, so there is
  14. no need for upstream's scripts in Gentoo.
  15. If you disagree with us, feel free to open a bug [3] and contribute your
  16. solution for Gentoo.
  17. Upstream's original init script also supports saving and restoring of
  18. ipsets. Please use the init script from net-firewall/ipset if you need
  19. such a feature.
  20. [1] http://www.shorewall.net/Shorewall-init.html
  21. [2] http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=4&chap=5
  22. [3] https://bugs.gentoo.org