我按照高匿代理配置如下:
request_header_access Via deny all
request_header_access X-Forwarded-For deny all
request_header_access Forwarded deny all
request_header_access Proxy-Connection deny all
request_header_access X-Cache deny all
request_header_access X-Cache-Lookup deny all
reply_header_access Via deny all
reply_header_access X-Cache deny all
reply_header_access X-Cache-Lookup deny all
reply_header_access Proxy-Connection deny all
但是使用curl命令进行分析发现头部信息依旧包含X-Cache和X-Xache-Lookup信息还有via信息,返回信息如下:
$ sudo curl -I -x localhost:6666 http://httpbin.org/ip
HTTP/1.1 200 OK
Server: meinheld/0.6.1
Date: Wed, 29 Nov 2017 03:08:10 GMT
Content-Type: application/json
Access-Control-Allow-Origin: *
Access-Control-Allow-Credentials: true
X-Powered-By: Flask
X-Processed-Time: 0.000948905944824
Content-Length: 33
Via: 1.1 vegur
X-Cache: MISS from szpilman-OptiPlex-3010
X-Cache-Lookup: MISS from szpilman-OptiPlex-3010:6666
Connection: keep-alive
没有起到高匿的效果啊。请问我的配置哪里出了问题,能够详细说明一下么?
Connection参数是否被知晓是爬虫?????
Ubuntu版本:16.04
squid:3.5