Questions tagged «squid»

2
如何使Netcat使用现有的HTTP代理
我可以通过直接点击我的Web服务器来访问网页,如下所示: $ echo "GET /sample" | nc web-server 80 This is contents of /sample... $ 现在,我希望netcat通过Squid HTTP代理(侦听端口3128),就像我可以通过其代理首选项配置Firefox浏览器并使其通过HTTP代理一样。 我尝试了以下操作,但没有成功: $ echo "GET /sample" | nc -x squid-proxy:3128 web-server 80 <Seemed to be blocked FOREVER on input, so I killed it.> <Ctrl-C> $ 注意:我正在使用具有以下选项的RHEL 5.3版本的netcat: $ nc --help nc: invalid option -- …
11 proxy  squid  netcat 

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.