[tor]: Socket creation failed: Address family not supported by protocol
Модератор: /dev/random
-
- Сообщения: 2636
- ОС: gentoo fluxbox
[tor]: Socket creation failed: Address family not supported by protocol
Здравия!
В gentoo после последнего обновления tor не запускается, пишет:
[warn] Socket creation failed: Address family not supported by protocol [warn] Failed to parse/validate config: Failed to bind one of the listener ports. [err] Reading config failed--see warnings above.
Что с ним случилось? Раньше с этим конфигом работал.
В gentoo после последнего обновления tor не запускается, пишет:
[warn] Socket creation failed: Address family not supported by protocol [warn] Failed to parse/validate config: Failed to bind one of the listener ports. [err] Reading config failed--see warnings above.
Что с ним случилось? Раньше с этим конфигом работал.
-
- Модератор
- Сообщения: 21046
- Статус: nulla salus bello
- ОС: Debian GNU/Linux
Re: [tor]: Socket creation failed: Address family not supported by protocol
Конфиг-то покажите.
Пишите правильно:
в консоли вку́пе (с чем-либо) в общем вообще | в течение (часа) новичок нюанс по умолчанию | приемлемо проблема пробовать трафик |
-
- Сообщения: 2636
- ОС: gentoo fluxbox
Re: [tor]: Socket creation failed: Address family not supported by protocol
Код: Выделить всё
User tor
PIDFile /run/tor/tor.pid
Log notice syslog
RunAsDaemon 1
DataDirectory /var/lib/tor/data
ORPort 9001
RelayBandwidthRate 100 KBytes # Throttle traffic to 100KB/s (800Kbps)
RelayBandwidthBurst 200 KBytes # But allow bursts up to 200KB (1600Kb)
ContactInfo Spiritus vini <C2H5OH AT spiritus dot vini>
DirPort 9030 # what port to advertise for directory connections
ExitPolicy reject *:* # no exits allowed
-
- Модератор
- Сообщения: 21046
- Статус: nulla salus bello
- ОС: Debian GNU/Linux
Re: [tor]: Socket creation failed: Address family not supported by protocol
Раз gentoo, хорошо бы ещё флаги увидеть. Для tor и глобальные. А может быть, и лог сборки.
Пишите правильно:
в консоли вку́пе (с чем-либо) в общем вообще | в течение (часа) новичок нюанс по умолчанию | приемлемо проблема пробовать трафик |
-
- Сообщения: 2636
- ОС: gentoo fluxbox
Re: [tor]: Socket creation failed: Address family not supported by protocol
Код: Выделить всё
net-vpn/tor
Installed versions: 0.4.5.7^t(11:06:42 27.03.2021)(man seccomp server -caps -doc -libressl -lzma -scrypt -selinux -systemd -test -tor-hardening -zstd)
Глобальные:
USE="bash-completion -bidi -prelude -emboss \
-jack -oss unicode -spell -portaudio -pulseaudio -musicbrainz \
ladspa mtp musepack wmf \
-nas -osc -shorten -oracle -oci8 -directfb -fbcon -svga \
-xosd -openexr -ofx -cjk -migemo -udisks -policykit \
-systemd -consolekit -elogind -infiniband smp -lirc -pda -cddb \
3dnow 3dnowext mmx mmxext popcnt sse sse2 sse3 sse4a \
-fortran -gnome -kde -qt4 -qt5 -motif -kontact -qt3support \
-imap -ipv6 -bluetooth -pcmcia -smartcard -gpm -iee1394 \
-joystick -scanner -snmp -geoip -netboot -netcdf -nis -nntp \
-ldap -clamav -xine -yahoo -yaz jpeg2k -acl -cups \
dri drm opengl vdpau vaapi nvidia"
-
- Модератор
- Сообщения: 21046
- Статус: nulla salus bello
- ОС: Debian GNU/Linux
Re: [tor]: Socket creation failed: Address family not supported by protocol
Пишите правильно:
в консоли вку́пе (с чем-либо) в общем вообще | в течение (часа) новичок нюанс по умолчанию | приемлемо проблема пробовать трафик |
-
- Сообщения: 2636
- ОС: gentoo fluxbox
Re: [tor]: Socket creation failed: Address family not supported by protocol
Всегда так было. Именно в TOR что-то изменилось по этому поводу? У него лично и флага этого нет.
-
- Модератор
- Сообщения: 21046
- Статус: nulla salus bello
- ОС: Debian GNU/Linux
Re: [tor]: Socket creation failed: Address family not supported by protocol
У него-то нет, поэтому он и пытается использовать IPv6. Но в системе (а именно в glibc, насколько я понимаю) поддержки IPv6 нет, отсюда и ошибка. Почитайте доку, должна быть возможность отключить IPv6 в конфиге. Или включите IPv6 глобально, скоро без него совсем жить невозможно станет.
Пишите правильно:
в консоли вку́пе (с чем-либо) в общем вообще | в течение (часа) новичок нюанс по умолчанию | приемлемо проблема пробовать трафик |
-
- Сообщения: 986
- ОС: BSD/LINUX
Re: [tor]: Socket creation failed: Address family not supported by protocol
Это грядущее скоро уже ~15 лет нас настигает!Bizdelnick писал: ↑13.04.2021 21:07Или включите IPv6 глобально, скоро без него совсем жить невозможно станет.
Лет через 60-100 возможно!
Настройка BSD систем
Знание сила, незнание Рабочая сила!
Знание сила, незнание Рабочая сила!
-
- Сообщения: 2636
- ОС: gentoo fluxbox
Re: [tor]: Socket creation failed: Address family not supported by protocol
Какую доку? В каком конфиге? Для ядра в загр. строку ipv6.disable=1 знаю только.Bizdelnick писал: ↑13.04.2021 21:07Почитайте доку, должна быть возможность отключить IPv6 в конфиге.
Это точно? Просто раньше, до 0.4.5, всё работало и так. А тут на тебе...
$ genlop -t net-vpn/tor Sat Nov 14 09:17:06 2020 >>> net-vpn/tor-0.4.4.5 merge time: 1 minute and 40 seconds. Sat Nov 28 11:44:22 2020 >>> net-vpn/tor-0.4.4.6 merge time: 1 minute and 43 seconds. Sat Mar 27 11:06:53 2021 >>> net-vpn/tor-0.4.5.7 merge time: 1 minute and 40 seconds.
-
- Модератор
- Сообщения: 21046
- Статус: nulla salus bello
- ОС: Debian GNU/Linux
Re: [tor]: Socket creation failed: Address family not supported by protocol
Доку tor. В конфиге tor.
Выглядит очень похоже, по крайней мере.
Пишите правильно:
в консоли вку́пе (с чем-либо) в общем вообще | в течение (часа) новичок нюанс по умолчанию | приемлемо проблема пробовать трафик |
-
- Сообщения: 135
- ОС: Linux → Gentoo
Re: [tor]: Socket creation failed: Address family not supported by protocol
Код: Выделить всё
User tor
PIDFile /var/run/tor/tor.pid
Log notice syslog
DataDirectory /var/lib/tor/data
SOCKSPort 9050 # Default: Bind to localhost:9050 for local connections
SOCKSPort 192.168.0.45:9100 # Bind to this address:port too.
ExcludeExitNodes {FR},{RU},{UA},{BY},{KZ}
ExcludeNodes {FR},{RU},{UA},{BY},{KZ}
HiddenServiceDir /var/lib/tor/data/hiddenservice
HiddenServicePort 80 127.0.0.1:80
TransPort 9040
AutomapHostsOnResolve 1
DNSPort 53
Exitpolicy reject *:*
ExtORPort auto
ClientTransportPlugin obfs4 exec /usr/bin/obfs4proxy managed
bridge obfs4 193.183.98.66:443 1922667F42FBFA4372F53F93F1D4753BDE1C4276 cert=1cwI92YWmB2EQUZGWPGYueeVWZMJPhqWf977A+Rz9ZOnzFZPt9QIh+MxbpkV9ePNaff1Tg iat-mode=0
bridge obfs4 185.220.101.164:12346 4C97ACCDDD9E8130D9231DA71413CEBC3F56DE14 cert=p9L6+25s8bnfkye1ZxFeAE4mAGY7DH4Gaj7dxngIIzP9BtqrHHwZXdjMK0RVIQ34C7aqZw iat-mode=0
bridge obfs4 174.128.247.177:443 1FFA4FB830435BC15FD7EC8D4DA59E7DE047C524 cert=7h0xI5/XhF+iF1S4506pNwaD7PZkU4JdBk6oNHRk9gfB76ZKdW5zJbGFfzUkvj+qAJYpCA iat-mode=0
net-vpn/tor USE="man seccomp server -caps -doc -libressl -lzma -scrypt -selinux -systemd -test -tor-hardening -zstd"
import __hello__
-
- Сообщения: 2636
- ОС: gentoo fluxbox
Re: [tor]: Socket creation failed: Address family not supported by protocol
delvin-filА как насчёт IPv6 в системе?
Дописал строку "ORPort 9001" до "ORPort 9001 IPv4Only", стартанул, но не работает и в логах:
Но спустя пару минут заработало, в лог выплюнуло:
Последние сообщения не обнадёживают...
Дописал строку "ORPort 9001" до "ORPort 9001 IPv4Only", стартанул, но не работает и в логах:
Код: Выделить всё
[Tor] Unable to find IPv4 address for ORPort 9001. You might want to specify IPv6Only to it or set an explicit address or set Address._
[Tor] I learned some more directory information, but not enough to build a circuit: We have no usable consensus._
Код: Выделить всё
[Tor] I learned some more directory information, but not enough to build a circuit: We need more microdescriptors: we have 834/6600, and c
an only build 0% of likely paths. (We have 14% of guards bw, 12% of midpoint bw, and 15% of exit bw = 0% of path bw.)_
[Tor] Bootstrapped 5% (conn): Connecting to a relay_
Apr 14 17:55:21 [Tor] Bootstrapped 10% (conn_done): Connected to a relay_
Apr 14 17:55:21 [Tor] Bootstrapped 14% (handshake): Handshaking with a relay_
Apr 14 17:55:22 [Tor] Bootstrapped 15% (handshake_done): Handshake with a relay done_
Apr 14 17:55:22 [Tor] Bootstrapped 50% (loading_descriptors): Loading relay descriptors_
Apr 14 17:55:24 [Tor] Bootstrapped 55% (loading_descriptors): Loading relay descriptors_
Apr 14 17:55:24 [Tor] Bootstrapped 60% (loading_descriptors): Loading relay descriptors_
Apr 14 17:55:24 [Tor] Bootstrapped 65% (loading_descriptors): Loading relay descriptors_
Apr 14 17:55:25 [Tor] Bootstrapped 70% (loading_descriptors): Loading relay descriptors_
Apr 14 17:55:25 [Tor] Bootstrapped 75% (enough_dirinfo): Loaded enough directory info to build circuits_
Apr 14 17:55:25 [Tor] Bootstrapped 80% (ap_conn): Connecting to a relay to build circuits_
Apr 14 17:55:25 [Tor] Bootstrapped 85% (ap_conn_done): Connected to a relay to build circuits_
Apr 14 17:55:26 [Tor] Bootstrapped 89% (ap_handshake): Finishing handshake with a relay to build circuits_
Apr 14 17:55:26 [Tor] Bootstrapped 90% (ap_handshake_done): Handshake finished with a relay to build circuits_
Apr 14 17:55:26 [Tor] Bootstrapped 95% (circuit_create): Establishing a Tor circuit_
Apr 14 17:55:27 [Tor] Bootstrapped 100% (done): Done_
Apr 14 17:55:27 [Tor] Now checking whether IPv4 ORPort MY-IP:9001 is reachable... (this may take up to 20 minutes -- look for log messages indica
ting success)_
Apr 14 17:55:27 [Tor] Now checking whether IPv4 DirPort MY-IP:9030 is reachable... (this may take up to 20 minutes -- look for log messages indic
ating success)_
Apr 14 17:55:30 [Tor] Have tried resolving or connecting to address '[scrubbed]' at 3 different places. Giving up._
[Tor] Your server has not managed to confirm reachability for its ORPort(s) at MY-IP:9001. Relays do not publish descriptors unti
l their ORPort and DirPort are reachable. Please check your firewalls, ports, address, /etc/hosts file, etc._
Apr 14 18:13:10 [Tor] Your server (MY-IP:9030) has not managed to confirm that its DirPort is reachable. Relays do not publish descriptors until
their ORPort and DirPort are reachable. Please check your firewalls, ports, address, /etc/hosts file, etc._
-
- Сообщения: 135
- ОС: Linux → Gentoo
Re: [tor]: Socket creation failed: Address family not supported by protocol
Код: Выделить всё
portageq envvar USE | xargs -n 1|grep ipv6
ipv6
Tor вам говорит в логе:
что значит:"Relays do not publish descriptors until
their ORPort and DirPort are reachable. Please check your firewalls, ports, address, /etc/hosts file, etc."
/etc/hosts и sudo iptables -L покажите."Ретрансляторы не публикуют дескрипторы до тех пор, пока их ORPort и DirPort достижимы. Пожалуйста, проверьте свои брандмауэры, порты, адрес, /etc/hosts файл и т.д."
import __hello__
-
- Модератор
- Сообщения: 21046
- Статус: nulla salus bello
- ОС: Debian GNU/Linux
Re: [tor]: Socket creation failed: Address family not supported by protocol
Так NAT же, небось.
Пишите правильно:
в консоли вку́пе (с чем-либо) в общем вообще | в течение (часа) новичок нюанс по умолчанию | приемлемо проблема пробовать трафик |
-
- Сообщения: 2636
- ОС: gentoo fluxbox
Re: [tor]: Socket creation failed: Address family not supported by protocol
$ cat /etc/hosts
127.0.0.1 aspera.mia aspera lo localhost
192.168.0.155 head.mia head
#::1 localhost
163.172.167.207 bt.t-ru.org
163.172.167.207 bt2.t-ru.org
163.172.167.207 bt3.t-ru.org
163.172.167.207 bt4.t-ru.org
# iptables -L Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination
# iptables -L Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination
На маршрутизаторе NAT, в белый адрес.
-
- Модератор
- Сообщения: 21046
- Статус: nulla salus bello
- ОС: Debian GNU/Linux
Re: [tor]: Socket creation failed: Address family not supported by protocol
Раз так, пробросьте порт. И, вероятно, в конфиге белый IP надо будет прописать (давно не настраивал tor, не помню уже).
Добавлено (17:27):
Хотя, вроде бы, в конфиге не надо ничего по этому поводу указывать.Пишите правильно:
в консоли вку́пе (с чем-либо) в общем вообще | в течение (часа) новичок нюанс по умолчанию | приемлемо проблема пробовать трафик |
-
- Сообщения: 135
- ОС: Linux → Gentoo
Re: [tor]: Socket creation failed: Address family not supported by protocol
net-proxy/obfs4proxy установлен?
Попробуйте скопировать мой конфиг(с вашими IP) и переазпустить для начала без obfs, а потом с ним.
Мосты можно получить здесь.
Попробуйте скопировать мой конфиг(с вашими IP) и переазпустить для начала без obfs, а потом с ним.
Мосты можно получить здесь.
import __hello__
-
- Сообщения: 2636
- ОС: gentoo fluxbox
Re: [tor]: Socket creation failed: Address family not supported by protocol
Полез смотреть, а порты-то проброшены, но почему-то выключены.
Ладно, понял, займусь настройкой по-новому.
И торренты как-то так работают...Ладно, понял, займусь настройкой по-новому.
А это зачем?
У вас нет необходимых прав для просмотра вложений в этом сообщении.
-
- Сообщения: 2636
- ОС: gentoo fluxbox
Re: [tor]: Socket creation failed: Address family not supported by protocol
Опять стал выпендриваться. Нет ли доки, внятно описывающей настройку на компьютере, работающем через маршрутизатор? Или блок-схемы, что там куда и через что?
-
- Модератор
- Сообщения: 21046
- Статус: nulla salus bello
- ОС: Debian GNU/Linux
Re: [tor]: Socket creation failed: Address family not supported by protocol
А подробнее? У провайдера ТСПУ стоит? Если да, то это оно блочит, скорее всего.
https://support.torproject.org/ru/censorship/#censorship-5
Пишите правильно:
в консоли вку́пе (с чем-либо) в общем вообще | в течение (часа) новичок нюанс по умолчанию | приемлемо проблема пробовать трафик |
-
- Сообщения: 2636
- ОС: gentoo fluxbox
Re: [tor]: Socket creation failed: Address family not supported by protocol
Вот подробнее:
Добавлял в ORPORT IPv6Only, другая ругань. Надо бы таки осилить уже досконально настройку, а не наскоками по подсказкам. Проброс портов по уму, и все дела.
Код: Выделить всё
[Tor] We compiled with OpenSSL 101010bf: OpenSSL 1.1.1k 25 Mar 2021 and we are running with OpenSSL 101010cf: 1.1.1l. These two versions should be binary compatible._
[Tor] Parsing GEOIP IPv4 file /usr/share/tor/geoip._
[Tor] Parsing GEOIP IPv6 file /usr/share/tor/geoip6._
[Tor] Your Tor server's identity key fingerprint is 'Unnamed D93835085E147846A56AE874065608126B2C45A8'_
[Tor] Your Tor server's identity key ed25519 fingerprint is 'Unnamed o1bRylBrPBuEvD//3CV61obJFH9rT1ws3gmRv+MDxVw'_
[Tor] Bootstrapped 0% (starting): Starting_
[Tor] Starting with guard context "default"_
[Tor] Bootstrapped 5% (conn): Connecting to a relay_
[Tor] Unable to find IPv4 address for ORPort 9001. You might want to specify IPv6Only to it or set an explicit address or set Address._
[Tor] Bootstrapped 10% (conn_done): Connected to a relay_
[Tor] Bootstrapped 14% (handshake): Handshaking with a relay_
[Tor] Bootstrapped 15% (handshake_done): Handshake with a relay done_
[Tor] Bootstrapped 75% (enough_dirinfo): Loaded enough directory info to build circuits_
[Tor] Problem bootstrapping. Stuck at 75% (enough_dirinfo): Loaded enough directory info to build circuits. (Connection timed out; TIMEOUT
; count 10; recommendation warn; host 39F2399060248FD37FEE9699CFDDF8345E96BA6C at 51.81.81.130:9001)_
[Tor] 9 connections have failed:_
[Tor] 9 connections died in state connect()ing with SSL state (No SSL object)_
[Tor] Problem bootstrapping. Stuck at 75% (enough_dirinfo): Loaded enough directory info to build circuits. (Connection timed out; TIMEOUT
; count 11; recommendation warn; host E60B1C259C891586193EBFBA0E4AB370FE42E645 at 89.30.224.57:443)_
[Tor] 10 connections have failed:_
[Tor] 10 connections died in state connect()ing with SSL state (No SSL object)_
[Tor] Problem bootstrapping. Stuck at 75% (enough_dirinfo): Loaded enough directory info to build circuits. (Connection timed out; TIMEOUT
; count 12; recommendation warn; host E5AA85FA69CDC31900C86E6427C7E5DE11DE9E2D at 194.109.193.142:1194)_
[Tor] 11 connections have failed:_
[Tor] 11 connections died in state connect()ing with SSL state (No SSL object)_
Не знаю, а по ссылке:
Код: Выделить всё
Secure Connection Failed
An error occurred during a connection to support.torproject.org. PR_CONNECT_RESET_ERROR
The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
Please contact the website owners to inform them of this problem.
-
- Сообщения: 21
Re: [tor]: Socket creation failed: Address family not supported by protocol
Скорее всего блокировка от провайдера.yoricI писал: ↑02.01.2022 10:23Не знаю, а по ссылке:Код: Выделить всё
Secure Connection Failed An error occurred during a connection to support.torproject.org. PR_CONNECT_RESET_ERROR The page you are trying to view cannot be shown because the authenticity of the received data could not be verified. Please contact the website owners to inform them of this problem.
-
- Модератор
- Сообщения: 21046
- Статус: nulla salus bello
- ОС: Debian GNU/Linux
Re: [tor]: Socket creation failed: Address family not supported by protocol
Пишите правильно:
в консоли вку́пе (с чем-либо) в общем вообще | в течение (часа) новичок нюанс по умолчанию | приемлемо проблема пробовать трафик |
-
- Сообщения: 2636
- ОС: gentoo fluxbox
Re: [tor]: Socket creation failed: Address family not supported by protocol
Понятно. А вот куда они советуют идти за решением, уже заблокировано: https://bridges.torproject.org/bridges?transport=obfs4&lang=ru
Но я понял, надо запускать, как пишет выше delvin-fil obfs4, только мосты подкиньте, а то тоже заблокировано))
Паскуды, новый год обломали, ни тора, ни ssh))
Но я понял, надо запускать, как пишет выше delvin-fil obfs4, только мосты подкиньте, а то тоже заблокировано))
Паскуды, новый год обломали, ни тора, ни ssh))
-
- Модератор
- Сообщения: 21046
- Статус: nulla salus bello
- ОС: Debian GNU/Linux
Re: [tor]: Socket creation failed: Address family not supported by protocol
Вам нужно получить работающий мост.
Это можно сделать пятью способами:
- отправить сообщение Telegram-боту Tor;
- запросить мост, используя инструмент Tor Browser - Moat,
- отправить email по адресу bridges@torproject.org;
- посетить страницу https://bridges.torproject.org.
- или подключится с помощью Snowflake.
Пишите правильно:
в консоли вку́пе (с чем-либо) в общем вообще | в течение (часа) новичок нюанс по умолчанию | приемлемо проблема пробовать трафик |
-
- Сообщения: 2636
- ОС: gentoo fluxbox
Re: [tor]: Socket creation failed: Address family not supported by protocol
Телеграм не держу
ТОР-браузер тоже
почту принимают только с google-mail
Snowflake какой-то
А страница заблокирована. Но попробую задействовать с сообщения delvin-fil, авось ещё действуют))
ТОР-браузер тоже
почту принимают только с google-mail
Snowflake какой-то
А страница заблокирована. Но попробую задействовать с сообщения delvin-fil, авось ещё действуют))
-
- Сообщения: 3689
- ОС: Mandriva => Gentoo (~amd64)
Re: [tor]: Socket creation failed: Address family not supported by protocol
У телеграмма есть ещё бот @bridges
А с посылками/получениями писем с мостами можно как раз обломиться - недавно на эти грабли наступил. Телега - наше всё.
P. S. Ещё можно попросить мосты здесь - поделимся, не жалко.
А с посылками/получениями писем с мостами можно как раз обломиться - недавно на эти грабли наступил. Телега - наше всё.

P. S. Ещё можно попросить мосты здесь - поделимся, не жалко.
-
- Модератор
- Сообщения: 21046
- Статус: nulla salus bello
- ОС: Debian GNU/Linux
Re: [tor]: Socket creation failed: Address family not supported by protocol
Spoiler
Код: Выделить всё
obfs4 188.165.0.32:8443 DE67F5AF37709959703D106218D2593A210F86DB cert=kzLn5Wop1AkuYHHCFtcobVtTI3fmoVYX3i3+tBPyUtIL6Fa9B/l5PUMxyr2X8D1di/noRg iat-mode=0
obfs4 142.47.109.194:8443 924B9FEBC61D1D9835477C7932EC13D18E3E7FA4 cert=HjV8Ss2QZbKe7bmDu1otyfxhSWCGXiKP4VXv3qdKWXKYCDif7XZSZHfH090LdE4dpCAaFQ iat-mode=0
obfs4 87.233.197.123:4444 8C233B8732BFC22F40956A5E9290A80987CEFB96 cert=42D6Lz7QAF21baswmm53PZ9tLaOhAn1DEGRZKS220ejKZoDHnypYxOPr/FoNNI3SpY8SJQ iat-mode=0
Пишите правильно:
в консоли вку́пе (с чем-либо) в общем вообще | в течение (часа) новичок нюанс по умолчанию | приемлемо проблема пробовать трафик |
-
- Сообщения: 2636
- ОС: gentoo fluxbox
Re: [tor]: Socket creation failed: Address family not supported by protocol
Неужели цензура?
Ну так я и прошу. Их больше трёх можно прописать?
Компиляю obfs4, так ЯП Go тащит, а куда деваться...