FB18 - Das Forum für Informatik

fb18.de / Off-Topic / Hard- und Softwarefragen

tsocks mit MacOS 10.5

tsocks mit MacOS 10.5 2007-12-17 12:52
JimiHendrix
Hey,
ich hab mir tsocks für MacOSX über MacPort installiert, korrekt konfiguriert und ssh ebenfalls korrekt gestartet. Wenn ich nun ein Programm mit einer IP Adresse aufrufe, z.B. "tsocks telnet 72.14.221.104 80" (Also google.de:80), dann funktioniert das über tsocks ohne Probleme. Wenn ich jedoch einen Hostname eingebe, also "tsocks telnet google.de 80", dann kann die Adresse nicht aufgelöst werden.
Weiß da jemand Rat?

RE: tsocks mit MacOS 10.5 2007-12-17 13:28
Satta
Aus der tsocks-Manpage:

DNS ISSUES
tsocks will normally not be able to send DNS queries through a SOCKS server since SOCKS V4 works on TCP and DNS normally uses UDP. Version 1.5 and up do however provide a method to force DNS lookups to use TCP, which then makes them proxyable. This option can only enabled at compile time, please consult the INSTALL file for more information.

Da also per default keine Namensaufloesung ueber tsocks funktioniert, wirst du wohl da ran muessen (oder Dir einen anderen Ansatz ueberlegen ;))

Habe aber selbst auch noch nicht soviel mit tsocks gemacht, vielleicht weiss jemand anders weiter

RE: tsocks mit MacOS 10.5 2007-12-17 22:51
Muelli
Also SOCKS selber macht nur TCP Streams. Das ist das PRoblem von Tor, dass DNS Queries leaken.
SOCKS 4a nimmt auch Hostnamen entgegen, die dann von SOCKS aufgeloest werden. Muss man halt aufpassen…

RE: tsocks mit MacOS 10.5 2007-12-18 11:16
Hannes
DNS ISSUES
tsocks will normally not be able to send DNS queries through a SOCKS server since SOCKS V4 works on TCP and DNS normally uses UDP. Version 1.5 and up do however provide a method to force DNS lookups to use TCP, which then makes them proxyable. This option can only enabled at compile time, please consult the INSTALL file for more information.

kann das der Grund sein, warum Firefox über tsocks so unheimlich lahm ist (gerade dns-requests scheinen ewig zu dauern)?