LINUX.ORG.RU

Tor bridges

 , ,


0

1

Привет! Заранее извиняюсь за свой некомпетентный вопрос. Я новичок в Тор. Настроил torrc на ubuntu 18.04 в директории /etc/tor/torrc таким образом

UseBridges 1 

Bridge obfs4 ip:port unique identifier of the bridge 
Bridge obfs4 ip:port unique identifier of the bridge 
Bridge obfs4 ip:port unique identifier of the bridge 

ClientTransportPlugin obfs4 exec /usr/bin/obfs4proxy

Лог при старте

 Nov 21 06:27:00.109 [notice] Tor 0.3.2.10 (git-0edaa32732ec8930) running on Linux with Libevent 2.1.8-stable, OpenSSL 1.1.0g, Zlib 1.2.11, Liblzma 5.2.2, and Libzstd 1.3.3.
Nov 21 06:27:00.109 [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 21 06:27:00.109 [notice] Read configuration file "/etc/tor/torrc".
Nov 21 06:27:00.114 [notice] Scheduler type KIST has been enabled.
Nov 21 06:27:00.114 [notice] Opening Socks listener on 127.0.0.1:9050
Nov 21 06:27:00.000 [notice] Parsing GEOIP IPv4 file /usr/share/tor/geoip.
Nov 21 06:27:00.000 [notice] Parsing GEOIP IPv6 file /usr/share/tor/geoip6.
Nov 21 06:27:00.000 [notice] Bootstrapped 0%: Starting
Nov 21 06:27:01.000 [notice] Starting with guard context "bridges"
Nov 21 06:27:01.000 [notice] Bridge 'maenad' has both an IPv4 and an IPv6 address.  Will prefer using its IPv4 address (xxx.xxx.xxx.xxx) based on the configured Bridge address.
Nov 21 06:27:01.000 [notice] new bridge descriptor 'maenad' (cached): $xxxxxxxxxxxxxxxxxxxxxxxx~maenad at xxx.xxx.xxx.xxx
Nov 21 06:27:01.000 [notice] new bridge descriptor 'Unnamed' (cached): $xxxxxxxxxxxxxxxxxxxxxxxx~Unnamed at xxx.xxx.xxx.xxx
Nov 21 06:27:01.000 [notice] Delaying directory fetches: Pluggable transport proxies still configuring
Nov 21 06:27:02.000 [notice] Bootstrapped 80%: Connecting to the Tor network
Nov 21 06:27:02.000 [notice] Bootstrapped 85%: Finishing handshake with first hop
Nov 21 06:27:02.000 [warn] Proxy Client: unable to connect to xxx.xxx.xxx.xxx ("general SOCKS server failure")
Nov 21 06:27:03.000 [notice] Bridge 'maenad' has both an IPv4 and an IPv6 address.  Will prefer using its IPv4 address (xxx.xxx.xxx.xxx) based on the configured Bridge address.
Nov 21 06:27:03.000 [warn] Proxy Client: unable to connect to xxx.xxx.xxx.xxx ("general SOCKS server failure")
Nov 21 06:27:03.000 [warn] Proxy Client: unable to connect to xxx.xxx.xxx.xxx ("general SOCKS server failure")
Nov 21 06:27:03.000 [warn] Proxy Client: unable to connect to xxx.xxx.xxx.xxx ("general SOCKS server failure")
Nov 21 06:27:04.000 [notice] Bridge 'maenad' has both an IPv4 and an IPv6 address.  Will prefer using its IPv4 address (xxx.xxx.xxx.xxx) based on the configured Bridge address.

При этом если удалить строку из torrc

 ClientTransportPlugin obfs4 exec /usr/bin/obfs4proxy
Nov 21 13:21:49.722 [notice] Tor 0.3.2.10 (git-0edaa32732ec8930) running on Linux with Libevent 2.1.8-stable, OpenSSL 1.1.0g, Zlib 1.2.11, Liblzma 5.2.2, and Libzstd 1.3.3.
Nov 21 13:21:49.722 [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 21 13:21:49.722 [notice] Read configuration file "/etc/tor/torrc".
Nov 21 13:21:49.727 [notice] Scheduler type KIST has been enabled.
Nov 21 13:21:49.727 [notice] Opening Socks listener on 127.0.0.1:9050
Nov 21 13:21:49.000 [notice] Parsing GEOIP IPv4 file /usr/share/tor/geoip.
Nov 21 13:21:49.000 [notice] Parsing GEOIP IPv6 file /usr/share/tor/geoip6.
Nov 21 13:21:50.000 [notice] Bootstrapped 0%: Starting
Nov 21 13:21:50.000 [notice] Starting with guard context "bridges"
Nov 21 13:21:50.000 [notice] Bridge 'maenad' has both an IPv4 and an IPv6 address.  Will prefer using its IPv4 address (192.81.135.242:9003) based on the configured Bridge address.
Nov 21 13:21:50.000 [notice] new bridge descriptor 'maenad' (cached): $xxxxxxxxxxxxxxxxxxxxxxxx7~maenad at 192.81.135.242
Nov 21 13:21:50.000 [notice] new bridge descriptor 'Unnamed' (cached): $xxxxxxxxxxxxxxxxxxxxxxxx~Unnamed at 104.168.175.42
Nov 21 13:21:50.000 [notice] Bootstrapped 80%: Connecting to the Tor network
Nov 21 13:21:50.000 [notice] Ignoring directory request, since no bridge nodes are available yet.
Nov 21 13:21:51.000 [notice] Bootstrapped 85%: Finishing handshake with first hop
Nov 21 13:21:51.000 [notice] Bridge 'maenad' has both an IPv4 and an IPv6 address.  Will prefer using its IPv4 address (xxx.xxx.xxx.xxx) based on the configured Bridge address.
Nov 21 13:21:52.000 [notice] Bridge 'maenad' has both an IPv4 and an IPv6 address.  Will prefer using its IPv4 address (xxx.xxx.xxx.xxx) based on the configured Bridge address.
Nov 21 13:21:52.000 [notice] new bridge descriptor 'maenad' (fresh): $xxxxxxxxxxxxxxxxxxxxxxxx~maenad at 192.81.135.242
Nov 21 13:21:52.000 [notice] Bootstrapped 90%: Establishing a Tor circuit
Nov 21 13:21:53.000 [notice] new bridge descriptor 'Unnamed' (fresh): $xxxxxxxxxxxxxxxxxxxxxxxx~Unnamed at 104.168.175.42
Nov 21 13:21:54.000 [notice] Tor has successfully opened a circuit. Looks like client functionality is working.
Nov 21 13:21:54.000 [notice] Bootstrapped 100%: Done 

Вопрос: является ли настойка без данной строки правильной?

Ответ на: комментарий от Deniskx

Да у меня также выглядит конфиг. Получит новые мосты, отключил ufw, iptables по дефолту. Систему апгрейднул. Результат такой же :( Думал попробовать с meek но получить мосты meek я не знаю как :(

ekxxxz ()
Ответ на: комментарий от ekxxxz

получить мосты meek я не знаю как

meek мосты получать не надо, их адреса встроены в тор браузер (tor-browser/Browser/TorBrowser/Data/Browser/profile.default/preferences/extension-overrides.js)
Это публичные облачные сервисы, суть в том, что они используются на многих сайтах и у провайдеров кишка тонка их заблокировать, не нарушив много нужного.
meek мосты, да и обычные мосты лучше не перегружать без необходимости, если работает и так. Так как они для тех, у кого провайдер блочит тор и нет другого выхода.

Deniskx ()
Ответ на: комментарий от ekxxxz

А что за страна, провайдер? Казахстан, Белоруссия или работодатель блочит? Может поэтому obfs4proxy не работает, а на obfs3 забили. Кстати obfs3 на python, я его не пробовал запускать без тор браузера, даже не знаю тонкостей запуска.

Deniskx ()