]> git.ipfire.org Git - ipfire-2.x.git/commit
Firewall initscript: Restore Tor IPTable rules by manual firewall restart
authorErik Kapfer <erik.kapfer@ipfire.org>
Tue, 16 Jan 2024 15:26:39 +0000 (16:26 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 19 Jan 2024 16:37:44 +0000 (16:37 +0000)
commite5a77641f35ec41e2b4a20403e690f0c9c96cb42
treeea46349fccc330ab1d5af2fd9f8736787e295065
parentb87cd867f704a5dbe1f28f448176f8a29950d709
Firewall initscript: Restore Tor IPTable rules by manual firewall restart

If the firewall will be manually restart via '/etc/init.d/firewall restart',
the IPTable rules for the Tor relay will be deleted since 'iptables_init' only
flushes and creates inbound and unbound chains for Tor but does not restore the
ruleset from Tor initscript.

For reference and tests please see -->
https://community.ipfire.org/t/tor-stop-working-without-stop-the-process-or-give-an-error-message/10697

Signed-off-by: Erik Kapfer <erik.kapfer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/initscripts/system/firewall