IRCaBot 2.1.0
GPLv3 © acetone, 2021-2022
#dev
/2022/11/25
~R4SAS
~orignal
~villain
&N00B
+relaybot
AreEnn
Guest1042
Guest7650
Most2
Nausicaa
Nikat
Stark
U534
Vort
WebClient23
acetone
anontor2
b3t4f4c3
karamba_i2p
ncop
onon
onon1
poriori_
profetikla
qend
r00tobo
soos
teeth
tetrimer_
uis
un
weko
whothefuckami
колдобина
колдырь
orignal я гляну
orignal надо I18N.cpp сделать
orignal и из хедера убрать и все
orignal сделал
orignal счас все корректно разруливается
R4SAS и что, быстрее стало?
orignal мгновенно как ты говоришь
relaybot 13psiclient: aaaaaa
relaybot 13psiclient: govno
relaybot 13psiclient: 🇺🇦
R4SAS ну норм тогда
R4SAS попозже тоже гляну
R4SAS надо будет еще правки делать в сборке...
R4SAS orignal: ага, нормально
R4SAS мне кажется, или таким образом еще уменьшился размер бинарника...
WebClient18 I am having troubles running XD-torrent client coupled with i2pd daemon. I have explained the problem on this forum topic: zzz.i2p/topics/3471?page=1#
WebClient18 zzz recommended me to ask here, especially to r4sas and acetone.
WebClient18 Are they here?
orignal what's a problem?
WebClient18 XD-client stalls downloading the torrents, roughly after about an hour.
orignal R4SAS конечно уменьшается
WebClient18 I have detailed it on the forum post I linked above.
orignal ты statc map воькнул в хедер ))
WebClient18 I only understand English.
orignal so what's your question? about i2pd or about XD?
WebClient18 About XD.
WebClient18 The question is this:
WebClient18 Here are a list of problems I am having with torrenting over i2pd via XD client:
WebClient18 1- The downloads seems to stall after a couple hours. I get rx=0.00B/sec for all the torrents that I have added (around 50 of them). The postman i2p tracker website shows that there are at least one seeder for the torrents I have added, further, `XD-CLI list` command shows peers for most of my torrents, so it is beyond me why I am not getting any
WebClient18 data downloading.
WebClient18 2- The `sudo journalctl` entries relating to XD client are riddled with [WRN] messages which report "NAMING REPLY RESULT=INVALID_KEY" or, "STREAM STATUS RESULT=CANT_REACH_PEER" for the announce pings to the trackers. What do these mean, and if they are the causes for my torrent downloading woes, I do not know.
WebClient18 3- It seems like restarting the XD service as my user give it a shake and cause it to wake up to downloading the torrent files. But, this lasts for several hours and it once again succumbs into idling and not downloading a thing.
orignal I doubt anybody knows
WebClient18 4- Also, there are some torrents available on postman, that show more than a few active seeders, yet, my XD doesn't find those peers. Why? Again, beyond me.
orignal it was implemted by psi
orignal you have to disgnose yourself
zzz I suggested asking R4SAS and acetone because they have contributed to XD recently: github.com/majestrate/XD/commits/master
WebClient18 Hey zzz !
orignal yes, I know
zzz I also suggest testing with Java I2P router. I agree the bugs are probably on the XD side, but worth a try to prove it
orignal I thought it might be another issue with i2pd's SAM
orignal yes, that's what I suggest too
zzz probably not, but maybe
WebClient18 I will try i2psnark standalone, after reading your post on the forum.
orignal SAM in i2pd contains too many bugs
orignal virtually only gostcoin woroks properly
orignal WebClient18 no
orignal snark wotks fine everywhere
zzz NAMING REPLY RESULT=INVALID_KEY doesn't sound good, I'd start there
orignal you shoudl try XD with Java router
WebClient18 interesting suggestion
orignal funny by I2CP in ip2d works better than SAM
WebClient18 original: can XD-client work with i2cp? It seems like XD-client is designed to work with SAM, only ?
orignal XD uses SAM
zzz there's no non-java I2CP client-side lib or code out there. never been done
orignal i2psnark uses I2CP
orignal zzz we are going to write one based on libi2pd
orignal when we have time ))
zzz that would be nice
orignal libi2pd conatins most of required i2p code
zzz sure
WebClient18 original: if XD-client uses SAM, does java router have SAM capabilities?
orignal SAM should work the same way
orignal in ideal world )))
zzz anyway, WebClient18, try to debug INVALID_KEY, that sounds like a problem
orignal that's not what he wants
orignal he wants somobody to solve the problem ))
WebClient18 isn't that we all want?
orignal some people want to find the problem themselves
WebClient18 zzz I don't think I have the skillset to "debug" that error. Best I can do is try i2p java router with XD-client and see if it works. See the logs if that line is still there or not. If XD-client keeps not-working, then I will switch to i2psnark, as I am out of options.
WebClient18 zzz debian bookworm repo has i2p 1.9.0. Is that OK for by "debug" purposes?
zzz sure, give it a try
zzz orignal, if there were big i2pd SAM problems I think the bitcoin core people would find them first
orignal zzz definitly it works with coins properly
zzz WebClient18, this is how everybody learns to code, by trying to fix somebody else's problem, give it a try
orignal but it doesn't cover all possible use cases
zzz sure
orignal also works with pboted ... after polistern has pointed me to crashes ))
WebClient18 I downloaded and set up java i2p from debian repos. Restarted the XD-client
WebClient18 it is showing the following error now:
WebClient18 failed to create i2p session: dial tcp 127.0.0.1:7656: connect: connection refused
WebClient18 how can I resolve this?
zzz start sam on /configclients
WebClient18 Done. XD-client stopped complaining abput the 7656 port.
WebClient18 Now it is complaining about failed to resolve peer NAMING REPLY RESULT=KEY_NOT_FOUND NAME=blablablblal....b32.i2p
WebClient18 I am thinking that this might due to insufficient number of tunnels/connections built yet ?
WebClient18 XD-client is downloading faster now, that's for sure.
orignal zzz, do you know if it uses datagrams or streams?
WebClient78 There are also STREAM STATUS RESULT=CANT_REACH_PEER MESSAGE="Unsupported encryption options" logs I see on journalctl from XD-client
zzz orignal, it doesn't support DHT so it should be streams-only
weko выдаёт ошибку при сборке i2pd-tools
weko libi2pd/Crypto.cpp: In function ‘void i2p::crypto::HKDF(const uint8_t*, const uint8_t*, size_t, const std::string&, uint8_t*, size_t)’:
weko libi2pd/Crypto.cpp:1305:71: error: invalid conversion from ‘const char*’ to ‘const unsigned char*’ [-fpermissive]
weko 1305 | EVP_PKEY_CTX_add1_hkdf_info (pctx, info.c_str (), info.length ());
weko | ~~~~~~~~~~~^~
weko | |
weko | const char*
weko пакеты последние, команда make
orignal компилятор какй?
weko g++
orignal верися какая
weko 12.2.0
orignal дело скорее всего в нем
weko yb;t yflj&
weko ниже надо?
orignal нет
orignal откуда у тебя libi2pd?
orignal EVP_PKEY_CTX_add1_hkdf_info (pctx, (const uint8_t *)info.c_str (), info.length ());
orignal вот что в текущем коде
weko рекурсивно скопировалось
weko понял, сейчас посмотрю
orignal обновим сабмодуль
orignal то есть когда 12 появился эту проблему починили
weko да... скачался какой то коминт 21 года
weko обновлю и попробую
Orion у меня такая же ошибка
Orion только при сборке i2pd
Orion видимо openssl не нравится
orignal какая такая же?
weko гит короче что-то не понятное сделал с ветками.
weko сейчас нормально всё, идёт сборка
orignal Orion давай рассказывай
Orion щас. собирается
Orion у меня openssl 3.2
Orion на 1.1 такой проблемы нет
orignal так надо проверить
orignal с 3.0 собирается
orignal он на убунту 22.04
orignal если именно с 3.2 я погляжу
orignal откуда ты взял 3.2? его на сайте openssl.org нету ))
Orion Crypto.cpp:(.text+0x2bbe): неопределённая ссылка на «EVP_PKEY_CTX_set_hkdf_md»
Orion тьфу
Orion щас
orignal ты чем собирал?
Orion make
orignal не должно быть такого
orignal я ж собираю
orignal может у тебя либа не подхватилась при линковке?
Orion уже пару недель как.
Orion я связал именно с версией опенссл
orignal так а openssl откуда?
orignal может ты как то криво собрал или поставил?
Orion openssl из исходников
orignal #if (OPENSSL_VERSION_NUMBER >= 0x010101000) // 1.1.1
orignal #define OPENSSL_HKDF 1
orignal Makefile.linux правил?
Orion хм. честно говоря думал про makefile.linux и не вспомнил
orignal смотри
orignal LDLIBS += -L/home/i2pd/openssl-1.1.1k -lcrypto -lssl -lz -L/home/i2pd/boost_1_75_0/lib -lboost_system -lboost_date_time -lboost_filesystem -lboost_program_options -lpthread
Orion после возникновения ошибки наверняка правил
orignal у меня вот так исправлена
orignal и CXXFLAGS ?= ${CXX_DEBUG} -I/home/i2pd/openssl-1.1.1k/include -I/home/i2pd/boost_
orignal 1_75_0/include -Wall -Wextra -Wno-unused-parameter -pedantic -Wno-psabi
orignal понимаешь вот надо так править если сам собираешь
Orion кстати, не правил. ничего не менял
orignal а openssl как новый тогда подхватился?
Orion openssl автоматом собирается раз в неделю
orignal значит криво собрался или поставился
orignal не с той либой линкуется
orignal weko ну это понятно
orignal я малось RouterInfo почистил
orignal там надо на LocalRouterInfo поменять
orignal поправлю
weko хорошо, я пока что на другой комит поменяю наеврное i2pd
weko чтобы собраться сейчас
orignal да это давно уже поменялось
weko насколько?
weko просто выходит слишком старое не соберёт, слишком новое тоже
orignal да уже наверное пара релизов как
weko я не знаю, но в прошлый раз собиралось. может компилятор был другой версии
orignal нет у тебя был код i2pd старый
weko был, и компилятор более старой версии его собирал
orignal да починю я
weko окей
orignal ну да потому что он не проверял
weko я просто пишу почему оно в прошлый раз собралось, а сейчас нет
weko гит видимо по умолчанию что-то старое качает
weko а точнее всё новое кроме ветки openssl, в которй уоминт 21 года
weko коммит*
orignal у тебя похоже еще и i2pd-tools старый
weko 4835013d9ef113df33730968eb83b469412b83d5
weko послений коммит
orignal у меня все собирается
weko на 12 ?
Orion похоже действительно дело в линковке. щас разберемся)
orignal нет
orignal он тут дело не в компиляторе
orignal погоди
weko собрал ещё раз
weko тоже самое
weko версия последняя
weko всего
orignal че то странное да счас проверим
orignal все ясно у меня версия старая
orignal починил
orignal забирай
weko теперь это
orignal ты последний i2pd взял?
orignal ты последний коммит i2pd не взял
weko сейчас посмотрю
weko да, я понял, угу. сейчас соберу