推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
tzp
V2EX  ›  Python

怎么配置 squid 对于 connect 访问定向

  •  
  •   tzp · Aug 6, 2016 · 1831 views
    This topic created in 3596 days ago, the information mentioned may be changed or developed.

    怎么配置 squid 对于 connect 访问定向

    例如: connect www.baidu.com:443 [例子] ***(会有其它东西) www.2bbaidu.com [例子] HTTP/1.1\r\n 到 squid 代理服务器

    代理服务器会用 www.2bbaidu.com 帮我们去访问而不会使用 www.baidu.com 呢?

    A :客户端
    B : squid 代理服务器
    C :源服务器

    A 发送 connect 请求到 B---> B 根据 A 的 connect 请求内容 [例子] ,向 C 发送 www.2bbaidu.com [例子] .--->C 根据 B 的请求返回相应内容--->B 再将内容返回 A.

    查了下可以用 python,但自己不会这个,只会点 C 语言。 这有个例子: http://ju.outofmemory.cn/entry/94190

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   6016 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 06:33 · PVG 14:33 · LAX 23:33 · JFK 02:33
    ♥ Do have faith in what you're doing.