Comments (37)
Вот же написано
"No outbound tunnels found"
Просто тоннели не успели построиться и достаточно узлов набраться.
Если первый запуск то минут через 15 попробуйте, если не первый то примерно через 2-3 минуты тоннели уже будут.
from i2pd.
Аптайм два часа, изменений нет, в логе тоже самое
Может с SSU проблемы?
http://igw:7070
Data path: /root/.i2pd
Our external address:
SSU 127.0.0.1:17007
NTCP 88.xx.xx.xxx:17007
Routers: 1500 Floodfills: 449 LeaseSets: 0
Tunnels
Transit tunnels
Transports
NTCP
SSU
Flibusta
from i2pd.
У вас точно входящие порты на маршуртизаторе проброшены? Такое ощущение что у вас вообще все кроме 80-ого порта где то закрыто.
from i2pd.
торенты спокойно работают
проброшены
13 chain=dstnat action=dst-nat to-addresses=192.168.0.89 to-ports=17007
protocol=tcp dst-address=88.xx.xx.xxx in-interface=ether1
dst-port=17007
14 chain=dstnat action=dst-nat to-addresses=192.168.0.89 to-ports=17007
protocol=udp dst-address=88.xx.xx.xxx in-interface=ether1
dst-port=17007
счетчики нулевые
меня смущает SSU 127.0.0.1:17007 в логе
from i2pd.
Меня больше отсуствие NTCP соединений смущает.
Должно быть в логе примерно так
Connected
Phase 1 sent: 288
Phase 2 received: 304
Phase 3 sent: 448
Phase 2 received: 304
Phase 3 sent: 448
Phase 4 received: 48
NTCP session connected
Причем это исходящее соединение.
Посмотрите есть ли у вас что то подобное?
from i2pd.
ничего подобного в логе нет, опробую очистить ~/.ip2d
NTCP даже не пытается стартовать
from i2pd.
У вас Линукс?
from i2pd.
да
после ^C кое что вышло
полный лог
Logging to file /root/.i2pd/debug.log enabled.
CMD parameters:
0 ./i2p
1 --host=88.xx.xx.xxx
2 --help
HTTPServer started
Unexpected address i2p.chaotique.fr
Unexpected address dyn.interpano360.de
Unexpected address dyn.interpano360.de
Unexpected address raddatz.no-ip.org
Unexpected address raddatz.no-ip.org
Unexpected address anthila.dyndns.org
Unexpected address anthila.dyndns.org
Unexpected address aracool.dd-dns.de
Unexpected address aracool.dd-dns.de
Unexpected address voodoo.b0ne.com
Unexpected address stargrave.org
Unexpected address chinkov.net
Unexpected address home.fmy.be
Unexpected address zion.uk.to
Unexpected address zion.uk.to
Unexpected address cellarnet.co.uk
Unexpected address cellarnet.co.uk
Unexpected address uriel-fanelli.no-ip.org
Unexpected address uriel-fanelli.no-ip.org
1500 routers loaded
449 floodfills loaded
NetDB started
Start listening UDP port 17007
Creating new SSU session to [Yey] 151.24.39.120:22355] 109.94.0.21:16261
SSU sent 304 bytes
Creating new SSU session to [ufHN] 67.250.249.233:9179
SSU sent 304 bytes
Creating new SSU session to [w2nA] through introducer 92.53.64.137:9751
New session to introducer created
SSU sent 96 bytes
Creating new SSU session to [txR1] through introducer 77.125.156.209:24768
New session to introducer created
SSU sent 96 bytes
Creating new SSU session to [tCrN] 24.140.131.110:13550
SSU sent 304 bytes
Start listening TCP port 17007
Transports started
Tunnels started
Routing started
Streaming started
Proxy started
SSU session was not established after 5 second
SSU session was not established after 5 second
SSU session was not established after 5 second
SSU session was not established after 5 second
SSU session was not established after 5 second
SSU session was not established after 5 second
SSU session was not established after 5 second
LeaseSet requested
No outbound tunnels found
Invalid Base32 address favicon.ico
LeaseSet requested
No outbound tunnels found
Invalid Base32 address favicon.ico
LeaseSet requested
No outbound tunnels found
Invalid Base32 address favicon.ico
LeaseSet requested
No outbound tunnels found
Invalid Base32 address favicon.ico
LeaseSet requested
No outbound tunnels found
Invalid Base32 address favicon.ico
Invalid Base32 address favicon.ico
Invalid Base32 address favicon.ico
LeaseSet requested
No outbound tunnels found
Invalid Base32 address favicon.ico
LeaseSet requested
No outbound tunnels found
Invalid Base32 address favicon.ico
LeaseSet requested
No outbound tunnels found
Invalid Base32 address favicon.ico
LeaseSet requested
No outbound tunnels found
Invalid Base32 address favicon.ico
LeaseSet requested
No outbound tunnels found
Invalid Base32 address favicon.ico
LeaseSet requested
No outbound tunnels found
Invalid Base32 address favicon.ico
LeaseSet requested
No outbound tunnels found
Invalid Base32 address favicon.ico
^C
Shutdown started.
HTTPProxy stoped
Streaming stoped
Routing stoped
Creating zero hops inbound tunnel...
I2NP msg received len=1073, type=23, msgID=0
VariableTunnelBuild
VariableTunnelBuild 2 records
Record 0 is ours
TransitTunnel gateway: 576280621 created
I2NP msg received len=1073, type=23, msgID=555
VariableTunnelBuild
VariableTunnelBuild 2 records
VariableTunnelBuild reply for tunnel 3600206411
TunnelBuildResponse 2 records.
Ret code=0
Inbound tunnel 3600206411 has been created
I2NP msg received len=1073, type=23, msgID=1
VariableTunnelBuild
VariableTunnelBuild 2 records
Record 0 is ours
TransitTunnel endpoint: 2279827212 created
TunnelGateway
TunnelGateway of 1073 bytes for tunnel 576280621. Msg type 24
TunnelData
TunnelData
Creating one hop outbound tunnel...
Creating destination inbound tunnel...
Creating new SSU session to [ckh8] through introducer 122.161.0.216:16435
New session to introducer created
SSU sent 96 bytes
Creating destination inbound tunnel...
Connecting to 82.19.76.203:29020
Creating destination inbound tunnel...
Connecting to 70.38.42.49:28352
Creating destination inbound tunnel...
Connecting to 168.144.82.159:14616
Connect error: Connection refused
NTCP session 1 not sent
NTCP session terminated
Creating new SSU session to [93or] 82.19.76.203:29020
SSU sent 304 bytes
Creating destination inbound tunnel...
Connecting to 109.94.0.21:16261
Connected
Phase 1 sent: 288
Phase 2 received: 304
Phase 3 sent: 448
Phase 4 read error: End of file
NTCP session 1 not sent
NTCP session terminated
Creating new SSU session to [8Hy
SSU sent 304 bytes
Creating destination outbound tunnel...
Creating new SSU session to [9nDZ] through introducer 84.202.105.156:28396
New session to introducer created
SSU sent 96 bytes
Connect error: Connection refused
NTCP session 1 not sent
NTCP session terminated
Creating new SSU session to [YZfD] 70.38.42.49:28352
SSU sent 304 bytes
Creating destination outbound tunnel...
Connecting to 68.186.211.74:26869
Connected
Phase 1 sent: 288
Creating destination outbound tunnel...
Connecting to 109.60.137.70:26363
Connected
Phase 1 sent: 288
Creating destination outbound tunnel...
Creating new SSU session to [OHsm] through introducer 177.83.45.205:22372
New session to introducer created
SSU sent 96 bytes
Phase 2 received: 304
Phase 3 sent: 448
Phase 4 read error: End of file
NTCP session 1 not sent
NTCP session terminated
Creating new SSU session to [6oHb] 109.60.137.70:26363
SSU sent 304 bytes
Creating destination outbound tunnel...
Connecting to 94.231.117.76:24005
Connect error: Connection refused
NTCP session 1 not sent
NTCP session terminated
Creating new SSU session to [lOnP] 94.231.117.76:24005
SSU sent 304 bytes
Connecting to 94.75.217.80:62080
Tunnels stoped
Connect error: Operation canceled
Transports: close: Bad file descriptor
Connect error: Operation canceled
Transports: close: Bad file descriptor
Phase 2 read error: Operation canceled. Wrong ident assumed
Transports: close: Bad file descriptor
И процесс остаётся в памяти, реагирует только на -9
from i2pd.
Сейчас вроде все нормально. Подождите немного чтобы он выкинул "мертвые" узлы
from i2pd.
Вся эта инициализация начинается с "^CShutdown started.", сейчас закончилась падением демона
^CShutdown started.
HTTP response 504
HTTPProxy stoped
Streaming stoped
Routing stoped
Creating zero hops inbound tunnel...
I2NP msg received len=1073, type=23, msgID=0
VariableTunnelBuild
VariableTunnelBuild 2 records
Record 0 is ours
TransitTunnel gateway: 1913209502 created
I2NP msg received len=1073, type=23, msgID=555
VariableTunnelBuild
VariableTunnelBuild 2 records
VariableTunnelBuild reply for tunnel 1675926164
TunnelBuildResponse 2 records.
Ret code=0
Inbound tunnel 1675926164 has been created
I2NP msg received len=1073, type=23, msgID=1
VariableTunnelBuild
VariableTunnelBuild 2 records
Record 0 is ours
TransitTunnel endpoint: 236592869 created
TunnelGateway
TunnelGateway of 1073 bytes for tunnel 1913209502. Msg type 24
TunnelData
TunnelData
Creating one hop outbound tunnel...
Creating destination inbound tunnel...
Creating new SSU session to [ks6H] through introducer 95.181.47.66:15696
New session to introducer created
SSU sent 96 bytes
Creating destination inbound tunnel...
Connecting to 95.27.159.7:19313
Connected
Phase 1 sent: 288
Phase 2 received: 304
Phase 3 sent: 448
Creating destination inbound tunnel...
Creating new SSU session to [63OR] through introducer 1.172.121.204:22556
New session to introducer created
SSU sent 96 bytes
Creating destination inbound tunnel...
Connecting to 89.221.207.178:15750
Connected
Phase 1 sent: 288
Creating destination inbound tunnel...
Connecting to 179.180.175.27:20156
Creating destination outbound tunnel...
Creating new SSU session to [8OdJ] through introducer 46.72.52.14:8001
New session to introducer created
SSU sent 96 bytes
Creating destination outbound tunnel...
Connecting to 90.157.27.188:18695
Connected
Phase 1 sent: 288
Creating destination outbound tunnel...
Connecting to 94.180.46.25:13592
Phase 2 received: 304
Phase 3 sent: 448
Creating destination outbound tunnel...
Connecting to 109.174.12.2:19378
Connected
Phase 1 sent: 288
Phase 4 read error: End of file
NTCP session 1 not sent
NTCP session terminated
Creating new SSU session to [8D7~] 90.157.27.188:18695
SSU sent 304 bytes
Creating destination outbound tunnel...
Creating new SSU session to [6ivS] through introducer 188.186.33.133:23533
New session to introducer created
SSU sent 96 bytes
Connected
Phase 1 sent: 288
Tunnels stoped
Connecting to 87.226.12.9:1024
i2p: malloc.c:3912: _int_free: Assertion `nextchunk->fd_nextsize->bk_nextsize == nextchunk' failed.
Aborted
Те NTCP запускается в процессе остановки который завершается либо crush либо зависанием
from i2pd.
Спасибо, посмотрю почему там трэд не стартует.
Компилятор какой?
from i2pd.
Пример с аптаймом примерно в 10 минут
Повторюсь NTCP запускается в процессе остановки который завершается либо crush либо зависанием
Using built-in specs.
COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/4.6.3/gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.6.3/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /var/tmp/portage/sys-devel/gcc-4.6.3/work/gcc-4.6.3/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.6.3 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.6.3 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.6.3/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.6.3/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/include/g++-v4 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --disable-fixed-point --without-cloog --without-ppl --disable-lto --enable-nls --without-included-gettext --with-system-zlib --enable-obsolete --disable-werror --enable-secureplt --disable-multilib --enable-libmudflap --disable-libssp --enable-libgomp --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.6.3/python --enable-checking=release --disable-libgcj --enable-libstdcxx-time --enable-languages=c,c++,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-targets=all --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.6.3 p1.13, pie-0.5.2'
Thread model: posix
gcc version 4.6.3 (Gentoo 4.6.3 p1.13, pie-0.5.2)
ldconfig (Gentoo 2.17 p8) 2.17
GNU Make 3.82
Built for x86_64-pc-linux-gnu
gdb сделать?
Start listening UDP port 17007
Creating new SSU session to [v9gV] 85.173.72.98:8888
SSU sent 304 bytes
Creating new SSU session to [1Yer] 178.218.104.245:8887
SSU sent 304 bytes
Creating new SSU session to [qG3P] through introducer 74.77.155.238:18116
New session to introducer created
SSU sent 96 bytes
Creating new SSU session to [0ROt] 178.254.30.86:20626
SSU sent 304 bytes
Creating new SSU session to [1aKf] 212.142.117.189:23008
SSU sent 304 bytes
Start listening TCP port 17007
Transports started
Tunnels started
Routing started
Streaming started
Proxy started
SSU session was not established after 5 second
SSU session was not established after 5 second
SSU session was not established after 5 second
SSU session was not established after 5 second
SSU session was not established after 5 second
SSU session was not established after 5 second
LeaseSet requested
No outbound tunnels found
Invalid Base32 address favicon.ico
Invalid Base32 address favicon.ico
Invalid Base32 address favicon.ico
^CShutdown started.
HTTPProxy stoped
Streaming stoped
Routing stoped
Creating zero hops inbound tunnel...
I2NP msg received len=1073, type=23, msgID=0
VariableTunnelBuild
VariableTunnelBuild 2 records
Record 0 is ours
TransitTunnel gateway: 3481132963 created
I2NP msg received len=1073, type=23, msgID=555
VariableTunnelBuild
VariableTunnelBuild 2 records
VariableTunnelBuild reply for tunnel 1500838429
TunnelBuildResponse 2 records.
Ret code=0
Inbound tunnel 1500838429 has been created
I2NP msg received len=1073, type=23, msgID=1
VariableTunnelBuild
Record 0 is ours
TransitTunnel endpoint: 1951949091 created
TunnelGateway
TunnelGateway of 1073 bytes for tunnel 3481132963. Msg type 24
TunnelData
TunnelData
Creating one hop outbound tunnel...
Creating destination inbound tunnel...
Connecting to 128.199.180.226:28987
Creating destination inbound tunnel...
Connecting to 188.239.14.69:25555
Connected
Phase 1 sent: 288
Phase 2 received: 304
Phase 3 sent: 448
Creating destination inbound tunnel...
Connecting to 88.126.107.231:25425
Phase 4 read error: End of file
NTCP session 1 not sent
NTCP session terminated
Creating new SSU session to [t0SK] 188.239.14.69:25555
SSU sent 304 bytes
Creating destination inbound tunnel...
Connecting to 107.170.177.101:30630
Connected
Phase 1 sent: 288
Creating destination inbound tunnel...
Connecting to 185.22.252.57:17865
Connected
Phase 1 sent: 288
Creating destination outbound tunnel...
Creating new SSU session to [tmwD] through introducer 94.26.153.212:15053
New session to introducer created
SSU sent 96 bytes
Connected
Phase 1 sent: 288
Creating destination outbound tunnel...
Connecting to 82.66.243.54:16698
Phase 2 received: 304
Phase 3 sent: 448
Creating destination outbound tunnel...
Creating new SSU session to [6jTE] through introducer 66.161.138.110:17439
New session to introducer created
SSU sent 96 bytes
Phase 2 received: 304
Phase 3 sent: 448
Phase 2 received: 304 [43/1909]
Phase 3 sent: 448
Phase 4 read error: End of file
NTCP session 1 not sent
NTCP session terminated
Creating new SSU session to [Vs3D] 185.22.252.57:17865
SSU sent 304 bytes
Phase 2 received: 304
Phase 3 sent: 448
Creating destination outbound tunnel...
Creating new SSU session to [dBrx] through introducer 81.200.27.44:27464
New session to introducer created
SSU sent 96 bytes
Creating destination outbound tunnel...
Connecting to 191.183.221.194:18911
Phase 4 read error: End of file
NTCP session 1 not sent
NTCP session terminated
Creating new SSU session to [Xrjb] 107.170.177.101:30630
SSU sent 304 bytes
Tunnels stoped
Connecting to 213.141.251.153:19805
Connect error: Operation canceled
Segmentation fault
from i2pd.
Добился "подвисания" после ^C
Процесс активен
1497 routers loaded
404 floodfills loaded
NetDB started
Start listening UDP port 17007
Creating new SSU session to [tqwu] 93.200.104.66:17482
SSU sent 304 bytes
Creating new SSU session to [THl~] through introducer 91.233.66.2:16234
New session to introducer created
SSU sent 96 bytes
Creating new SSU session to [uXJS] 49.243.250.155:56789
SSU sent 304 bytes
Creating new SSU session to [9W9n] 216.210.70.3:15983
SSU sent 304 bytes
Creating new SSU session to [b7~8] 91.250.119.239:26012
SSU sent 304 bytes
Start listening TCP port 17007
Transports started
Tunnels started
Routing started
Streaming started
Proxy started
SSU session was not established after 5 second
SSU session was not established after 5 second
SSU session was not established after 5 second
SSU session was not established after 5 second
SSU session was not established after 5 second
SSU session was not established after 5 second
^[^CShutdown started.
HTTPProxy stoped
Streaming stoped
Routing stoped
Creating zero hops inbound tunnel...
I2NP msg received len=1073, type=23, msgID=0
VariableTunnelBuild
VariableTunnelBuild 2 records
Record 0 is ours
TransitTunnel gateway: 591493458 created
I2NP msg received len=1073, type=23, msgID=555
VariableTunnelBuild
I2NP msg received len=1073, type=23, msgID=555 [47/1814]
VariableTunnelBuild
VariableTunnelBuild 2 records
VariableTunnelBuild reply for tunnel 455412847
TunnelBuildResponse 2 records.
Ret code=0
Inbound tunnel 455412847 has been created
I2NP msg received len=1073, type=23, msgID=1
VariableTunnelBuild
VariableTunnelBuild 2 records
Record 0 is ours
TransitTunnel endpoint: 1309846342 created
TunnelGateway
TunnelGateway of 1073 bytes for tunnel 591493458. Msg type 24
TunnelData
TunnelData
Creating one hop outbound tunnel...
Creating destination inbound tunnel...
Connecting to 188.239.14.69:25555
Connected
Phase 1 sent: 288
Phase 2 received: 304
Phase 3 sent: 448
Creating destination inbound tunnel...
Connecting to 149.172.137.47:28857
Phase 4 read error: End of file
NTCP session 1 not sent
NTCP session terminated
Creating new SSU session to [t0SK] 188.239.14.69:25555
SSU sent 304 bytes
Creating destination inbound tunnel...
Creating new SSU session to [telM] through introducer 31.130.128.21:58585
New session to introducer created
SSU sent 96 bytes
Connected
Phase 1 sent: 288
Creating destination inbound tunnel...
Connecting to 85.15.124.217:11664
Creating destination inbound tunnel...
Creating new SSU session to [wfWo] through introducer 85.118.229.200:23242
New session to introducer created
SSU sent 96 bytes
Phase 2 received: 304
Phase 3 sent: 448
Connected
Phase 1 sent: 288
Creating destination outbound tunnel...
Connecting to 37.144.152.106:18639
Phase 4 read error: End of file
NTCP session 1 not sent
NTCP session terminated
Creating new SSU session to [llf2] 149.172.137.47:28857
SSU sent 304 bytes
Creating destination outbound tunnel...
Creating new SSU session to [4kui] through introducer 93.171.216.118:19520
New session to introducer created
SSU sent 96 bytes
Phase 2 received: 304
Phase 3 sent: 448
Creating destination outbound tunnel...
Connecting to 95.69.210.17:30488
Connect error: No route to host
NTCP session 1 not sent
NTCP session terminated
Creating new SSU session to [4bSF] 95.69.210.17:30488
SSU sent 304 bytes
Creating destination outbound tunnel...
Connecting to 172.248.249.38:38968
Phase 4 read error: End of file
NTCP session 1 not sent
NTCP session terminated
Creating new SSU session to [qaKh] 85.15.124.217:11664
SSU sent 304 bytes
Creating destination outbound tunnel...
Connecting to 109.126.242.80:14145
Tunnels stoped
Connecting to 89.183.120.35:13384
Connect error: Operation canceled
Transports: close: Bad file descriptor
Connect error: Operation canceled
Transports: close: Bad file descriptor
Connect error: Operation canceled
Transports: close: Bad file descriptor
Connect error: Operation canceled
Transports: close: Bad file descriptor
LeaseSet requested
No outbound tunnels found
Transports stoped
Invalid Base32 address favicon.ico
Invalid Base32 address favicon.ico
Invalid Base32 address favicon.ico
LeaseSet requested
No outbound tunnels found
Invalid Base32 address favicon.ico
Invalid Base32 address favicon.ico
Routers: 1497 Floodfills: 404 LeaseSets: 0
Tunnels
-->591493458:5W17-->455412847:me 0
Transit tunnels
591493458--> 2056
-->1309846342 0
Transports
NTCP
SSU
Flibusta
Порты держит открытыми, на ^C и SIGTERM не реагирует, от SIGKILL умирает полностью
from i2pd.
Понятно. На gentoo еще никто не пробовал запускать.
Там на самом деле демонизация сделана малость неправильно, а переделать руки не доходят.
Да команду threads в gdb бы сделать плохо.
Но я подозреваю что висит на какой то условной перемнной вот здесь
m_NonEmpty.wait_for (l, std::chrono::milliseconds (usec));
from i2pd.
(gdb) info threads
Id Target Id Frame
11 Thread 0x7fffe2ffd700 (LWP 12138) "i2p" 0x00007ffff600b113 in epoll_wait () from /lib64/libc.so.6
10 Thread 0x7fffe37fe700 (LWP 12137) "i2p" 0x00007ffff6af4e2c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
9 Thread 0x7fffe3fff700 (LWP 12136) "i2p" 0x00007ffff6af4e2c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
8 Thread 0x7ffff084f700 (LWP 12135) "i2p" 0x00007ffff6af51fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
7 Thread 0x7ffff1050700 (LWP 12134) "i2p" 0x00007ffff600b113 in epoll_wait () from /lib64/libc.so.6
6 Thread 0x7ffff1851700 (LWP 12133) "i2p" 0x00007ffff600b113 in epoll_wait () from /lib64/libc.so.6
5 Thread 0x7ffff2052700 (LWP 12132) "i2p" 0x00007ffff6af4e2c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
4 Thread 0x7ffff2853700 (LWP 12131) "i2p" 0x00007ffff6af51fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
3 Thread 0x7ffff3054700 (LWP 12130) "i2p" 0x00007ffff600b113 in epoll_wait () from /lib64/libc.so.6
2 Thread 0x7ffff3855700 (LWP 12129) "i2p" 0x00007ffff6af4e2c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
- 1 Thread 0x7ffff7fd4740 (LWP 12125) "i2p" 0x00007ffff6af84dd in nanosleep () from /lib64/libpthread.so.0
(gdb) next
ingle stepping until exit from function nanosleep,
which has no line number information.
std::this_thread::sleep_for<long, std::ratio<1l, 1l> > (__rtime=...) at /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/include/g++-v4/thread:287
Id Target Id Frame
11 Thread 0x7fffe2ffd700 (LWP 12138) "i2p" 0x00007ffff600b113 in epoll_wait () from /lib64/libc.so.6
10 Thread 0x7fffe37fe700 (LWP 12137) "i2p" 0x00007ffff6af4e2c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
9 Thread 0x7fffe3fff700 (LWP 12136) "i2p" 0x00007ffff6af4e2c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
8 Thread 0x7ffff084f700 (LWP 12135) "i2p" 0x00007ffff6af51fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
7 Thread 0x7ffff1050700 (LWP 12134) "i2p" 0x00007ffff600b113 in epoll_wait () from /lib64/libc.so.6
6 Thread 0x7ffff1851700 (LWP 12133) "i2p" 0x00007ffff600b113 in epoll_wait () from /lib64/libc.so.6
5 Thread 0x7ffff2052700 (LWP 12132) "i2p" 0x00007ffff6af4e2c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
4 Thread 0x7ffff2853700 (LWP 12131) "i2p" 0x00007ffff6af51fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
3 Thread 0x7ffff3054700 (LWP 12130) "i2p" 0x00007ffff600b113 in epoll_wait () from /lib64/libc.so.6
2 Thread 0x7ffff3855700 (LWP 12129) "i2p" 0x00007ffff6af4e2c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
- 1 Thread 0x7ffff7fd4740 (LWP 12125) "i2p" std::this_thread::sleep_for<long, std::ratio<1l, 1l> > (__rtime=...) at /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/include/g++-v4/thread:287
(gdb) next
(gdb) info threads
Id Target Id Frame
11 Thread 0x7fffe2ffd700 (LWP 12138) "i2p" 0x00007ffff600b113 in epoll_wait () from /lib64/libc.so.6
10 Thread 0x7fffe37fe700 (LWP 12137) "i2p" 0x00007ffff6af4e2c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
9 Thread 0x7fffe3fff700 (LWP 12136) "i2p" 0x00007ffff6af4e2c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
8 Thread 0x7ffff084f700 (LWP 12135) "i2p" 0x00007ffff6af51fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
7 Thread 0x7ffff1050700 (LWP 12134) "i2p" 0x00007ffff600b113 in epoll_wait () from /lib64/libc.so.6
6 Thread 0x7ffff1851700 (LWP 12133) "i2p" 0x00007ffff600b113 in epoll_wait () from /lib64/libc.so.6
5 Thread 0x7ffff2052700 (LWP 12132) "i2p" 0x00007ffff6af4e2c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
4 Thread 0x7ffff2853700 (LWP 12131) "i2p" 0x00007ffff6af51fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
3 Thread 0x7ffff3054700 (LWP 12130) "i2p" 0x00007ffff6af84dd in nanosleep () from /lib64/libpthread.so.0
2 Thread 0x7ffff3855700 (LWP 12129) "i2p" 0x00007ffff6af4e2c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 - 1 Thread 0x7ffff7fd4740 (LWP 12125) "i2p" main (argc=2, argv=0x7fffffffde58) at i2p.cpp:12
from i2pd.
Вообщем надо понять что происходит в методе Tunnels::Run и почему не доходит до строчки ManageTunnels
from i2pd.
Сменил версию компилятора с [1] x86_64-pc-linux-gnu-4.6.3 на [2] x86_64-pc-linux-gnu-4.7.3 *
Получил успешный результат
Data path: /root/.i2pd
Our external address:
SSU 88.xx.xx.xxx:17007
NTCP 88.xx.xx.xxx:17007
Routers: 1703 Floodfills: 495 LeaseSets: 2
Tunnels
me-->195127621:aFde-->2452352381:1Fpy--> 43176
me-->2566193272:65xb-->1752356407:Otv7--> Pool 65792
me-->765202900:awhC-->267648561:Y6lO--> 41120
me-->3392849808:vZBt-->1291136735:kE9i--> Pool Failed 20560
me-->1917200681:YCXT-->2021949599:w3om--> Pool 38036
me-->209678878:dxLx-->4146601619:9W9n--> Pool Failed 56540
me-->408704652:E4dZ-->3069055849:~k8F--> 40092
me-->3591261501:~dPh-->223143941:k0C3--> Failed 1028
me-->651235305:Tb8k-->1614923814:65Yr--> 387556
me-->464612059:kcU1-->3824994830:63OR--> Pool 52428
-->989242135:lHjA-->2098163454:bcgh-->353476911:me Pool Failed 26728
-->1854402679:A4vL-->2959304803:kcU1-->1235486339:me Pool 16448
-->4076095609:1SKc-->1968352967:kcU1-->1671163207:me Pool 17476
-->1603797009:myNz-->1485246452:Tb8k-->1786738177:me 69904
-->330171463:ODPM-->216246521:dxLx-->2300063384:me Pool 41120
-->383053619:16in-->626152558:65xb-->3942878602:me Pool Failed 32896
Transit tunnels
2225096278--> 0
Transports
NTCP
-->E4dZ: 62.210.178.173
-->H9SQ: 91.234.60.90
-->Tb8k: 109.145.189.217
-->YCXT: 91.58.189.225
-->YxB~: 78.47.150.119
-->dxLx: 78.47.127.150
-->kcU1: 50.160.162.214
-->qNil: 146.185.146.93
-->0V6W: 213.141.132.29
-->65xb: 162.252.241.223
SSU
-->37.146.109.8:25320
Flibusta
commit: 53be08e
кривая сборка (x86_64-pc-linux-gnu-4.6.3)
https://yadi.sk/d/tV2iHnUvULZDL
Рабочая (x86_64-pc-linux-gnu-4.7.3)
https://yadi.sk/d/dsT0vzZ_ULZDQ
Какие настройки тунелей доступны?
Чем могу помочь?
from i2pd.
У меня компилятор 4.6.1. Возможно это глюк в какой нибудь библиотеке типа glib.
Что не так с тем коммитом?
С тоннелями там работы еще непочатый край.
Во-первых, они у меня все только двушаговые, что не есть хорошо - надо следать конфигурируемые.
Во-вторых сейчас узлы при создании тоннеля перечисляются последовательно что тоже неправильно.
Ну а самое главное это профили маршрутизаторов: на данный момент узлы для тоннелей выбираются случайным образом, а надо чтобы ненадежные узлы не выбирались.
from i2pd.
Я просто зафиксировал версию коммита который собирал
Смена компилятора помогла, бинарники выложил для тестов, если понадобятся, 4.7.3 при прочих равных генерирует рабочий код.
В данный момент я хочу сделать акцент на транзит и протестировать стабильность.
Какие параметры доступны для конфигурировния ?
from i2pd.
На данный момент практически никаких параметров нет.
Точнее есть:
- порт
- внешний IP
- порт HTTP интерфейса
Разумеется нужно задавать дофига других, которые сейчас заданы жестко.
Всякие там временные итервалы, число тоннелей в группе, предпочтение NTCP/SSU и др.
Могу сказать что работает достаточно стабильно - по крайней мере через меня идет большое число транзитных тоннелей и трафика. Если бы не работало как надо, то сразу бы прекратили слать данные.
from i2pd.
Как я понимаю ограничений по скорости и кол-ву тунелей нет. А куда посмотреть в расчёте на экстримальный транзит?
from i2pd.
Пока ограничений нет, но экстремальный транзит у вас вряд ли получится, потому что I2P в нынешнем состоянии не выбирает доступные ресурсы узлов.
То есть я принимаю тоннели, которые ко мне приходят, передаю весь трафик, но все равно получается мизер.
Единственное, что у меня еще не сделано, это floodfill, т.е. публикация и распространение информации о других узлов. Но это не сделано не в силу каких то причин, а просто руки до этого не дошли.
Весь без исключения транзитный трафик проходит вот через эту строчку кода
transitTunnel->HandleTunnelDataMsg (msg);
в методе Tunnels::Run
from i2pd.
Собрал с CFLAGS = -g -Wall -std=c++0x -pipe -march=native -Os
Лог сборки с ворнингами
https://gist.github.com/gema-arta/998e61ab45c00ce064e6
Буду тестировать
from i2pd.
Эта известная проблема с приведением буфера к указателю на структуры.
Там проблема хуже чем просто варнинги - из-за за этого будет торомозить, потому что не выровнено по границе.
Это тоже надо переделать.
from i2pd.
За натом сейчас работает без проброса портов если запустить с ключем -unreachable=1
from i2pd.
Кстати, мне так и не удалось достучаться до http://localhost:7070/4oes3rlgrpbkmzv4lqcfili23h3cvpwslqcfjlk6vvguxyggspwa
За то diftracker http://localhost:7070/m4mer767ipj7mq6l7gdrmrq37yzvsj3kzezd7n7nsfuctntjseka.b32.i2p
работает нормально.
from i2pd.
Я поддержку адресов без .b32.i2p выкинул.
from i2pd.
@orignal README надо обновить*)
from i2pd.
Спасибо, обновлю : )
Эта ссылка у меня отлично работает. Это meeh.i2p.
from i2pd.
@orignal я кстати только открыв обсуждения понял что комманда русская*) Аж удивился *) Так держать!
from i2pd.
Ну почему же? Meeh, например, норвежец.
А то что русских много, это неудивительно. Все таки половина узлов сети - Россия.
from i2pd.
@orignal Зы круто! Может начать писать по английски*)
from i2pd.
не обязательно. можно и по русски
англоязычный это track.privacysolutions.no
со временем с гитхаба уйдем
from i2pd.
@orignal а причины ухода из гитхаба?
from i2pd.
Рано или поздно все равно выкинут.
Ни Тора ни I2P, как вы видите, здесь нет.
from i2pd.
@orignal i2p здесь есть: https://github.com/i2p/
Хотя это больше зеркало. Да и причину блокировки вашего проэкта я не вижу. Хотя поживем увидим.
Желаю удачи i2pd. Давно искал i2p не на java'е.
from i2pd.
Кстати по поводу заголовка, надо будет это доделать, чтобы не указывать явно параметр -unreachable=1, а определять автоматически через PeerTest
from i2pd.
Related Issues (20)
- Weird padding calculation for SSU2Session Token Request HOT 6
- Multi Homing issues with address selection HOT 1
- update/fix default values in config file and remove outdated information HOT 3
- understanding spammy error log entries. HOT 7
- undefined reference to i2pd HOT 12
- boost undefined symbol error when linking with mold HOT 2
- [Feature] Reseed on network up HOT 6
- Accept Contributions/PRs from Who Involved in Monero HOT 4
- I2PControl: RouterManager method returns invalid JSON when unknown params are passed
- [BUG] Yggdrasil crashing i2pd HOT 2
- Possible to introduce an alternative GUI based on GTK? HOT 4
- i2pd browser is dead HOT 4
- nullptr deref
- not run on qnap armv7 docker HOT 3
- network dead? HOT 20
- SEGV HOT 5
- Possile ddos mititgation solution HOT 1
- PGP signatures for verifity? HOT 2
- Kubernetes: Port Forwarding configuration HOT 6
- Specify data directory HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from i2pd.