huaxing211 发表于 2017-6-10 20:23:54

如何有效的阻止或拒绝扫描?

access.log好多这样的记录,这是在扫描代理么?
如何有效的阻止或拒绝扫描?

36.2.128.105 - - "CONNECT 182.22.12.249:25 HTTP/1.0" 400 166 "-" "-"
119.240.146.161 - - "CONNECT 183.79.16.246:25 HTTP/1.0" 400 166 "-" "-"
119.240.146.161 - - "CONNECT 182.22.12.119:25 HTTP/1.0" 400 166 "-" "-"
36.2.128.63 - - "CONNECT 182.22.12.117:25 HTTP/1.0" 400 166 "-" "-"
124.110.81.16 - - "CONNECT 182.22.12.118:25 HTTP/1.0" 400 166 "-" "-"
119.240.146.161 - - "CONNECT 183.79.16.119:25 HTTP/1.0" 400 166 "-" "-"
119.240.146.161 - - "CONNECT 182.22.12.117:25 HTTP/1.0" 400 166 "-" "-"
153.221.205.11 - - "CONNECT 183.79.16.249:25 HTTP/1.0" 400 166 "-" "-"
162.243.83.193 - - "CONNECT www.facebook.com:443 HTTP/1.1" 400 166 "-" "-"
59.110.15.31 - - "CONNECT myip.ipip.net:443 HTTP/1.1" 400 166 "-" "-"
124.110.81.7 - - "CONNECT 182.22.12.117:25 HTTP/1.0" 400 166 "-" "-"
124.110.81.250 - - "CONNECT 183.79.16.116:25 HTTP/1.0" 400 166 "-" "-"

licess 发表于 2017-6-10 20:47:28

这就是检查是否支持https代理的爬虫留下的访问日志
早就给你都400了,也不需要处理

huaxing211 发表于 2017-6-10 23:11:56

回复 2# 的帖子

哦哦,好的,谢谢军哥啦!
页: [1]
查看完整版本: 如何有效的阻止或拒绝扫描?