由于某种原因,我无法启动 Privoxy:
服务 privoxy 启动
将输出
Job for privoxy.service failed because the control process exited with error code.
See "systemctl status privoxy.service" and "journalctl -xe" for details.
systemctl 状态 privoxy.service
● privoxy.service - Privacy enhancing HTTP Proxy
Loaded: loaded (/lib/systemd/system/privoxy.service; disabled; vendor preset:
Active: failed (Result: exit-code) since Mon 2016-09-19 10:50:50 UTC; 11s ago
Docs: man:privoxy(8)
https://www.privoxy.org/user-manual/
Process: 3262 ExecStart=/usr/sbin/privoxy --pidfile $PIDFILE --user $OWNER $CO
Sep 19 10:50:49 kali systemd[1]: Starting Privacy enhancing HTTP Proxy...
Sep 19 10:50:50 kali systemd[1]: privoxy.service: Control process exited, code=e
Sep 19 10:50:50 kali systemd[1]: Failed to start Privacy enhancing HTTP Proxy.
Sep 19 10:50:50 kali systemd[1]: privoxy.service: Unit entered failed state.
Sep 19 10:50:50 kali systemd[1]: privoxy.service: Failed with result 'exit-code'
日志 :
2016-09-19 10:35:05.484 7fe373dd1700 Fatal error: can't bind to ::1:8118: Cannot assign requested address
2016-09-19 10:35:33.272 7f7512246700 Fatal error: can't bind to ::1:8118: Cannot assign requested address
2016-09-19 10:37:58.969 7f6bbc389700 Fatal error: can't bind to ::1:8118: Cannot assign requested address
2016-09-19 10:39:44.995 7f2b8b7ec700 Fatal error: can't bind to ::1:8118: Cannot assign requested address
2016-09-19 10:44:46.947 7fbba1eb3700 Fatal error: can't bind to ::1:8118: Cannot assign requested address
2016-09-19 10:48:51.484 7ff41042d700 Fatal error: can't bind to ::1:8118: Cannot assign requested address
2016-09-19 10:49:50.892 7f567ae44700 Fatal error: can't bind to ::1:8118: Cannot assign requested address
2016-09-19 10:50:49.124 7f49474de700 Fatal error: can't bind to ::1:8118: Cannot assign requested address
2016-09-19 10:55:26.675 7fae40333700 Fatal error: can't bind to ::1:8118: Cannot assign requested address
2016-09-19 11:13:19.510 7f8026d78700 Fatal error: can't bind to ::1:8118: Cannot assign requested address
2016-09-19 11:13:48.943 7f1573db9700 Fatal error: can't bind to ::1:8118: Cannot assign requested address
2016-09-19 11:14:52.538 7fa238a61700 Fatal error: can't bind to ::1:8118: Cannot assign requested address
2016-09-19 12:21:53.148 7fd07ed37700 Fatal error: can't bind to ::1:8118: Cannot assign requested address
2016-09-19 12:27:07.636 7fee46c21700 Fatal error: can't bind to ::1:8118: Cannot assign requested address
2016-09-19 12:48:43.332 7f6130688700 Fatal error: can't bind to ::1:8118: Cannot assign requested address
2016-09-19 14:33:55.284 7f2901d3e700 Fatal error: can't bind to ::1:8118: Cannot assign requested address
2016-09-19 14:34:01.923 7f03e25d8700 Fatal error: can't bind to ::1:8118: Cannot assign requested address
2016-09-19 14:36:46.247 7fa5233a9700 Fatal error: can't bind to ::1:8118: Cannot assign requested address
2016-09-19 15:39:00.351 7f099af89700 Fatal error: can't bind to ::1:8118: Cannot assign requested address
答案1
您的问题是 Privoxy 试图绑定到 IPv6 环回地址;由于某种原因,它无法做到这一点。即使它成功了,您也无法通过除该地址之外的任何方式连接到它。
通过设置listen-address
您的系统的 IP 地址,Privoxy 已被指示监听该地址,以便您可以从另一台机器连接到它。
这是非常重要的您现在检查未经授权的系统(特别是开放互联网上的系统)是否通过防火墙或其他方式阻止连接到您的 Privoxy 实例。