【原创】linux ubuntu12.04&n…

来源:互联网 发布:开淘宝店怎么代销不了 编辑:程序博客网 时间:2024/06/05 13:24
基础代理设置
sudo apt-get install squid3 #安装squid
squid3 #服务直接启动
高度匿名代理需要在配置文件(sudo vi/etc/squid3/squid.cof)中添加如下:
Squid 2.x
header_access Via deny all
header_access X-Forwarded-For deny all

Squid 3.0
reply_header_access Via deny all
reply_header_access X-Forwarded-For deny all

Squid 3.1
via off
forwarded_for delete

sudo service squid3 restart #重新启动squid3
squid3 -v #查看version
Squid Cache: Version 3.1.19
检测是否使用代理的网站:Proxy Checker - AnyonymityTest http://www.iprivacytools.com/proxy-checker-anonymity-test/

PROXY CHECKER  (Anonymity Analysis):

YourIP address and hostname: 124.207.145.178 (124.207.145.178)

Hereare your headers that could reveal a proxy:

  • HTTP_VIA: anonymous/ none
  • HTTP_X_FORWARDED_FOR: anonymous/ none
  • HTTP_FORWARDED_FOR: anonymous/ none
  • HTTP_X_FORWARDED: anonymous/ none
  • HTTP_FORWARDED: anonymous/ none
  • HTTP_CLIENT_IP: anonymous/ none
  • HTTP_FORWARDED_FOR_IP: anonymous/ none
  • VIA: anonymous/ none
  • X_FORWARDED_FOR: anonymous/ none
  • FORWARDED_FOR: anonymous/ none
  • X_FORWARDED: anonymous/ none
  • FORWARDED: anonymous/ none
  • CLIENT_IP: anonymous/ none
  • FORWARDED_FOR_IP: anonymous/ none
  • HTTP_PROXY_CONNECTION: anonymous/ none

Proxydetected? NO  (So you're either not using a proxy, or it's highly anonymous)


PROXY CHECKER  (Anonymity Analysis):

YourIP address and hostname: 124.207.145.178 (124.207.145.178)

Hereare your headers that could reveal a proxy:

  • HTTP_VIA: 1.1localhost (squid/3.1.19)
  • HTTP_X_FORWARDED_FOR: 127.0.0.1
  • HTTP_FORWARDED_FOR: anonymous/ none
  • HTTP_X_FORWARDED: anonymous/ none
  • HTTP_FORWARDED: anonymous/ none
  • HTTP_CLIENT_IP: anonymous/ none
  • HTTP_FORWARDED_FOR_IP: anonymous/ none
  • VIA: anonymous/ none
  • X_FORWARDED_FOR: anonymous/ none
  • FORWARDED_FOR: anonymous/ none
  • X_FORWARDED: anonymous/ none
  • FORWARDED: anonymous/ none
  • CLIENT_IP: anonymous/ none
  • FORWARDED_FOR_IP: anonymous/ none
  • HTTP_PROXY_CONNECTION: anonymous/ none

Proxydetected? YES

Here'show we know:

  1. Your HTTP_VIA header shows: 1.1localhost (squid/3.1.19)
  2. Your HTTP_X_FORWARDED_FOR headershows: 127.0.0.1
参考:
《squid设置匿名代理,隐藏hearder》
《配置SQUID为高度匿名代理,隐藏真实IP》
0 0
原创粉丝点击