Re: [squid-users] acl problem

From: Henrik Nordstrom <[email protected]>
Date: Sun, 29 Dec 2002 15:35:18 +0100

Your porn words seems a bit careless for beeing url_regex, and is very
likely to block a whole lot more than you indent.

Notes on regex:

. is ANY CHARACTER, not a literal . For a literal . you need to use \.

url_regex is a substring match ANYWHERE in the full URL including query
parameters. If you only intend to match within the host/domain component
of the URL use dstdomain_regex not url_regex.

As it is a substring match be careful about what constitues a "word".
The regex ab matches all of "ab aaabbb dadabc". If you indend to match a
"word" then enclose the regex in suitable "word boundary characters"
such as [.,-/_]ab[.,-/_]. Note: some regex implementations such as GNU
regex have shortcuts for "word boundary".

Regards
Henrik
Arindam Haldar wrote:
>
> Hi all,
>
> first of all im sorry if this mail upsets someone(due to the list below)
> but i need help with acl..
> the squid configured by our company for a school has _porno_ sites
> blocked but dur to some reasons the site WWW.AICTE.COM is ablocked too.
> After 2 days of this problem, am forwading to this list for help...
> the acl are...
> acl porno url_regex "/usr/local/squid/v2-5s1/etc/PORN-wrds.txt"
> deny_info ERR_NO_PORNO porno
> http_access deny porno
>
> thax for your help...
> A.H
>
> the txt file PORN-wrds.txt is ...
> 0km
> adult
> /adulteducation/
> .amador.
> amateurs
> anglefire
> .apesbabes.
> /arcserveiteenw/
> arethose18
> .asianbeast.
> .asiatica.
> .babe.
> babylon-x.
> .bxonivel.
> beate-uhse
> bigbreast
> .bestiality.
> .Bilene.
> bodyelectric
> .buceta.
> .bunda.
> carnal
> carolcox
> .catsclub.
> caverninha.
> clubbeaver
> .creampie.
> cyberspice
> cybervixen
> danni
> debauchery
> delight
> desire
> .dildo.
> .eroland.
> erotic
> .erotik.
> erotix
> Essex
> fetish
> fifteen
> foksuk
> /freetown/
> .gatasbr.
> geekgirl
> /geek-girls/
> girls
> goaskalice
> gostosa.
> greyhawks
> .hardcorejunky.
> hcabaret
> heavyhangers
> .heidi.
> .host-x.
> hotboy
> hustler
> intergal
> kathryn
> kinky
> .kutje.
> ladies
> lairofluxlucre
> .lesbian.
> .lesbica.
> lesbos
> linkcards
> .loira.
> lolita
> lovesexy
> .mamilos.
> .middlesex
> .morena.
> .msexam.
> /msexcel/
> /msexchange/
> nastyhabits
> naughty
> .necrobabes.
> nervem
> no_adult
> nude
> orgy
> over21
> pamela
> pantless
> peepshow
> peepshow
> .penthouse.
> penthousemag
> persiankitty
> .perversion.
> pinupmall
> pixxxcity
> playbabe
> playboy
> playmen
> playware
> porn
> .porno.
> .punheteiros.
> pussy
> .puta.
> .racaille.
> rated-x
> .redhead.
> .revistasensual.
> /scsext/
> /scsext/
> seks
> sex
> .sex.
> sexyhousewifes
> shavedsluts
> .sikis.
> sizzle
> skinmag
> slut
> smeggy
> smutland
> snatche
> sordid
> /steen/
> .steen.
> strip-a-gram
> sugarandspice
> .teasingterri.
> teen
> thehotzone
> .thehun.
> .thehungersite.
> .tieten.
> .vagina.
> voulezvous
> .voyeurweb.
> whore
> /wirelessexcite/
> xpics
> xxx
Received on Sun Dec 29 2002 - 07:40:44 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:12:14 MST