• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

[gelöst] SuSE 10.0 Problem mit Privoxy und Tor

Hallo,

ich fang mal von vorne an,

ich hatte Privoxy und Tor über Apt-Synaptic installiert und danach ldconfig und SuSEconfig von Hand ausgeführt weil das apt in der 64 bit Version eigensinniger weise nicht macht.

Danach nach den in den Foren stehenden Beschreibungen /etc/tor/torrc.sambel in torrc umbenant

und in /var/lib/privoxy/etc in config 1.6 bei „jarfile jarfile“ ein # und ein Leerzeichen voran gestellt.

und bei 5.2 „forward-socks4a / localhost:9050 .“ hinzugefügt, das sieht jetzt so aus.

Code:
#  Examples:
#  
#      From the company example.com, direct connections are made to all
#      "internal" domains, but everything outbound goes through their
#      ISP's proxy by way of example.com's corporate SOCKS 4A gateway
#      to the Internet.
#  
#        forward-socks4a   /              socks-gw.example.com:1080   www-cache.example-isp.net:8080 
#        forward           .example.com   .
#  
#      A rule that uses a SOCKS 4 gateway for all destinations but no
#      HTTP parent looks like this:
#  
#        forward-socks4   /               socks-gw.example.com:1080  .
       forward-socks4a   /               localhost:9050  .
#

Dann lief auch alles super.

Ich hatte später im yast den Hostnamen von linux in pc-10 geäntert weil ich mehrere Rechner über Samba vernetze, und Samba gestartet. (jetzt wider zurück in linux)

und meinen Router neu gestartet, seitdem bekomme ich immer Fehler 404.

Ich habe dann Privoxy und Tor auf meiner alten 9.0 mit itentischer Konfiguration installiert da läuft´s super.


Ich weiß jetzt nicht ob der Fehler in Tor od. in Privoxy ist od. gar in denn Tiefen der Suse Config Files liegt.

Mein System läuft an einem Switch nach einem Router Sipura SPA2100 auf dem ein dhcp Sever läuft.

Der Router hat die IP 192.168.0.1 und vergibt von 192.168.0.10 bis 192.168.0.50

Hier mal die /var/lib/privoxy/log/logfile.

Code:
May 12 16:28:36 Privoxy(46912504111008) Info: Privoxy version 3.0.3
May 12 16:28:36 Privoxy(46912504111008) Info: Program name: /usr/sbin/privoxy
May 12 16:28:36 Privoxy(46912504111008) Info: Listening on port 8118 for local connections only
May 12 16:32:07 Privoxy(1075841376) Error: could not resolve hostname localhost
May 12 16:32:27 Privoxy(1075841376) Error: could not resolve hostname localhost
May 12 16:33:03 Privoxy(1075841376) Error: could not resolve hostname localhost
May 12 16:33:23 Privoxy(1075841376) Error: could not resolve hostname localhost
May 12 16:35:37 Privoxy(1075841376) Error: could not resolve hostname localhost
May 12 16:35:40 Privoxy(1075841376) Error: could not resolve hostname localhost
May 12 16:35:42 Privoxy(1075841376) Error: could not resolve hostname localhost
May 12 16:39:32 Privoxy(1075841376) Error: could not resolve hostname localhost
May 12 16:41:33 Privoxy(1075841376) Error: could not resolve hostname localhost
May 12 16:46:32 Privoxy(1075841376) Error: could not resolve hostname localhost
May 12 16:46:40 Privoxy(1075841376) Error: could not resolve hostname localhost
May 12 16:47:37 Privoxy(1075841376) Error: could not resolve hostname localhost
May 12 16:47:39 Privoxy(1075841376) Error: could not resolve hostname localhost
May 12 16:47:40 Privoxy(1075841376) Error: could not resolve hostname localhost
May 12 16:51:14 Privoxy(46912504111008) Info: exiting by signal 15 .. bye
May 12 16:52:14 Privoxy(46912504111008) Info: Privoxy version 3.0.3
May 12 16:52:14 Privoxy(46912504111008) Info: Program name: /usr/sbin/privoxy
May 12 16:52:14 Privoxy(46912504111008) Info: Listening on port 8118 for local connections only
May 12 16:52:58 Privoxy(1082132832) Error: could not resolve hostname localhost
May 12 16:53:09 Privoxy(1082132832) Error: could not resolve hostname localhost
May 12 16:53:11 Privoxy(1082132832) Error: could not resolve hostname localhost
May 12 16:53:35 Privoxy(46912504111008) Info: exiting by signal 15 .. bye
May 12 17:17:21 Privoxy(46912504111008) Info: Privoxy version 3.0.3
May 12 17:17:21 Privoxy(46912504111008) Info: Program name: /usr/sbin/privoxy
May 12 17:17:21 Privoxy(46912504111008) Info: Listening on port 8118 for local connections only
May 12 17:18:08 Privoxy(1082132832) Error: could not resolve hostname localhost
May 12 17:18:45 Privoxy(1082132832) Error: could not resolve hostname localhost
May 12 17:19:09 Privoxy(1082132832) Error: could not resolve hostname localhost
May 12 17:22:38 Privoxy(1082132832) Error: could not resolve hostname localhost
May 12 17:44:46 Privoxy(46912504111008) Info: exiting by signal 15 .. bye

Hm er findet also den localhost nicht?

Die /var/lib/privoxy/etc/hosts
Code:
#
# hosts         This file describes a number of hostname-to-address
#               mappings for the TCP/IP subsystem.  It is mostly
#               used at boot time, when no name servers are running.
#               On small systems, this file can be used instead of a
#               "named" name server.
# Syntax:
#    
# IP-Address  Full-Qualified-Hostname  Short-Hostname
#

127.0.0.1       localhost

# special IPv6 addresses
::1             localhost ipv6-localhost ipv6-loopback

fe00::0         ipv6-localnet

ff00::0         ipv6-mcastprefix
ff02::1         ipv6-allnodes
ff02::2         ipv6-allrouters
ff02::3         ipv6-allhosts
127.0.0.2       linux.local linux
Die /var/lib/privoxy/etc/resolv.conf
Code:
### BEGIN INFO
#
# Modified_by:  dhcpcd
# Backup:       /etc/resolv.conf.saved.by.dhcpcd.eth0
# Process:      dhcpcd
# Process_id:   4883
# Script:       /sbin/modify_resolvconf
# Saveto:       
# Info:         This is a temporary resolv.conf created by service dhcpcd.
#               The previous file has been saved and will be restored later.
#               
#               If you don't like your resolv.conf to be changed, you
#               can set MODIFY_{RESOLV,NAMED}_CONF_DYNAMICALLY=no. This
#               variables are placed in /etc/sysconfig/network/config.
#               
#               You can also configure service dhcpcd not to modify it.
#               
#               If you don't like dhcpcd to change your nameserver
#               settings
#               then either set DHCLIENT_MODIFY_RESOLV_CONF=no
#               in /etc/sysconfig/network/dhcp, or
#               set MODIFY_RESOLV_CONF_DYNAMICALLY=no in
#               /etc/sysconfig/network/config or (manually) use dhcpcd
#               with -R.  If you only want to keep your searchlist, set
#               DHCLIENT_KEEP_SEARCHLIST=yes in /etc/sysconfig/network/dhcp or
#               (manually) use the -K option.
#
### END INFO
#
search local
nameserver 217.237.149.225
nameserver 217.237.150.188
Das eigenartige ist das wenn Privoxy und Tor Laufen und ich in einem auf einen http://localhost:8118 eingestellten Browser eine Webadresse eingebe dann blinkt der Switch also greift er ja auf das Web zu dann kommt aber der 404.
ich habe auch mal die Suse Firewall abgeschltet aber ohne Erfolg.

Vielleicht kann ja doch jemand helfen

Danke schonmal.
 
OP
M

max

Privoxy läuft jetzt wenn ich

Code:
forward-socks4a   /                localhost:9050  .

durch

Code:
forward-socks4a   /                127.0.0.1:9050  .

ersetze.

Da ich meine SuSe gern verstehen möchte were es schön wenn vielleicht Jemand erklären könnte warum das so ist.
 
Oben