From 7d53fbfbaa0c35aebf854b21abbc4a841d65372c Mon Sep 17 00:00:00 2001 From: PiBa-NL Date: Mon, 10 Aug 2015 22:47:29 +0200 Subject: snort, fix config-sync to 'system backup server' --- config/snort/snort.inc | 4 ++-- pkg_config.10.xml | 2 +- pkg_config.8.xml | 2 +- pkg_config.8.xml.amd64 | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/config/snort/snort.inc b/config/snort/snort.inc index 027207b1..0e4881aa 100755 --- a/config/snort/snort.inc +++ b/config/snort/snort.inc @@ -3761,8 +3761,8 @@ function snort_sync_on_changes() { } break; case "auto": - if (is_array($config['installedpackages']['carpsettings']) && is_array($config['installedpackages']['carpsettings']['config'])){ - $system_carp=$config['installedpackages']['carpsettings']['config'][0]; + if (is_array($config['hasync'])) { + $system_carp=$config['hasync']; $rs[0]['varsyncipaddress']=$system_carp['synchronizetoip']; $rs[0]['varsyncusername']=$system_carp['username']; $rs[0]['varsyncpassword']=$system_carp['password']; diff --git a/pkg_config.10.xml b/pkg_config.10.xml index 7c9ce26c..d52c18bf 100644 --- a/pkg_config.10.xml +++ b/pkg_config.10.xml @@ -409,7 +409,7 @@ barnyard2_UNSET_FORCE=ODBC PGSQL PRELUDE;barnyard2_SET_FORCE=GRE IPV6 MPLS MYSQL PORT_PCAP BRO;snort_SET_FORCE=BARNYARD PERFPROFILE SOURCEFIRE GRE IPV6 NORMALIZER APPID;snort_UNSET_FORCE=PULLEDPORK FILEINSPECT HA https://packages.pfsense.org/packages/config/snort/snort.xml - 3.2.6 + 3.2.7 2.2 Stable /snort.xml diff --git a/pkg_config.8.xml b/pkg_config.8.xml index b45bff1d..4c81ed6b 100644 --- a/pkg_config.8.xml +++ b/pkg_config.8.xml @@ -493,7 +493,7 @@ barnyard2_UNSET=ODBC PGSQL PRELUDE;barnyard2_SET=GRE IPV6 MPLS MYSQL PORT_PCAP BRO;snort_SET=PERFPROFILE SOURCEFIRE GRE IPV6 NORMALIZER APPID;snort_UNSET=PULLEDPORK FILEINSPECT HA;perl_SET=THREADS https://packages.pfsense.org/packages/config/snort/snort.xml - 2.9.7.2 pkg v3.2.4 + 2.9.7.2 pkg v3.2.5 2.1 Stable /snort.xml diff --git a/pkg_config.8.xml.amd64 b/pkg_config.8.xml.amd64 index f52f2525..177d02f7 100644 --- a/pkg_config.8.xml.amd64 +++ b/pkg_config.8.xml.amd64 @@ -480,7 +480,7 @@ barnyard2_UNSET=ODBC PGSQL PRELUDE;barnyard2_SET=GRE IPV6 MPLS MYSQL PORT_PCAP BRO;snort_SET=PERFPROFILE SOURCEFIRE GRE IPV6 NORMALIZER APPID;snort_UNSET=PULLEDPORK FILEINSPECT HA;perl_SET=THREADS https://packages.pfsense.org/packages/config/snort/snort.xml - 2.9.7.2 pkg v3.2.4 + 2.9.7.2 pkg v3.2.5 2.1 Stable /snort.xml -- cgit v1.2.3