Re: how to block more then 10,000 site with SQUID ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx
-
: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Newbie]     [Audio]     [Hams]     [Kernel Newbies]     [Util Linux NG]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Device Drivers]     [Samba]     [Video 4 Linux]     [Git]     [Fedora Users]

  Powered by Linux