RE: Filter out Sex... Sites - CPU Performance problem

From: Clive Barrows <c.a.barrows@dont-contact.us>
Date: Sat, 17 Oct 1998 15:14:56 +0100

Hi,

I created a file of undesirable sites using the
"sex file" information exactly as shown below, and
added the following to squid.conf.

acl undesirables url_regex "/usr/local/squid/etc/saucyfile"
http_access deny undesirables all

Although it worked, the average CPU idle dropped from 90-98%
to 10% or less, and regularly hitting 0%.

Is this change in CPU performance expected and are there any
suggestions to overcome the problem, e.g. by altering the
contents of the file. I would also be grateful if someone could
explain the additional work being carried out by Squid which
requires so much CPU.
  
We have 2 caches acting as siblings for each other, each running
Squid 1.1.22 under Solaris 2.6 on a Sun Ultra 10, with 384MB Ram
and 2 x 2GB SCSI disks used purely for caching.

Thanks in advance for any response.

Regards,

Clive
 

-----Original Message-----
From: Orso [mailto:orso@pop.hsbcbamerindus.com.br]
Sent: 16 October 1998 12:54
To: 'Squid-List'; Michael Hamm
Subject: Re: Filter out Sex... Sites

Hello Michael,

You can use something like this:

acl sex url_regex "/usr/local/squid/etc/sex"
acl notsex url_regex "/usr/local/squid/etc/notsex"

http_access allow notsex all
http_access deny sex all

notsex file:
.*.msexchange.*
.*.msexcel.*
.*freetown.*
.*geek-girls.*
.*scsext.*

sex file:
.*.(praline|eroticworld|orion).de
.*.(theorgy|penthousemag|playboy|1stsex|lolita|sexpix|sexshop).*
.*.(smutland|hustler.onprod|hustler2.onprod|cybervixen|asiansex).*
(carolcox|eroticbodies).*
.*.(cyberlustxxx|cyberporn|intersex).inter.net*
.*.(eroticxxx|sexy4you|dani|danni|hotsex|kinky|lesbos|porno|xpics).*
.*.(over21|regsex|sexnet|sextoy|smeggy|sordid).*
.*.(cybersex|hcabaret|livesex|sex4you|sexmall).*
.*.(lovesexy|nastysex|pantless|playware|showgirl).*
.*.(2xxxcite|dreamsex|futuresex|sover21sex|explaza).*
.*.(xxxparadise|playbabe|celebnude|greyhawks|sexfinder|xxx-video).*
.*.(sexaphone|beate-uhse|fantasysex|sexparlor|sexnetwork).*
.*.(cybervixen|internetsex|silverotica|erotica2000|ultimatexxx).*
.*.(xxx-rawsex-xxx|amateurs|amateursweb|erotica-toys|orion-erotic).*
.*.(sexy-jewelry|hollywoodxxx|cybererotica|sexfantasy).*
.*.(danisherotica|sexy-playmates|nastyhabits|sugarandspice|kathryn).*
.*.(persiankitty|adultplayground|supernudes|playsex).*
.*.(pinupmall|porn.byus|smutland|sizzle|heavyhangers).*
.*.(hardcorjunky|fetish|adultplayhouse|pornpics|asiansex).*
.*.(hustler|freepics|wetgirls|tropixxx|sex|pixxxcity).*
.*.(4adultsonly|peepshow|voulezvous|rated-x|69pornplace).*
.*.(shavedsluts|nudepalace|xxxguide|pics-xxx|naughty|thehotzone).*
.*.(nervemag|carolcox|snatches|freeporn|playgirlmag|cyberspice).*
.*.(erotica|afro-erotica).*
(teen|girls|xxxpic).*
(www.sex|pussy.bahnhof).*
.*.(gay|sex).*
.*.fun.nl
www.playmen.it/
www.gisa.it/sex/
www.iol.it/sexol/
globall.com/j/xxx/
www.hh.nl/n-m/pic/
www.pi.net/~pauze/
www.oden.se/~hedback/
aau.diasoft.ru/~hotsex/
www.donsworld.com/xadultx/
www.well.com/user/sexymate/
ftp.zippo.com/pictures/erotica/
mm.iit.uni-miskolc.hu/Data/ladies/
drn.zippo.com/zippo-bin/wwwdecode/
pilot.msu.edu/user/rozwadow/pamela
.*.lek.no
.*.dutch-delight.nl
(sdrn|sdrn2).zippo.com/decoded
ftp.netcom.com/pub/ac/acott
www.tvtoday.de:9600

Bye

Pedro

Sexta-feira, 16 Outubro 1998, you wrote:

MH> Hi,
MH> in the docs i figure out, how to filter out adresses like
MH> playboy.com or sex.com.
MH> But can somebody told me how to filter out
MH> all adresses including words like ...sex... or ...girl...
MH> i'm very thankfull for one or two example config-lines

MH> Bye

MH>
------------------------------------------------------------------------
-------
MH> MfG Michael Hamm
Received on Sat Oct 17 1998 - 08:15:23 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:42:32 MST