RE: [squid-users] blocking by IP

From: Elsen Marc <[email protected]>
Date: Thu, 10 Mar 2005 16:14:39 +0100

 
> Hi,
> I have blocked a few sites by the domain names but some users access
> them by their IPs. How do I stop this. I searched google and archives
> but couldn't get exact answer. I tried putting in my block.txt files,
> which has domain names too,
> http://<ip>
> and
> <ip>
> but both do not work. Any ideas on this please?
>

 acl blocked_ip_addresses dst "/whatever_path/blocked_ip_addresses.txt"
 http access deny blocked_ip_addresses

 Put IP's only in the designated file.

 M.

       
Received on Thu Mar 10 2005 - 08:16:27 MST

This archive was generated by hypermail pre-2.1.9 : Fri Apr 01 2005 - 12:00:02 MST