mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
Update so-functions
This commit is contained in:
@@ -2289,11 +2289,11 @@ set_initial_firewall_policy() {
|
|||||||
|
|
||||||
set_initial_firewall_access() {
|
set_initial_firewall_access() {
|
||||||
if [[ ! -z "$ALLOW_CIDR" ]]; then
|
if [[ ! -z "$ALLOW_CIDR" ]]; then
|
||||||
$default_salt_dir/salt/common/tools/sbin/so-firewall includehost analyst $ALLOW_CIDR --apply
|
so-firewall includehost analyst $ALLOW_CIDR --apply
|
||||||
fi
|
fi
|
||||||
if [[ ! -z "$MINION_CIDR" ]]; then
|
if [[ ! -z "$MINION_CIDR" ]]; then
|
||||||
$default_salt_dir/salt/common/tools/sbin/so-firewall includehost sensors $MINION_CIDR
|
so-firewall includehost sensors $MINION_CIDR
|
||||||
$default_salt_dir/salt/common/tools/sbin/so-firewall includehost searchnodes $MINION_CIDR --apply
|
so-firewall includehost searchnodes $MINION_CIDR --apply
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user