diff options
author | Matt Smith <mgsmith@netgate.com> | 2015-11-11 15:10:41 -0600 |
---|---|---|
committer | Matt Smith <mgsmith@netgate.com> | 2015-11-11 15:17:59 -0600 |
commit | c53e411fc458a59d39662e955b0677cdb37211c7 (patch) | |
tree | 0ebe9213d214bab3df275a582cc1154f307987f4 /src/etc/inc/ipsec.inc | |
parent | 824329d2c3f096aba45a91675a1a6d46ce62f90d (diff) | |
download | pfsense-c53e411fc458a59d39662e955b0677cdb37211c7.zip pfsense-c53e411fc458a59d39662e955b0677cdb37211c7.tar.gz |
Fix #5350. Correct issues with strongswan logging (setting changes did not persist across reboots, setting silent did not work).
Diffstat (limited to 'src/etc/inc/ipsec.inc')
-rw-r--r-- | src/etc/inc/ipsec.inc | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/etc/inc/ipsec.inc b/src/etc/inc/ipsec.inc index 37a6b09..5d45ef1 100644 --- a/src/etc/inc/ipsec.inc +++ b/src/etc/inc/ipsec.inc @@ -42,6 +42,36 @@ $ipsec_loglevels = array("dmn" => "Daemon", "mgr" => "SA Manager", "ike" => "IKE "imc" => "Integrity checker", "imv" => "Integrity Verifier", "pts" => "Platform Trust Service", "tls" => "TLS handler", "esp" => "IPsec traffic", "lib" => "StrongSwan Lib"); +global $ipsec_log_sevs; +$ipsec_log_sevs = array( + '-1' => 'Silent', + '0' => 'Audit', + '1' => 'Control', + '2' => 'Diag', + '3' => 'Raw', + '4' => 'Highest' +); + +global $ipsec_log_cats; +$ipsec_log_cats = array( + "dmn" => "Daemon", + "mgr" => "SA Manager", + "ike" => "IKE SA", + "chd" => "IKE Child SA", + "job" => "Job Processing", + "cfg" => "Configuration backend", + "knl" => "Kernel Interface", + "net" => "Networking", + "asn" => "ASN encoding", + "enc" => "Message encoding", + "imc" => "Integrity checker", + "imv" => "Integrity Verifier", + "pts" => "Platform Trust Service", + "tls" => "TLS handler", + "esp" => "IPsec traffic", + "lib" => "StrongSwan Lib" +); + global $my_identifier_list; $my_identifier_list = array( 'myaddress' => array('desc' => gettext('My IP address'), 'mobile' => true), |