RE: [squid-users] Blocking all IP sites

From: squidrunner support <squidrunner_dev@dont-contact.us>
Date: Thu, 26 May 2005 07:56:33 -0700 (PDT)

>
> #acl ip_sites url_regex ^http://[^/]\.[0.9]+(/|$)
>
> and
>
> acl ip_sites dstdom_regex ip_based
> ^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$
>
> http_access deny ip_sites

If you use dstdom* acl, then squid will reverse lookup
on that domain. You can use url_regex acl itself as,

acl ip_sites url_regex
^http://[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}/

hth.

==================================================
Best Regards,
Squid Runner Support
squidrunner_dev at yahoo dot com

Web: http://geocities.com/squidrunner_dev/
Support: runnersupport at gmail dot com

SquidRunner - An Automatic Squid Builder
==================================================

                
__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new Resources site
http://smallbusiness.yahoo.com/resources/
Received on Thu May 26 2005 - 08:56:35 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Jun 01 2005 - 12:00:03 MDT