Re: [squid-users] Blocking IP's from accessing Squid

From: Adrian Chadd <adrian@dont-contact.us>
Date: Fri, 23 Nov 2007 09:00:41 +0900

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 -
Received on Thu Nov 22 2007 - 16:56:10 MST

This archive was generated by hypermail pre-2.1.9 : Sat Dec 01 2007 - 12:00:02 MST