Трафик через Tor сервер
Добавлено: 2015-11-24 18:13:37
Кто может подсказать, как весь трафик от локального хоста пустить через свой Тор сервер? То есть что б даже пинг с локального хоста например на google.com ишол через Тор сервер...
Раз не осталось живых, значит мертвые — Встать!
https://forum.lissyara.su/
http://defec.ru/torrify_freebsd/andrian_freebsd писал(а):Кто может подсказать, как весь трафик от локального хоста пустить через свой Тор сервер? То есть что б даже пинг с локального хоста например на google.com ишол через Тор сервер...
proxychains умеет заворачивать трафик в Tor.xM писал(а):Пинг никак ибо он ICMP
Код: Выделить всё
gmake[2]: Entering directory '/usr/ports/security/tor/work/tor-0.2.6.10'
gmake all-am
gmake[3]: Entering directory '/usr/ports/security/tor/work/tor-0.2.6.10'
CCLD src/or/tor
CCLD src/tools/tor-resolve
CCLD src/tools/tor-gencert
CCLD src/test/bench
/usr/bin/ld: attempted static link of dynamic object `/usr/local/lib/libtcmalloc.so'
/usr/bin/ld: attempted static link ofcc : derroryn: amlinker command failed with exit code 1 (use -v to see invocation)i
c object `/usr/local/lib/libtcmalloc.so'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
Makefile:2622: recipe for target 'src/tools/tor-resolve' failed
gmake[3]: *** [src/tools/tor-resolve] Error 1
gmake[3]: *** Waiting for unfinished jobs....
Makefile:2429: recipe for target 'src/or/tor' failed
gmake[3]: *** [src/or/tor] Error 1
CCLD src/test/test
CCLD src/test/test-slow
/usr/bin/ld: attempted static link of dynamic object `/usr/local/lib/libtcmalloc.so'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
Makefile:2616: recipe for target 'src/tools/tor-gencert' failed
gmake[3]: *** [src/tools/tor-gencert] Error 1
/usr/bin/ld: attempted static link of dynamic object `/usr/local/lib/libtcmalloc.so'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
Makefile:2447: recipe for target 'src/test/bench' failed
gmake[3]: *** [src/test/bench] Error 1
/usr/bin/ld: attempted static link of dynamic object `/usr/local/lib/libtcmalloc.so'
/usr/bin/ld: attempted static link of dynamic object `/usr/local/lib/libtcmalloc.so'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
cc: error: linker command failed with exit code 1 (use -v to see invocation)
Makefile:2573: recipe for target 'src/test/test-slow' failed
gmake[3]: *** [src/test/test-slow] Error 1
Makefile:2541: recipe for target 'src/test/test' failed
gmake[3]: *** [src/test/test] Error 1
gmake[3]: Leaving directory '/usr/ports/security/tor/work/tor-0.2.6.10'
Makefile:1688: recipe for target 'all' failed
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory '/usr/ports/security/tor/work/tor-0.2.6.10'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/security/tor
*** Error code 1
А зачем статически линковать?NplmSunrise писал(а):Здраствуйте.А у меня ошибка при компиляции тора:Подскажите что делать?Пожалуйста.Код: Выделить всё
gmake[2]: Entering directory '/usr/ports/security/tor/work/tor-0.2.6.10' gmake all-am gmake[3]: Entering directory '/usr/ports/security/tor/work/tor-0.2.6.10' CCLD src/or/tor CCLD src/tools/tor-resolve CCLD src/tools/tor-gencert CCLD src/test/bench /usr/bin/ld: attempted static link of dynamic object `/usr/local/lib/libtcmalloc.so' /usr/bin/ld: attempted static link ofcc : derroryn: amlinker command failed with exit code 1 (use -v to see invocation)i ...
Код: Выделить всё
cd /usr/ports/security/tor
make configКод: Выделить всё
Script started on Thu Nov 26 00:07:49 2015
root@:~ # tor
Nov 26 00:07:53.179 [notice] Tor v0.2.6.7 (git-9ccf019b168909ef) running on FreeBSD with Libevent 2.0.22-stable, OpenSSL 1.0.1p-freebsd and Zlib 1.2.8.
Nov 26 00:07:53.179 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning
Nov 26 00:07:53.179 [notice] Read configuration file "/usr/local/etc/tor/torrc".
Nov 26 00:07:53.188 [notice] Opening Socks listener on 127.0.0.1:9050
Nov 26 00:07:53.000 [notice] Parsing GEOIP IPv4 file /usr/local/share/tor/geoip.
Nov 26 00:07:53.000 [notice] Parsing GEOIP IPv6 file /usr/local/share/tor/geoip6.
Nov 26 00:07:53.000 [warn] You are running Tor as root. You don't need to, and you probably shouldn't.
Nov 26 00:07:53.000 [notice] We were built to run on a 64-bit CPU, with OpenSSL 1.0.1 or later, but with a version of OpenSSL that apparently lacks accelerated support for the NIST P-224 and P-256 groups. Building openssl with such support (using the enable-ec_nistp_64_gcc_128 option when configuring it) would make ECDH much faster.
Nov 26 00:07:53.000 [notice] Bootstrapped 0%: Starting
Nov 26 00:07:53.000 [notice] Bootstrapped 80%: Connecting to the Tor network
Nov 26 00:07:54.000 [notice] Bootstrapped 85%: Finishing handshake with first hop
Nov 26 00:07:55.000 [notice] Bootstrapped 90%: Establishing a Tor circuit
Nov 26 00:07:56.000 [notice] Tor has successfully opened a circuit. Looks like client functionality is working.
Nov 26 00:07:56.000 [notice] Bootstrapped 100%: DoneСпасибо за отзыв, пока изучаю.mr.fr писал(а):http://defec.ru/torrify_freebsd/andrian_freebsd писал(а):Кто может подсказать, как весь трафик от локального хоста пустить через свой Тор сервер? То есть что б даже пинг с локального хоста например на google.com ишол через Тор сервер...
Там довольно хорошо все описано.proxychains умеет заворачивать трафик в Tor.xM писал(а):Пинг никак ибо он ICMP
Моя не внимательность, прошу прощения. Спасибо за уточнение. Можно воспользоваться другим софтом. Например hping'ом, который умеет "пинговать" используя TCP протокол:)