Search squid archive

Re: http request header must use hostname

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

 



I would make it a more accurate regex which requires start and end line matching and max size of the number like: acl numeric_IPs dstdom_regex ^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$

It will match more the exact real IP addresses but it will work.

Eliezer

On 06/12/2015 12:07, Yuri Voinov wrote:
# Numeric IP's acl
acl numeric_IPs dstdom_regex [0-9]+\.[0-9]+\.[0-9]+\.[0-9]+

# Deny access to numeric IP's
http_access deny CONNECT numeric_IPs
deny_info TCP_RESET numeric_IPs

_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users




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

  Powered by Linux