diff options
author | BBcan177 <bbcan177@gmail.com> | 2014-12-10 13:32:18 -0500 |
---|---|---|
committer | BBcan177 <bbcan177@gmail.com> | 2014-12-10 13:32:18 -0500 |
commit | b656811caaae572c5f59547ab3e530cb042271ef (patch) | |
tree | eb1ecc97f634ed0f395ce224a4df460fe06130ee /config/pfblockerng/pfblockerng.inc | |
parent | f31c0071522fb74546c06367ade8eaeb1abc19f2 (diff) | |
download | pfsense-packages-b656811caaae572c5f59547ab3e530cb042271ef.tar.gz pfsense-packages-b656811caaae572c5f59547ab3e530cb042271ef.tar.bz2 pfsense-packages-b656811caaae572c5f59547ab3e530cb042271ef.zip |
Mods to inc, Alerts and Log Files
- Mod the 'Global Enable Log' if() statement in the .inc file
- Use correct Folder Paths in Log Browser
- Check if syslog array exists in Alerts Tab.
Diffstat (limited to 'config/pfblockerng/pfblockerng.inc')
-rw-r--r-- | config/pfblockerng/pfblockerng.inc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/config/pfblockerng/pfblockerng.inc b/config/pfblockerng/pfblockerng.inc index dafdac3e..2f0c90de 100644 --- a/config/pfblockerng/pfblockerng.inc +++ b/config/pfblockerng/pfblockerng.inc @@ -937,7 +937,7 @@ function sync_package_pfblockerng($cron = "") { $rule['descr']= "{$pfb_alias}{$vtype}{$pfb['suffix']}"; $rule['source'] = array("any" => ""); $rule['destination'] = array ("address" => "{$pfb_alias}{$vtype}"); - if ($pfb['config']['enable_log'] || $pfb_contlog == "enabled") + if ($pfb['config']['enable_log'] == "on" || $pfb_contlog == "enabled") $rule['log'] = ""; $deny_outbound[] = $rule; if ($continent_config['action'] != "Deny_Both") @@ -952,7 +952,7 @@ function sync_package_pfblockerng($cron = "") { $rule['descr'] = "{$pfb_alias}{$vtype}{$pfb['suffix']}"; $rule['source'] = array("address" => "{$pfb_alias}{$vtype}"); $rule['destination'] = array ("any" => ""); - if ($pfb['config']['enable_log'] || $pfb_contlog == "enabled") + if ($pfb['config']['enable_log'] == "on" || $pfb_contlog == "enabled") $rule['log'] = ""; $deny_inbound[] = $rule; break; @@ -967,7 +967,7 @@ function sync_package_pfblockerng($cron = "") { $rule['descr'] = "{$pfb_alias}{$vtype}{$pfb['suffix']}"; $rule['source'] = array ("any" => ""); $rule['destination'] = array("address" => "{$pfb_alias}{$vtype}"); - if ($pfb['config']['enable_log'] || $pfb_contlog == "enabled") + if ($pfb['config']['enable_log'] == "on" || $pfb_contlog == "enabled") $rule['log'] = ""; $permit_outbound[] = $rule; if ($continent_config['action'] != "Permit_Both") @@ -982,7 +982,7 @@ function sync_package_pfblockerng($cron = "") { $rule['descr'] = "{$pfb_alias}{$vtype}{$pfb['suffix']}"; $rule['source'] = array("address"=> "{$pfb_alias}{$vtype}"); $rule['destination'] = array ("any" => ""); - if ($pfb['config']['enable_log'] || $pfb_contlog == "enabled") + if ($pfb['config']['enable_log'] == "on" || $pfb_contlog == "enabled") $rule['log'] = ""; $permit_inbound[] = $rule; break; @@ -1010,7 +1010,7 @@ function sync_package_pfblockerng($cron = "") { $rule['descr'] = "{$pfb_alias}{$vtype}{$pfb['suffix']}"; $rule['source'] = array ("address" => "{$pfb_alias}{$vtype}"); $rule['destination'] = array ( "any" => ""); - if ($pfb['config']['enable_log'] || $pfb_contlog == "enabled") + if ($pfb['config']['enable_log'] == "on" || $pfb_contlog == "enabled") $rule['log'] = ""; $match_inbound[] = $rule; break; @@ -1710,7 +1710,7 @@ function sync_package_pfblockerng($cron = "") { $rule['descr'] = "{$alias}{$pfb['suffix']}"; $rule['source'] = array ("address" => "{$alias}"); $rule['destination'] = array ("any" => ""); - if ($pfb['config']['enable_log'] || $alias_log == "enabled") + if ($pfb['config']['enable_log'] == "on" || $alias_log == "enabled") $rule['log'] = ""; $permit_inbound[] = $rule; break; @@ -1738,7 +1738,7 @@ function sync_package_pfblockerng($cron = "") { $rule['descr'] = "{$alias}{$pfb['suffix']}"; $rule['source'] = array ("address" => "{$alias}"); $rule['destination'] = array ("any" => ""); - if ($pfb['config']['enable_log'] || $alias_log == "enabled") + if ($pfb['config']['enable_log'] == "on" || $alias_log == "enabled") $rule['log'] = ""; $match_inbound[] = $rule; break; |