On Thu, Nov 22, 2007, Reid wrote:
> 
> I need to block a large number of IP addresses from accessing squid. Is this 
> something that squid
> can do efficiently?

Squid's src and dst IP ACLs should be efficient enough.

> I have about 300 lines that look like this:   (where ## is an actually number 
> - for privacy, I'm
> just not listing it here)
> 
> ##.##.22.104/29 
> ##.##.22.112/28 
> ##.##.22.128/26
> ##.##.192.0/19
> ##.##.224.0/21
> ##.##.0.0/13
> 
> Also, how should these IP's be formatted for squid? I'm planning to put the 
> list in an external
> file.

That formatting is fine, one per line.



Adrian

-- 
- Xenion - http://www.xenion.com.au/ - VPS Hosting - Commercial Squid Support -

Reply via email to