mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-20 03:16:12 +00:00
firewall - CARP defaults. our default has always been to allow carp unconditional, which currently doesn't seem to make sense changing. However the "block carp from self" rule was translated incorrectly when changing our plugin structure and doesn't seem to be that useful at all (anymore).
This commit removes the rule, which originated from 986a3accd4
(https://forum.opnsense.org/index.php?topic=25019.msg120273#msg120273)
This commit is contained in:
parent
56e66ec809
commit
1b336f3ccc
@ -275,13 +275,6 @@ function filter_core_rules_system($fw, $defaults)
|
||||
);
|
||||
}
|
||||
// CARP defaults
|
||||
$carp_disabled = empty($config['hasync']) && empty($config['virtualip']['vip']);
|
||||
$fw->registerFilterRule(
|
||||
1,
|
||||
array('protocol' => 'carp', 'descr' => 'CARP defaults', '#ref' => 'system_hasync.php',
|
||||
'from' => '(self)', 'direction' => 'in', 'disabled' => !$carp_disabled),
|
||||
$defaults['block']
|
||||
);
|
||||
$fw->registerFilterRule(
|
||||
1,
|
||||
array('protocol' => 'carp', 'direction' => 'any', 'descr' => 'CARP defaults', '#ref' => 'firewall_virtual_ip.php'),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user