Tidak dapat memulai Privoxy

2

Saya tidak dapat memulai Privoxy karena beberapa alasan:

layanan privoxy mulai

akan menampilkan

Job for privoxy.service failed because the control process exited with error code.
See "systemctl status privoxy.service" and "journalctl -xe" for details.

status 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'

Log:

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
Zodiac
sumber
1
Ini lebih merupakan pertanyaan linux daripada Keamanan Informasi ...
Apa yang ada di file log privoxy? Lihat direktori yang dirujuk oleh logdir arahkan dalam file konfigurasi privoxy, dan tambahkan konten ke pertanyaan Anda.
Flup
memperbarui pertanyaan
Zodiac
Periksalah listen-address baris file konfigurasi, dan coba ubah ke listen-address 192.168.0.1:8118 (ganti dengan alamat IP mesin Anda diikuti oleh :8118 ).
Flup
Baik. Sekarang terhubung tetapi saya tidak bisa online. Saya tidak punya log baru. status layanan privoxy mengatakan berfungsi
Zodiac

Jawaban:

2

Masalah Anda adalah bahwa Privoxy berusaha mengikat ke alamat loopback IPv6; untuk beberapa alasan tidak dapat melakukan ini. Bahkan jika itu berhasil, Anda tidak akan dapat terhubung dengannya dengan cara apa pun selain alamat itu.

Dengan pengaturan listen-address ke alamat IP sistem Anda, Privoxy telah diperintahkan untuk mendengarkan alamat itu sehingga Anda dapat menyambungkannya dari mesin lain.

Ini sangat penting bahwa Anda sekarang memeriksa bahwa sistem yang tidak sah - khususnya yang ada di Internet terbuka - dicegah untuk terhubung ke instance Privoxy Anda dengan firewall atau cara lain.

Flup
sumber