I'm having trouble granting specific IPs special access. My src definitions are as follows for squidguard:
source privilegedsource {
ip 192.168.42.51
}
source lansource {
ip 192.168.42.0/24
}
source bannedsource {
ip 192.168.42.61
}
And my acl's are as follows:
acl {
privilegedsource {
pass all
redirect http://192.168.42.233/cgi-bin/squidGuard.cgi?clientaddr=%a&srcclass=%s&targetclass=%t&url=%u
}
bannedsource {
pass none
redirect http://192.168.42.233/cgi-bin/squidGuard.cgi?clientaddr=%a&srcclass=%s&targetclass=%t&url=%u
}
lansource {
pass !bl_ads !bl_audio-video !bl_mail !bl_warez !bl_violence !bl_proxy !bl_porn !bl_hacking !bl_gambling !bl_drugs !bl_aggressive !banneddestination all
redirect http://192.168.42.233/cgi-bin/squidGuard.cgi?clientaddr=%a&srcclass=%s&targetclass=%t&url=%u
}
default {
pass !bl_ads !bl_audio-video !bl_mail !bl_warez !bl_violence !bl_proxy !bl_porn !bl_hacking !bl_gambling !bl_drugs !bl_aggressive all
redirect http://192.168.42.233/cgi-bin/squidGuard.cgi?clientaddr=%a&srcclass=%s&targetclass=%t&url=%u
}
}
For some reason even thous my ip is listed in the priviledgedsource, I am still blocked like everyone else. On a side note, the 403 page returned doesn't seem to have all of the information that it should. This is what it looks like:
Access to this site is blocked
Additional information: Client address = 192.168.42.51 Client name = Client user = Client group = URL = http://webmail.aol.com/ Target group =
I can understand client name and client user not being available because I'm not using ident and I do not have reverse lookups, but client group and target group should be available. Otherwise how would it know whether or not to block?
Any help will be appreciated.
