Re: [squid-users] banning sites with multiple ip addresses

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sat, 18 May 2002 00:41:33 +0200

Rohit Peyyeti wrote:
>
> Hello:
>
> I need to ban some sites which have single name but multiple IP addresses.
> Like:
> www.example.com IP address are 64.110.23.45 and 64.11.45.22. By just banning
> www.example.com name in SQUID would not actually solve my problem because
> people can access such sites with their IP addresses.

You should be able to use the "dst" ACL type, listing the domain name..

However, if the site don't return all it's IP addresses to a DNS query
then you will need to collect all possible IP addresses and tell these
to Squid.

Regards
Henrik
Received on Fri May 17 2002 - 17:00:02 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:08:09 MST