Timed based access restrictions with squid & danguardian
I have recently (with help from these forums) got Squid and danguardian running on a Fedora 4 linux box.
My aim is to provide internet content & access filtering for my children.
Thus far, I have content filtering largely working, just need to tweak the configuration files etc, if anybody has any hints on cleanly allowing hotmail, whilst blocking all the MSN chat stuff, your advice will be gladly recieved.
However my current aim is to restrict the hours of access. To do this, I have set the following rules in the squid.conf file
The kids pc's have fixed ip addressed
acl child1 src 192.168.0.80/32
acl child2 src 192.168.0.81/32
acl child1_time time MTWHF 21:30-23:59
acl child2_time time MTWHF 20:30-23:59
http_access allow all
acl our_network src 192.168.0.0/24
http_access allow our_network
http_access deny child1 child1_time
http_access deny child2 child2_time
By my reasoning this should firstly allow prety much anybody, but then deny the kids PC if outside the allowable time.
Now what I think is happening is that because the browsers are being pointed to dansguardian, and not squid, then squid is never seeing the kids pc's IP addresses ? If this is the case then how do I get around it, or if not, then can someone tell me what I've missed from above.