Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

When I stop Shorewall, the firewall is wide open. Isn that a security risk?

0
Posted

When I stop Shorewall, the firewall is wide open. Isn that a security risk?

0

It is important to understand that the scripts in /etc/init.d are generally provided by your distribution and not by the Shorewall developers. These scripts must meet the requirements of the distribution’s packaging system which may conflict with the requirements of a tight firewall. So when you say “…when I stop Shorewall…” it is necessary to distinguish between the commands /sbin/shorewall stop and /etc/init.d/shorewall stop. /sbin/shorewall stop places the firewall in a safe state, the details of which depend on your /etc/shorewall/routestopped file (shorewall-routestopped(8)) and on the setting of ADMINISABSENTMINDED in /etc/shorewall/shorewall.conf (shorewall.conf(8)). /etc/init.d/shorewall stop may or may not do the same thing. In the case of Debian™ systems for example, that command actually executes /sbin/shorewall clear which opens the firewall completely. In other words, in the init script’s stop reverses the effect of start. One way to avoid these differences is to install S

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123