diff options
author | Alexander Wilke <nachtfalkeaw@web.de> | 2012-10-25 22:08:12 +0300 |
---|---|---|
committer | Alexander Wilke <nachtfalkeaw@web.de> | 2012-10-25 22:08:12 +0300 |
commit | c106d324ae84469380d4653d09f371d92bfdfb06 (patch) | |
tree | 7567198f68a183d0b83a872129fb6de981e38369 /config | |
parent | aec5874f3721280b7426fb1fed1919357ed8cfc6 (diff) | |
download | pfsense-packages-c106d324ae84469380d4653d09f371d92bfdfb06.tar.gz pfsense-packages-c106d324ae84469380d4653d09f371d92bfdfb06.tar.bz2 pfsense-packages-c106d324ae84469380d4653d09f371d92bfdfb06.zip |
Update config/squidGuard/squidguard_configurator.inc
squidguard: "url_rewrite_children" replaces "redirect_children" in squid 2.6 and newer versions. Increased default value up to 5.
http://www.squid-cache.org/Versions/v2/2.7/cfgman/url_rewrite_children.html
"redirector_bypass" is by default off which disallows to bypass ACLs.
http://www.squid-cache.org/Versions/v2/2.7/cfgman/redirector_bypass.html
Diffstat (limited to 'config')
-rw-r--r-- | config/squidGuard/squidguard_configurator.inc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/config/squidGuard/squidguard_configurator.inc b/config/squidGuard/squidguard_configurator.inc index 7f193fdd..2aba1e8d 100644 --- a/config/squidGuard/squidguard_configurator.inc +++ b/config/squidGuard/squidguard_configurator.inc @@ -89,8 +89,8 @@ define('CONFIG_SG_HEADER', " define('REDIRECTOR_OPTIONS_REM', '# squidGuard options'); define('REDIRECTOR_PROGRAM_OPT', 'redirect_program'); define('REDIRECT_BYPASS_OPT', 'redirector_bypass'); -define('REDIRECT_CHILDREN_OPT', 'redirect_children'); -define('REDIRECTOR_PROCESS_COUNT', '3'); # redirector processes count will started +define('REDIRECT_CHILDREN_OPT', 'url_rewrite_children'); +define('REDIRECTOR_PROCESS_COUNT', '5'); # redirector processes count will started # ------------------------------------------------------------------------------ # squidguard config options @@ -397,9 +397,9 @@ function sg_reconfigure() # ------------------------------------------------------------------------------ # squid_reconfigure # Insert in '/usr/local/squid/etc/squid.conf' options: -# redirector_bypass on +# redirector_bypass off # redirect_program /usr/local/squidGuard/bin/squidGuard -c /path_to_config_file -# redirect_children 1 +# url_rewrite_children 5 # ------------------------------------------------------------------------------ function squid_reconfigure($remove_only = '') @@ -428,7 +428,7 @@ function squid_reconfigure($remove_only = '') $redirector_conf = $squidguard_config[F_WORKDIR] . SQUIDGUARD_CONFIGFILE; $conf[] = REDIRECTOR_PROGRAM_OPT . " $redirector_path -c $redirector_conf"; - $conf[] = REDIRECT_BYPASS_OPT . " on"; + $conf[] = REDIRECT_BYPASS_OPT . " off"; $conf[] = REDIRECT_CHILDREN_OPT . " " . REDIRECTOR_PROCESS_COUNT; sg_addlog("squid_reconfigure", "Add new redirector options to Squid config.", SQUIDGUARD_INFO); |