aboutsummaryrefslogtreecommitdiffstats
path: root/config/suricata/suricata_rulesets.php
diff options
context:
space:
mode:
authorbmeeks8 <bmeeks8@bellsouth.net>2014-09-07 17:57:15 -0400
committerbmeeks8 <bmeeks8@bellsouth.net>2014-09-07 17:57:15 -0400
commit1d9c1cc8e530352168b97fd8b9c552c2588b67f4 (patch)
tree4ddf526d573bc142104325a91ccfcdd11e3d73f8 /config/suricata/suricata_rulesets.php
parente1be647aab970954f0c1312d3579c1e312add9ba (diff)
downloadpfsense-packages-1d9c1cc8e530352168b97fd8b9c552c2588b67f4.tar.gz
pfsense-packages-1d9c1cc8e530352168b97fd8b9c552c2588b67f4.tar.bz2
pfsense-packages-1d9c1cc8e530352168b97fd8b9c552c2588b67f4.zip
Sync some changes to CARP slaves when enabled.
Diffstat (limited to 'config/suricata/suricata_rulesets.php')
-rw-r--r--config/suricata/suricata_rulesets.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/suricata/suricata_rulesets.php b/config/suricata/suricata_rulesets.php
index ce32af20..7ea672b1 100644
--- a/config/suricata/suricata_rulesets.php
+++ b/config/suricata/suricata_rulesets.php
@@ -165,6 +165,9 @@ if ($_POST["save"]) {
$enabled_rulesets_array = explode("||", $enabled_items);
if (suricata_is_running($suricata_uuid, $if_real))
$savemsg = gettext("Suricata is 'live-loading' the new rule set on this interface.");
+
+ // Sync to configured CARP slaves if any are enabled
+ suricata_sync_on_changes();
}
elseif ($_POST['unselectall']) {
// Remove all but the default events and files rules