On 06.12.2015 11: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

and not to forget IPv6 ...

acl numeric_IPs_ipv4 dstdom_regex [0-9]+\.[0-9]+\.[0-9]+\.[0-9]+

acl numeric_IPs_ipv6 dstdom_regex ([0-9A-Fa-f]+|\:)+[0-9A-Fa-f]+

http_access deny CONNECT numeric_IPs_ipv4
deny_info TCP_RESET numeric_IPs_ipv4

http_access deny CONNECT numeric_IPs_ipv6
deny_info TCP_RESET numeric_IPs_ipv6

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

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

Reply via email to