files n00b
Joined: 21 Nov 2006 Posts: 20
|
Posted: Fri Sep 12, 2008 7:11 am Post subject: squid site restrictions |
|
|
hi, am using squid to filter web sites. squid acl rules below
Code: |
acl kestas src 192.168.1.153
acl bannedsites url_regex -i "/etc/squid/banned.txt"
acl lunch time MTWHF 12:00-13:00
acl night time MTWHF 17:00-23:00
acl morning time MTWHF 00:00-08:30
http_access deny bannedsites !lunch !night !morning
http_access allow !kestas
|
banned.txt
Code: |
.one.lt
.pazintys.lt
.klase.lt
.draugas.lt
.juokelis.lt
.panele.lt
.klubas.lt
.cha.lt
.supermama.lt
.www.invest-game.com
.gladiatus.lt
.travian.lt
.travian.com
.bridgeclub.lt
.ieskok.lt
|
the problem is squid blocks too much, for example it blocks manoimone.lt, it does that because one.lt is in blocked site list, how to fix this issue?
i have tryed .*[^.]one.lt, \.one.lt ather combination, nothing helps. |
|