fff-firewall: Restart when network configuration changes #92

Closed
fbl wants to merge 2 commits from fbl/firmware:firewall into master
Owner

The configuration of our firewall depends on the network configuration.
Most importantly, the firewall has to be restarted, if the WAN-interface
is changed.

Therefore, a procd reload trigger is added to the init-script, so our
firewall is automatically restarted, when the network configuration is
changed.

Additionally, a few unused variables are removed.

This is a stripped-down version of #91.

Fixes: #46

The configuration of our firewall depends on the network configuration. Most importantly, the firewall has to be restarted, if the WAN-interface is changed. Therefore, a procd reload trigger is added to the init-script, so our firewall is automatically restarted, when the network configuration is changed. Additionally, a few unused variables are removed. This is a stripped-down version of #91. Fixes: #46
fbl added this to the 20210211-beta milestone 2021-01-27 16:51:27 +01:00
fbl added the
bug
label 2021-01-27 16:51:27 +01:00
fbl added 2 commits 2021-01-27 16:51:27 +01:00
df87fc3851 fff-firewall: Restart when network configuration changes
The configuration of our firewall depends on the network configuration.
Most importantly, the firewall has to be restarted, if the WAN-interface
is changed.

Therefore, a procd reload trigger is added to the init-script, so our
firewall is automatically restarted, when the network configuration is
changed.

Fixes: #46
Signed-off-by: Robert Langhammer <rlanghammer@web.de>
[fabian@blaese.de: Remove unrelated changes]
Signed-off-by: Fabian Bläse <fabian@blaese.de>
a4e8da8e99 fff-firewall: Remove variables not used by procd
The Variables SERVICE_WRITE_PID and SERVICE_DAEMONIZE are not used by
procd, so they are removed.

Signed-off-by: Fabian Bläse <fabian@blaese.de>
rohammer approved these changes 2021-01-27 16:55:25 +01:00
rohammer left a comment
Member
Reviewed-by: Robert Langhammer <rlanghammer@web.de>
``` Reviewed-by: Robert Langhammer <rlanghammer@web.de> ```
adschm added the
packages/fff
label 2021-01-27 19:05:43 +01:00
Owner

Danke, wird später gemergt.

Danke, wird später gemergt.
adschm closed this pull request 2021-01-27 19:38:40 +01:00

Pull request closed

Sign in to join this conversation.
No description provided.