linux-config.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* how to block more then 10,000 site with SQUID ?
@ 2004-07-29  6:41 Kev
  0 siblings, 0 replies; 3+ messages in thread
From: Kev @ 2004-07-29  6:41 UTC (permalink / raw)
  To: linux-config

hi,

i have a site list that i need to block with squidl this list is on a
TXT files, it got more then 10000 domains, how can i do this with SQUID ??

plz help
---------------------------------------------
# [Misc Add-ons][A - Z]
  abcsearch.com
  admin.abcsearch.com
  www3.abcsearch.com #[Browseraid]
  www.abcsearch.com
  abc517.net #[Trojan.Mitglieder.H]
  acestats.com
  www.acestats.com
  actualnames.com #[Parasite.ActualNames]
  www.actualnames.com
  ad-up.com
  www.ad-up.com
  adatom.com
  aesp.adatom.com
  adbest.com
  adserv.adbonus.com
  www.adbonus.com
  www.adblaster2.info #[Restricted Zone site]
  ad2.adcept.net
  ad3.adcept.net
  www.adcept.net
  adcomplete.com
  www.adcomplete.com
  www.adcopy.info
  ads.adcorps.com
  ads.addynamix.com
  pt.server1.adexit.com
  www.adexit.com
  www.ad4ever.com
  ads.adfuzz.com
  www2.adhost.com
  www.addme.com
  te.adlandpro.com
  classic.adlink.de
  regio.adlink.de
  west.adlink.de
  www.adminder.com
  adsfac.net
  www.adonweb.com
  www.adrelevance.com #[NetRatings]
  adroar.com
  ads.adroar.com
  delta.adroar.com
  iads.adroar.com #[Adware.AdRoar]
  lists.adroar.com
  www.adroar.com
  ads.adsag.com
  img.adsag.com

------- 
Web Hosting at a cheap price, starting at $1 per month with your own domain, .COM, .NET, .LK, .ORG etc..
PHP, CGI, Perl, MySQL, Cpanel 9, POP3, POP3s, SMTP, IMAP, FTP,
http://www.orbitsl.net


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: how to block more then 10,000 site with SQUID ?
       [not found] <20040729124032.0EAC.SAVAGE-GARDEN@hanikamail.com>
@ 2004-07-29  7:32 ` Luca Ferrari
  2004-07-29  8:02   ` Luca Ferrari
  0 siblings, 1 reply; 3+ messages in thread
From: Luca Ferrari @ 2004-07-29  7:32 UTC (permalink / raw)
  To: linux-admin; +Cc: linux-config

On Thursday 29 July 2004 08:40 Kev's cat walking on the keyboard  wrote:

> hi,
>
> i have a site list that i need to block with squidl this list is on a
> TXT files, it got more then 10000 domains, how can i do this with SQUID ??
>

Hi,
I've done something similar adding a line like the following in the 
squid.conf, at the acl section:

acl pericolosi urlpath_regex "/vol1/squid/etc/files_pericolosi.acl"

where /vol1/squid/etc/files_pericolosi.acl is a text file that contains the 
list of sites/domains you want to block.
Hope this helps.

Luca

-- 
Luca Ferrari,
fluca1978@infinito.it

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: how to block more then 10,000 site with SQUID ?
  2004-07-29  7:32 ` how to block more then 10,000 site with SQUID ? Luca Ferrari
@ 2004-07-29  8:02   ` Luca Ferrari
  0 siblings, 0 replies; 3+ messages in thread
From: Luca Ferrari @ 2004-07-29  8:02 UTC (permalink / raw)
  To: linux-admin; +Cc: linux-config

On Thursday 29 July 2004 09:32 Luca Ferrari's cat walking on the keyboard  
wrote:

> On Thursday 29 July 2004 08:40 Kev's cat walking on the keyboard  wrote:
> > hi,
> >
> > i have a site list that i need to block with squidl this list is on a
> > TXT files, it got more then 10000 domains, how can i do this with SQUID
> > ??
>
> Hi,
> I've done something similar adding a line like the following in the
> squid.conf, at the acl section:
>
> acl pericolosi urlpath_regex "/vol1/squid/etc/files_pericolosi.acl"
>
> where /vol1/squid/etc/files_pericolosi.acl is a text file that contains the
> list of sites/domains you want to block.
> Hope this helps.


Ops!
I cut and paster the wrong line! The acl type must be "dstdomain", like the 
following one:
acl pericolosi dstdomain "/vol1/squid/etc/files_pericolosi.acl"

and you have to specify to deny the above acl with
http_access deny pericolosi 

Luca
-- 
Luca Ferrari,
fluca1978@infinito.it

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-07-29  8:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20040729124032.0EAC.SAVAGE-GARDEN@hanikamail.com>
2004-07-29  7:32 ` how to block more then 10,000 site with SQUID ? Luca Ferrari
2004-07-29  8:02   ` Luca Ferrari
2004-07-29  6:41 Kev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).