linux-config.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Luca Ferrari <fluca1978@infinito.it>
To: linux-admin@vger.kernel.org
Cc: linux-config@vger.kernel.org
Subject: Re: how to block more then 10,000 site with SQUID ?
Date: Thu, 29 Jul 2004 10:02:46 +0200	[thread overview]
Message-ID: <200407291002.46585.fluca1978@infinito.it> (raw)
In-Reply-To: <200407290932.41128.fluca1978@infinito.it>

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

  reply	other threads:[~2004-07-29  8:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [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 [this message]
2004-07-29  6:41 Kev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200407291002.46585.fluca1978@infinito.it \
    --to=fluca1978@infinito.it \
    --cc=linux-admin@vger.kernel.org \
    --cc=linux-config@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).