SquidGuard time source??
-
The error expands past SquidGuard. It is also affecting the router. When running the "date" command at the console the response is wrong. I believe this error is more than just your PHP code. The whole reason I have been looking into this is because SquidGuard is ignoring my time rules, but I think ultimately the time is just wrong on the router.
-
squidGuard_configurator.inc
function sg_addlog($log) { setlocale(LC_TIME, ''); global $squidguard_config;
-
Can you elaborate? That code means nothing to me. I don't speak PHP. :-)
Chris
-
Can you elaborate? That code means nothing to me. I don't speak PHP. :-)
ChrisNear time will updated.
-
Update squidGuard sources. Fixed rebooting start SG bug and small blacklist fixes.
-
I just installed the latest version of SG, and now it's all broken and locking up my router. Running TOP and the SSH console shows 6 instances of SG running that are sucking up all the processor. After a while that subsides (mostly) but SG is blocking nothing at all at this point. I can get to any website I want. When someone goes on the web, SG suddenly uses up all the processor again for a while. Also, I noticed the time in the log is still 10 hours off.
Update:
Uninstalling Squid, and SG, then reinstalling Squid, then SG and pushing the save button in SG so it accepted the defaults seems to have fixed my locking up problem. Then I was able to re-configure SG and it worked. However, SG is still ignoring my times and the log is still showing 10 hours ahead of my local time.
-
I update SG gui (XML) - reinstall and test this
ps
Do not press Update blacklist button more what once at 30 minute
Script very long time to rebuild
Near time i adding fix for kill old runing script's -
OK, I uninstalled and reinstalled today. After reinstalling I created a simple 1 URL destination. I then created a simple time called Business Hours. I went to the default tab and set the default time to Business Hours. I then put a check next to the destination I created, and deny. I clicked the save button, then went to the general tab and clicked Apply. After doing that I then tried to get to the site, and I could without any problem. I then went back, checked Deny on the overtime side, and saved then applied. Now the site is blocked.
Still SG is still ignoring the times I set. It seems like nothing has changed since I first reported the problem. Please help. My boss is complaining and giving me a headache. :-) What can I do to test further and get this issue resolved?
Thanks.
Chris
-
Reinstall you SG - soures updated.
Default page worked without times (this option now deleted)
You can create ACL rule with time option
Please check this and replay result :)
I tested - this worked for me (only check you time-zone).
Current date-time you can view from putty cmddate
ps Also added new SG options in ACL's - 'Not to allow IP addresses in URL'
-
I installed the new version. Using an ACL for the site I need to be blocked at certain times still does not work. The site is blocked 24/7 even though I have it blocked only during business hours.
-
Do you have SG log/config ?
-
Sent you 2 PMs with info
-
properly configuring the ACL solved the problem. a small suggestion, put something in the html that checks for required info, or at least a warning saying a particular entry is required. it would help newbs like myself when trying to configure things.
thanks again.
-
This will is added in. Last time very many was changed.