diff options
author | bmeeks8 <bmeeks8@bellsouth.net> | 2015-07-03 15:17:48 -0400 |
---|---|---|
committer | bmeeks8 <bmeeks8@bellsouth.net> | 2015-07-03 15:17:48 -0400 |
commit | 9843513bfbef7b027c523af1f85d3eeeeaf35e2d (patch) | |
tree | 3c4c269e16f5a6dfff57cfc07cf6efa58f3003d0 /config/snort | |
parent | 22fe600ac74fd8cf0d9c802f52ea11e536116125 (diff) | |
download | pfsense-packages-9843513bfbef7b027c523af1f85d3eeeeaf35e2d.tar.gz pfsense-packages-9843513bfbef7b027c523af1f85d3eeeeaf35e2d.tar.bz2 pfsense-packages-9843513bfbef7b027c523af1f85d3eeeeaf35e2d.zip |
Send OpenAppID and SNORT_VARS changes to CARP replication partners.
Diffstat (limited to 'config/snort')
-rwxr-xr-x | config/snort/snort_define_servers.php | 3 | ||||
-rwxr-xr-x | config/snort/snort_preprocessors.php | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/config/snort/snort_define_servers.php b/config/snort/snort_define_servers.php index ee463ac9..b72a3d4e 100755 --- a/config/snort/snort_define_servers.php +++ b/config/snort/snort_define_servers.php @@ -142,6 +142,9 @@ if ($_POST['save']) { /* Soft-restart Snort to live-load new variables. */ snort_reload_config($a_nat[$id]); + /* Sync to configured CARP slaves if any are enabled */ + snort_sync_on_changes(); + /* after click go to this page */ header( 'Expires: Sat, 26 Jul 1997 05:00:00 GMT' ); header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' ); diff --git a/config/snort/snort_preprocessors.php b/config/snort/snort_preprocessors.php index 9f6879ef..de680886 100755 --- a/config/snort/snort_preprocessors.php +++ b/config/snort/snort_preprocessors.php @@ -569,6 +569,9 @@ if ($_POST['save']) { !empty($natent['host_attribute_data'])) snort_reload_config($natent, "SIGURG"); + /* Sync to configured CARP slaves if any are enabled */ + snort_sync_on_changes(); + /* after click go to this page */ header( 'Expires: Sat, 26 Jul 1997 05:00:00 GMT' ); header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' ); |