Squidguard on 2.0 final
-
You can workaround this restarting or reloading squidguard every day or at specific times.
To handle cron schedules using gui, install cron package.
-
Thanks I want test it…
I have install Cron Package..
what is the command to reload squidquard to add in the Cron table?thanks in advance!
-
Hi, it work for now, thanks for your help.. with Cron and this command schedule every day:
/usr/local/sbin/squid -k shutdown
/usr/local/sbin/squidrestarting squid by night, the acl time based work fine without press "apply" in time or offtime to pass or block
then with a alias with IP + apps.facebook.com and a schedule rule also https facebook access is possible only in pause time..
only problem left is to cache browser that is not resolved also changing the squidguard_configurator.inc file but not a serious problem
-
Hi, it work for now, thanks for your help.. with Cron and this command schedule every day:
/usr/local/sbin/squid -k shutdown
/usr/local/sbin/squidrestarting squid by night, the acl time based work fine without press "apply" in time or offtime to pass or block
then with a alias with IP + apps.facebook.com and a schedule rule also https facebook access is possible only in pause time..
only problem left is to cache browser that is not resolved also changing the squidguard_configurator.inc file but not a serious problem
great workaround.
it's save my time a lot. i should no click apply button for every "time" and "off-time" any more… ;D -
but i'm still curious about how to restart squidguard properly without restarting squid.
what is script that button apply use at squidguard page? -
but i'm still curious about how to restart squidguard properly without restarting squid.
what is script that button apply use at squidguard page?In my experience a cronjob with "squid -k reconfigure" is enough, it will not kill squid and is enough to workaround the time problem.
i did a ps -aux | grep squid on shell and got
proxy 5813 0.0 0.1 9012 2612 ?? SN 1:06PM 0:02.27 (squidGuard) -c /usr/local/etc/squidGuard/squidGuard.conf (squidGuard)
proxy 5903 0.0 0.1 9012 2612 ?? IN 1:06PM 0:00.21 (squidGuard) -c /usr/local/etc/squidGuard/squidGuard.conf (squidGuard)
proxy 6195 0.0 0.1 9012 2612 ?? IN 1:06PM 0:00.08 (squidGuard) -c /usr/local/etc/squidGuard/squidGuard.conf (squidGuard)
root 55758 0.0 0.1 15248 4652 ?? INs 12:56PM 0:00.00 /usr/local/sbin/squid -Das you can also see in "proxy server" configuration, squidguard is configured as a redirect program inside squid, not a deamon itself. I only know about pfsense, that i know nothing about pfsense so i may be wrong, but that's what i conclude.
-
of course you need to make a cronjob with "/usr/local/sbin/squid -k reconfigure", got an pm to this, so, well you always need the full path in a cron job