我已成功启动了tor和privoxy。但是当我来到页面测试时,它总是说" Privoxy没有被使用"
我按照问题4.10和#34的回答; 如何将Privoxy与Tor一起使用?"在page,但失败了。
我正在使用CentOS7并使用 Wget 来获取测试页http://config.privoxy.org/show-status。
任何帮助都会非常感激!
这是我在命令行中输入的内容:
(myapp)[hadoop@kaiyuandao myapp]$ sudo service privoxy start
/etc/init.d/privoxy: line 97: kill: (24849) - No such process
Starting Privoxy, OK.
(myapp)[hadoop@kaiyuandao myapp]$ sudo service tor start
Starting tor...done.
(myapp)[hadoop@kaiyuandao myapp]$ wget http://config.privoxy.org/show-status
--2015-09-08 05:43:08-- http://config.privoxy.org/show-status
Resolving config.privoxy.org (config.privoxy.org)... 198.199.92.59, 162.243.226.87
Connecting to config.privoxy.org (config.privoxy.org)|198.199.92.59|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://privoxy.org/config/show-status [following]
--2015-09-08 05:43:08-- http://privoxy.org/config/show-status
Resolving privoxy.org (privoxy.org)... 216.34.181.97
Connecting to privoxy.org (privoxy.org)|216.34.181.97|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://www.privoxy.org/config/ [following]
--2015-09-08 05:43:09-- http://www.privoxy.org/config/
Resolving www.privoxy.org (www.privoxy.org)... 216.34.181.97
Reusing existing connection to privoxy.org:80.
HTTP request sent, awaiting response... 200 OK
Length: 3832 (3.7K) [text/html]
Saving to: ?.how-status.1?
100%[=======================================================================================================>] 3,832 --.-K/s in 0s
2015-09-08 05:43:09 (82.2 MB/s) - ?.how-status.1?.saved [3832/3832]
(myapp)[hadoop@kaiyuandao myapp]$ vi show-status
,这是我从测试页面获得的内容
Privoxy is not being used
The fact that you are reading this page shows that Privoxy was not used in the process of accessing it. Had the request been made through Privoxy, it would have been intercepted and you would be looking at Privoxy's web-based user interface now.
So what went wrong? Chances are (in this order) that:
this page is in your browser's cache. You've once been here before starting to use Privoxy, and now your browser thinks that it already knows the content of this page. Hence it doesn't request a fresh copy.
Force your browser to do that. With most browsers, clicking "reload" while holding down the shift key (shift-reloading) should suffice, but you might need to manually clear the browser's cache (both memory and disk cache).
your browser is not set up to use Privoxy.
Check your browser's proxy settings and make sure that it uses 127.0.0.1, port 8118 (or, if you did a custom configuration, whatever different values you used).
when using multiple proxies in a chain, that either the chain is broken at some point before Privoxy, or that an earlier proxy serves this page from its cache.
Shift-reload, clear all caches, and if the problem still persists, trace the proxy chain starting with your browser's settings. Please refer to the forwarding chapter of the user manual for details.
Until version 2.9.13, Privoxy was also known as Internet Junkbuster. If you recently upgraded, then the web-based interface has moved - it is now at http://config.privoxy.org/ (Short form: p.p [Privoxy Proxy]).
If you have read the user manual and still have trouble, feel free to submit a support request to get help.
答案 0 :(得分:0)
我的主要问题是我忘了设置http代理。
由于我使用 wget 来获取网页,因此我更改了 / etc / wgetrc 并设置了 http_proxy = 127.0.0.1 。
FYI