不能通过从privoxystream量到ziproxy

为了节省一些带宽,我决定在Debian Lenny VPS上设置一个privoxy和ziproxy包。

这个想法是让privoxy只能从本地主机访问,并把ziproxy放在它后面压缩输出和接受连接,因为它支持密码authentication不像privoxy,我不想运行一个免费的所有代理

但他们似乎并没有为我一起工作。 他们每个单独工作就好,但是当我试图链接他们添加

NextProxy = "127.0.0.1" NextPort = 8118 

到ziproxyconfiguration,ziproxy开始显示错误404。

完整的configuration如下所示:

Ziproxy

 Port = 100500 Address = "0.0.0.0" NextProxy = "127.0.0.1" NextPort = 8118 AccessLogFileName = "/var/log/ziproxy/access.log" PasswdFile="/etc/ziproxy/http.passwd" UseContentLength = false Compressible = { "shockwave", "msword", "msexcel", "mspowerpoint", "rtf", "postscript", "java", "javascript", "staroffice", "vnd.", "futuresplash", "asp", "class", "font", "truetype-font", "php", "cgi", "executable", "shellscript", "perl", "python", "awk", "dvi", "css", "xhtml+xml", "rss+xml", "xml", "pdf", "tar" } ImageQuality = {20,15,15,15} ModifySuffixes = false 

Privoxy的

 user-manual /usr/share/doc/privoxy/user-manual confdir /etc/privoxy logdir /var/log/privoxy actionsfile standard.action # Internal purpose, recommended actionsfile global.action # Global default setting for all sites actionsfile default.action # Main actions file actionsfile user.action # User customizations filterfile default.filter logfile logfile listen-address :8118 toggle 1 enable-remote-toggle 0 enable-remote-http-toggle 0 enable-edit-actions 0 enforce-blocks 0 buffer-limit 4096 forwarded-connect-retries 0 accept-intercepted-requests 1 allow-cgi-request-crunching 0 split-large-forms 0 

我想知道我在这里错过了什么?

当然,他们现在都处于瘫痪状态,当然当他们开始合作的时候,倾听地址是会改变的。

提前致谢!

嗯,我解决了它。

这一切都是ziproxy的错,在Lenny回购的版本是越野车 – 不链接,默认情况下作为根运行。 所以我刚刚更新到挤压,现在它工作得很好。

没有其他应用程序在更新(postfix / dovecot / squirrelmail,韵律,apache和舞者框架)中受到伤害。

不过,对于“严重”的服务器来说这不是一个好的解决方