Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

找到的都是透明IP #157

Open
cp2296328845 opened this issue Mar 20, 2019 · 1 comment
Open

找到的都是透明IP #157

cp2296328845 opened this issue Mar 20, 2019 · 1 comment

Comments

@cp2296328845
Copy link

按照readme里面操作,发现只有type=2的时候(透明IP),有IP显示,而且部分IP不可用。添加了免费的IP提供的网页后,依然都是这样。请问一下,这样的话,应该如何解决?继续添加免费IP提供网址吗?然后,可能是因为我是小白一个,没找到IP的高匿判断在哪?

@cb0207
Copy link

cb0207 commented May 8, 2019

判断高匿类型在validator.py 里面的 _checkHttpProxy 方法。
用阿布云的高匿测试了,好像httpbin.org返回的内容跟之前不一样。header里面没有‘Proxy-Connection'字段。所以都判断为透明。我修改为返回的origin只返回代理ip时,为高匿(用阿布云也这效果)。
返回包含自己的ip时,为透明。还有一种情况就是返回一些无关的ip(不是自己也不是代理),暂时先认为匿名吧。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants