[squid-users] http request header must use hostname

Yuri Voinov yvoinov at gmail.com
Sun Dec 6 10:07:48 UTC 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
 
# 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


06.12.15 8:45, xxiao8 пишет:
> is it possible to enforce all http requests must use non-IP for the destination, i.e. dns/hostname.
>
> for example: http://www.google.com will be fine, but http://some-IP
will not.
>
> Thanks,
> xxiao
>
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
 
iQEcBAEBCAAGBQJWZAj0AAoJENNXIZxhPexGQTsH/jRjgc6Eo+zSDFnCKybq/wvw
w7p17tjH15OIMg0K2KeHci2JP+EVh6oi6SmBw/F6tl3siD1kuat01aCMFtATCLwu
OTTXrPUZXyUp/m7hv2VSLyeIrK+pQEkY9v4Co5KRRdXcDhNb/4WiyCqcTAcd5m57
vB5EU48HB/nJdMkZi+QnTDtpboXvsu+t2r1w/YPEj5Mz4Ah5MRkmjmjtTlggPr/H
7LsZSfttNP3cq5jVLkRQqJEiPdO5BGqeqAH4i/dxV7PNIX//v2SwBHf/qS+bU3VN
4ITGxarFz0hdVMCgZBEZa+3yQwF8D9yE+3cqPyV569doH0dljU+/szdrWdRr1nU=
=32ma
-----END PGP SIGNATURE-----



More information about the squid-users mailing list