Re: [squid-users] Can I block CONNECT to any IP (but allow hostnames)?

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Thu, 09 Aug 2007 11:44:08 +0200

On fre, 2007-08-03 at 15:18 +1000, Tim Bates wrote:
> Can someone tell me if it's possible to block "CONNECT" attempts that
> only specify an IP address (rather than a hostname)?

acl byip dstdomain_regex ^[0-9\.]*$
http_access deny CONNECT byip

Regards
Henrik

Received on Thu Aug 09 2007 - 03:44:20 MDT

This archive was generated by hypermail pre-2.1.9 : Sat Sep 01 2007 - 12:00:03 MDT