For this use i had use a simple trick ......
you must adding this lines into squid.conf after acl all src
0.0.0.0/0.0.0.0
acl sblocca url_regex "/usr/local/squid/etc/sblocca"
acl blocca url_regex "/usr/local/squid/etc/blocca"
and
http_access allow manager localhosthttp_access deny manager
http_access deny !Safe_portshttp_access deny CONNECT !SSL_ports
http_access allow sblocca
http_access deny blocca
http_access allow all
and two file blocca=block sblocca=unblock
i use blocca for list of word in url to block , and i use sblocca for list
of site block wrong
and example my blocca files is:
"""
bluesatin
orgie
transe
penetra
sesso
casalegno
marcuzzi
prostitute
love
gammae
jessicarizzo
gogovideo
ultimatestud
surbians
babylon
blood
truly18
cyberpimps
sabrinaferilli
schoolgirl
gossips
webyoung
hitbox
www.whitehouse.com
asian
capezzoli
tette
vibratori
sadoma
puttane
luckyfel
freepic
.sxfx.
adsuite
adult
akamaitech
amateur
anglefire
astalavista
babes
beate-uhse
bharath
bi-curioustv.com
bizlin
bodyelectric
book-mark
carnal
carolcox
cazzo
cheri
cherry-pie
clubbeaver
condomproje
crack
cumshots
cunt
cyberspice
cybervixen
delight
depylata
desire
dick
doodie.com
erotic
pamelaa
cumcove
streep
erotix
exclusive
explicit.net
extreme
fetish
figa
fuck
fun.nl
gay
getmewet
gifs.com
girl
goaskalice
greyhawks
hack
hard-
hardcor
hcabaret
heavyhangers
highsociety
hotboy
hustler
icq
inculate
insidetheweb
intergal
kathryn
kinky
ladies
lairofluxlucre
leccate
lek.no
lesbo
linkcards
lolita
mangapala
milkyhouse
mirabilis
morefith
nastyhabits
naughty
nervem
netnexus
nude
nuked
obsession
orgy
over18
over21
pamela
pantless
peepshow
penthouse
pentium2.com
persiankitty
pinupmall
pixxxcity
playb
playm
pompini
porn
pussy
quake
rated-x
redeyes
russiankiss
sex
shavedsluts
sizzle
skinmag
sluts
smeggy
smutland
snatche
sordid
strip-a-gram
sugarandspice
teen
thehotzone
troie
trojan
uha1.com
voulezvous
warez
whatisthematrix.com
wheeloffortune
whore
www.big-titts
www.biz
www.hotinterr
www.hwj.net
www.mike-x.com
manhole
bellezze
russian-x
selen
uas.org
www.ygal.com
xchina.com
xpics
xxx
ynotnetwork.com
zero-de-conduite
~svr2nn/dplus
"""
and my sblocca is :
""
msn.com
www.inea.it
www.mi.camcom.it
""
because this site have a file with xxx or other word that isn't porn, but
match...
very important "http_access allow sblocca" don't be after http_access deny
blocca
for other notice tognolo@mail.asso.artigiani.vi.it
-----Original Message-----
From: Willie Yeo <yeo@flowerbank.ssc.qld.edu.au>
To: squid-users@ircache.net <squid-users@ircache.net>
Date: mercoledì 7 luglio 1999 17.47
Subject: Net content filtering
>Hi all,
>
> I am tying to install a web-filtering firewall on school's network
>on a Redhat 6.0 (Kernel 2.2.9) with Squid 2.2STABLE.
>
> The mail aim we are trying to achieve is to block out porn sites
>and such from student access. We are a K12 education institution, and the
>Computing teacher requested for it. Instead of paying some $$$ for
>products like a yearly subscription to CyberPatrol.
>
> I would appreciate help with the general direction though. I took
>down SquidGuard and tried to set it up without success. I installed the
>Berkeley DB with success, compiled ok SquidCache, but ended up with
>"segmentation fault" when I tried to run it.
>
> Otherwise, if someone has success with something else, and could
>help giving me some pointers in setting it up will be much appreciated.
>
> Anyone can give me a head-start to where to get blacklists of porn
>
>
>sites and such ?
>
> Thanks in advance.
>
>:----------------------------------------------------------------------:
> Willie Yeo |
> CNA, BIT-in-progress | : :
> Network / Systems Administrator | This space for hire !
> Saint Stephen's College | > VERY CHEAP <
> Coomera, Gold Coast, | : :
> AUSTRALIA |
>
Received on Wed Jul 07 1999 - 10:41:13 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:47:19 MST