Re: [squid-users] blocking sites through IP not working

From: Henrik Nordstrom <[email protected]>
Date: Tue, 13 Jan 2004 11:04:05 +0100 (CET)

On Mon, 12 Jan 2004, Nilesh wrote:

> One more problem im facing in squid that is im not
> able to block sites through IP , i can block sites
> through URL but not through IP
> check my acl

To block sites by domain you should use dstdomain acl type.

To block sites by IP you should use the dst acl type.

To block URLs by pattern matching you should use the regex based acls
(url_regex / dstdomain_regex / urlpath_regex). Which to use depends on
what part of the requested URL you want to match against.

Regards
Henrik
Received on Tue Jan 13 2004 - 03:04:14 MST

This archive was generated by hypermail pre-2.1.9 : Sun Feb 01 2004 - 12:00:05 MST