IRCaBot 2.1.0
GPLv3 © acetone, 2021-2022
#dev
/2022/01/04
~R4SAS
~orignal
~villain
&N00B
+relaybot
AreEnn
Guest1042
Guest7650
Leopold
Nausicaa
Nikat
Stark
U534
Vort
WayBest
WebClient23
acetone
anontor2
b3t4f4c3
itsAMe
karamba_i2p
ncop
onon
onon1
polistern
poriori
profetikla
qend
r00tobo
soos
teeth
uis
un
whothefuckami_
колдобина
колдырь
RedFox Blinded message
RedFox orignal: это нормально при заданном флаге O?
RedFox вроде ограничение 256
orignal счас
orignal оно не точно
orignal потом упадет
orignal только картинку удали
orignal а то у тебя там идентификатор роутера
exokientic Blinded message
exokientic so like.... has irc.ilita.i2p been flaky for anyone else?
orignal it's fine
exokientic would it be odd if
exokientic Blinded message
exokientic if the number of visible routers just kept going up....
exokientic Routers: 10494 Floodfills: 2473
exokientic like, how "large" a picture of the network is my router going to attempt to maintain?
exokientic and is that more like.... algorythmically controlled? ;D
loaded Есть кто нибудь ?
AVATARJFVULGARDISPLAYOFPOWER чё нада иди кодь
AVATARJFVULGARDISPLAYOFPOWER loaded, кодить будешь или ты нахуй тут попездеть пришёл
AVATARJFVULGARDISPLAYOFPOWER или третье дано блять
loaded Я пришел с миром , и странной херней в рутере )))
AVATARJFVULGARDISPLAYOFPOWER иди иссуй в гитхаб пешы
AVATARJFVULGARDISPLAYOFPOWER нехуй чат засирать
loaded Дык акаунта то нихт ! Вот пришел в Иркуь , обратился к одним и меня какие то едкие жидкости послали сюда о помощи просить )))
AVATARJFVULGARDISPLAYOFPOWER денег давай
AVATARJFVULGARDISPLAYOFPOWER развели тут тунеядцев
loaded Так я тут серверок хостю , не тунеядец вроде ))))
loaded А тут вдруг кикието Симетричные НАТО , а теперь вообще стены огня )))
R4SAS мамкины анонимусы
R4SAS пикчи с идентификатором кидают
R4SAS В сети: 7 дней, 19 часов, 31 минуту, 37 секунд
R4SAS Сетевой статус: OK
R4SAS Сетевой статус v6: OK
R4SAS Успешно построенных туннелей: 51%
R4SAS Получено: 74.90 ГиБ (142.29 КиБ/с)
R4SAS Отправлено: 68.62 ГиБ (115.10 КиБ/с)
R4SAS Транзит: 65.68 ГиБ (113.80 КиБ/с)
R4SAS Роутеры: 4522 Флудфилы: 1777 Лизсеты: 0 лиентские туннели: 49 Транзитные туннели: 616
R4SAS openwrt
orignal а что с памятью?
R4SAS многовато
R4SAS 10177 1 i2pd S 37212 30% 10% /usr/sbin/i2pd
orignal ладно буду думать дальше
R4SAS проц в среднем 15%
R4SAS а так, если бы это всё крутилось на роутере прямо, то уже сдох бы
R4SAS ибо хранить эту мелочь съедает более 8 мб
R4SAS из-за размера блока 4К
R4SAS а вот через nfs как видно, на официальных wrt сборках нормально работает
orignal а так где?
orignal ладно убедил насчет netdb
R4SAS не только netDb, peerProfile
R4SAS адреска тоже
R4SAS смотрим на размер папки на сервере NFS:
R4SAS # du -sh i2pd/
R4SAS 63M i2pd/
R4SAS # cd i2pd/
R4SAS # du -sh *
R4SAS 19M netDb
R4SAS 42M peerProfiles
R4SAS 2,0M addressbook
R4SAS тонкий намек
R4SAS каждый пирпрофиль - 112-120 байт
R4SAS превращаются в 4Кб
orignal да с ним понятно
orignal а вот с netdb
orignal zzz what do you think?
orignal bacially the problem is
orignal every RI file allocates at least 4K
orignal although actual szie is 1K
R4SAS там так же, от 700 байт до 2 кб, записываются в блок 4K
orignal ну вот надо думать
zzz sure, if the filesystem uses 4K blocks
orignal so it's old topic to change netdb format
orignal like use tar files, etc.
R4SAS zzz: we must think about some flat file format for netdb, peerprofiles
orignal because it's important for openwrt and other small devices
orignal R4SAS peerProfiles is i2pd format
orignal we don't need to have zzz involved
orignal while netdb format is common for i2pd and Java
R4SAS anyway, netdb solution can be applied to other things
zzz why does it need to be common?
R4SAS to be portable
zzz like for manual reseeding by copying files?
orignal zzz, because monkeys like to ban reseeds
orignal and people ofter copy netdb folder
orignal *often
zzz we have console form to support both directions: Create reseed zip file, and reseed from local zip file. No monkeys required ))
zzz if you have those features, then you can change your disk format
R4SAS нормально шпарит
R4SAS s2#1
R4SAS Uptime: 12 days, 22 hours, 34 minutes, 16 seconds
R4SAS Network status: OK
R4SAS Network status v6: OK
R4SAS Tunnel creation success rate: 68%
R4SAS Received: 1272.85 GiB (2121.67 KiB/s)
R4SAS Sent: 1259.96 GiB (2211.52 KiB/s)
R4SAS Transit: 1166.05 GiB (1986.87 KiB/s)
R4SAS Routers: 5660 Floodfills: 1916 LeaseSets: 0
R4SAS Client Tunnels: 223 Transit Tunnels: 2439
R4SAS s2#2
R4SAS Uptime: 27 days, 20 hours, 52 minutes, 58 seconds
R4SAS Network status: OK
R4SAS Network status v6: OK
R4SAS Tunnel creation success rate: 83%
R4SAS Received: 884.09 GiB (481.24 KiB/s)
R4SAS Sent: 854.09 GiB (448.57 KiB/s)
R4SAS Transit: 741.70 GiB (413.65 KiB/s)
R4SAS Routers: 7330 Floodfills: 1853 LeaseSets: 91
R4SAS Client Tunnels: 299 Transit Tunnels: 1773
R4SAS s2#3
orignal неплохо
R4SAS Uptime: 29 days, 19 hours, 31 minutes, 30 seconds
R4SAS Network status: OK
R4SAS Tunnel creation success rate: 47%
R4SAS Received: 3341.23 GiB (2307.89 KiB/s)
R4SAS Sent: 3173.75 GiB (2259.22 KiB/s)
R4SAS Transit: 3168.48 GiB (2250.79 KiB/s)
R4SAS Routers: 5643 Floodfills: 1902 LeaseSets: 0
R4SAS Client Tunnels: 44 Transit Tunnels: 2630
R4SAS s4#1
R4SAS Uptime: 6 days, 10 hours, 14 minutes, 41 seconds
R4SAS Network status: OK
R4SAS Network status v6: OK
R4SAS Tunnel creation success rate: 59%
R4SAS Received: 527.58 GiB (1329.84 KiB/s)
R4SAS Sent: 504.87 GiB (1271.77 KiB/s)
R4SAS Transit: 493.82 GiB (1227.25 KiB/s)
R4SAS Routers: 5070 Floodfills: 1855 LeaseSets: 0
R4SAS Client Tunnels: 55 Transit Tunnels: 1465
R4SAS s4#2
R4SAS Uptime: 21 days, 5 hours, 33 minutes, 15 seconds
R4SAS Network status: OK
R4SAS Network status v6: OK
R4SAS Tunnel creation success rate: 67%
R4SAS Received: 687.27 GiB (461.34 KiB/s)
R4SAS Sent: 650.92 GiB (469.71 KiB/s)
R4SAS Transit: 593.74 GiB (428.08 KiB/s)
R4SAS Routers: 7182 Floodfills: 1823 LeaseSets: 93
R4SAS Client Tunnels: 66 Transit Tunnels: 1775
R4SAS маловато что то, но пойдет
R4SAS на s4#1 с туннелями игрался пару раз, вот и упало
R4SAS тот ш2зв где рег стоит опять начал жрать больше
R4SAS сейчас 150 мб
orignal ну так ты знаешь причину
R4SAS а рядом стоящий с транзитом - 52
orignal в unordered_map для тагов
orignal дело именно в тагах
R4SAS ну знаю, только вот что оно не читстится и не используется память повторно - жопа
R4SAS zzz: that's why I didn't like work with dr|zed
R4SAS > bunch of crap
zzz I'm the one that said bunch of crap, wasnt serious
R4SAS If you try to understand his proposal to our webconsole, you'll understand what I mean :D
orignal R4SAS у тебя дебиан 10 там да?
R4SAS orignal: да
orignal это проблема с gcc 8
R4SAS я могу чем то другим собрать, раз ты на это грешишь
R4SAS в статику соберу
orignal так писали
orignal компилятор нельзя до 10 обновить?
R4SAS нет
R4SAS хотя...
R4SAS надо посмотреть в backports
exokientic i2pd crashed, this time, core file with debugging flags
R4SAS exokientic: let's see what happen
exokientic Program terminated with signal SIGABRT, Aborted.
exokientic #0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
exokientic 50 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
exokientic [Current thread is 1 (Thread 0xaedff440 (LWP 15760))]
exokientic that is what gdb reports initially
R4SAS bt full
R4SAS and put to paste
exokientic will get you a pastebin
exokientic okay, fired off the 'bt full'
exokientic its outputting
exokientic will copy into a pastebin when its done
R4SAS orignal: нету бэкпорта, так что в докере на bullseye соберу
R4SAS статикой
orignal или попробуй шлангом
R4SAS м... тоже идея
orignal или его тоже нет?
R4SAS есть
R4SAS ставить надо
orignal exokientic you have a lot of transit I guess
orignal that's why so many routers
R4SAS там шланг 7.0
R4SAS exokientic: hmmm
R4SAS i2p::fs::HashedStorage::Remove
exokientic thanks original
R4SAS that's strange
R4SAS why i2p::client::AddressBookFilesystemStorage::RemoveAddress called when i2p::client::AddressBook::LoadHostsFromStream executed
R4SAS looks like that happens when addressbook fetched updated record
R4SAS exokientic: can you try to find out if /var/lib/i2pd/addressbook/bv/v65p4czypwxrn35zlrfkar2w77vr42acd7gbszegsrqq4u7sip5a.b32 exists?
R4SAS looks loke it is exists, but can't delete
R4SAS like*
exokientic yes it exists
exokientic -rw-r--r-- 1 root root 391 Jan 3 00:27 v65p4czypwxrn35zlrfkar2w77vr42acd7gbszegsrqq4u7sip5a.b32
R4SAS haha
R4SAS classic
R4SAS root:root
R4SAS chown -R i2pd:i2pd /var/lib/i2pd
exokientic this is probably "my fualt"
exokientic I wanted to run i2pd with systemctl after building from source
exokientic so I created the approriate directories and copied the apporiate files into the,
exokientic but, I didnt know how I should set the permissions >.<
R4SAS are you added i2pd user?>
R4SAS service starts i2pd as `i2pd` user
R4SAS but anyway, here try {} catch {} must be added I think
exokientic I have not added an uses either
exokientic users**
R4SAS in that case if you're using default service file, you can't start it
R4SAS because i2pd user is not exist
R4SAS so how are you starting it?
R4SAS changes service file?
R4SAS changed*
exokientic okay, I placed the service file in /etc/systemd/service
exokientic only change I made to i2pd.service was to enable LimitCORE=infinity...
exokientic changed --tunnelsdir to:
exokientic --tunnelsdir=/etc/i2pd/tunnels.d
R4SAS you can do easier way
exokientic becuase my tunnels config folder was titled tunnels.d, not tunnels.conf.d
R4SAS install package
R4SAS and rewrite /usr/sbin/i2pd with your binary
R4SAS that's all
exokientic It seemed like I made it way more complicated than necessary >.<
exokientic to be clear, i2pd failed this time because of my messed up install (folder permissions)?
R4SAS here no failture check with `try {} catch {}` block
exokientic "rewrite /usr/sbin/i2pd with your binary"
exokientic I dont suppsoe you could give me a little more detail on completeing that?
exokientic after 'make install'
exokientic exactly what should I do?
R4SAS from sources directory
R4SAS cp i2pd /usr/sbin/i2pd
R4SAS and here no `make install`
R4SAS forget about it
exokientic and then, how to run i2pd
exokientic just go /usr/sbin and fire off './i2pd' ??
exokientic and in that case; where is the i2pd.config file that is being used?
R4SAS systemctl start i2pd
R4SAS as always
R4SAS /etc/i2pd/*
R4SAS tunnels.conf.d will be symlinked by /var/lib/i2pd/tunnels.d
R4SAS orignal: так что будем делать с хранением?
orignal думать )))
orignal я пока не готов к этому разговору
orignal думаю файлами где все RI начинающиеся на одну и ту же букву хранятся
R4SAS хотя бы так
R4SAS только под виндами будет опять путаница
orignal ну это навскидку
R4SAS ибо винде пофиг на регистр
orignal ну там будет вполовину меньше
orignal я в курсе
orignal смотри первые коммиты как это фиксил
R4SAS где?
R4SAS во времена царя гороха?
orignal ну да в самом начале
orignal под виндой оказалась эта вроблема
orignal что регистры букв неотличимы
R4SAS понять бы где
orignal не помню
R4SAS RouterInfo::LoadFile - не вижу ничего странного
orignal я думал в FS.cpp где то
R4SAS тоже не вижу странностей
orignal а ты посмотри под виндой
orignal там точно все пишутся или только половина RI
orignal а то мало ли чего хаген нахимичил
R4SAS все пишутся
orignal на а в начале хрень была
orignal под виндой
R4SAS я вижу только такое
R4SAS m_Storage.Init(i2p::data::GetBase64SubstitutionTable(), 64);
R4SAS orignal: кстати, как из b64 получить b32?
R4SAS это sha256 от байтовой версии b64?
orignal переводишь в бинакрный вид
orignal затем sha256 от него
orignal затем в base32
R4SAS base64_decode, sha256, base32_encode?
R4SAS попробую...
orignal так точно ))