Search squid archive

RE: [squid-users] Blocking all IP sites

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 
> #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/

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux