firewall: default pass all loopback without state tracking; closes #5367

Idea by @kulikov-a.  While arguably not addressing the issue with
unbound-control directly but we can't wait for upstream to do this.
This commit is contained in:
Franco Fichtner 2022-02-02 09:40:20 +01:00
parent ef9a2e9330
commit a9a67b4255

View File

@ -528,7 +528,7 @@ function filter_core_rules_system($fw, $defaults)
}
}
// loopback
$fw->registerFilterRule(5, array('interface' => 'lo0', 'descr' => 'pass loopback'), $defaults['pass']);
$fw->registerFilterRule(5, array('interface' => 'lo0', 'descr' => 'pass loopback', 'statetype' => 'none'), $defaults['pass']);
// out from this Firewall
$fw->registerFilterRule(
5,