IRCaBot 2.1.0
GPLv3 © acetone, 2021-2022
#i2pd-dev
/2021/12/19
psi R4SAS: my i2p box died a bit ago
psi the box decided to emit grey smoke and fry the main board
psi like last year
R4SAS psi: ah, ok
psi xd v0.4.2 tagged tho
psi with ur fuix
psi fix
R4SAS I know, already switched everyone who used it
R4SAS you know footprint of changes?
R4SAS <+R4SAS> postman: when downloaded size bigger than torrent size (due to overhead for example), code tried to do substraction from lesser value (total - downloaded) and that causes overflow for uint64, and value
R4SAS sets to 2^64-overhead
R4SAS maybe incorrect calculation of downloaded size
R4SAS because as I see, here only pieces * size
R4SAS that one: have := uint64(bf.CountSet()) * uint64(t.meta.Info.PieceLength)
R4SAS so it can be incorrect because last piece data size can be lesser than piece size itself, isn't it?
psi i haven't looked at the code in a while
R4SAS psi: if ur tracker die, maybe remove it from code, because it is written to trackers.ini every start
psi what should i use?
R4SAS I see now alive 4 trackers
R4SAS dg, thebland, skank, chudo
R4SAS i think I'll add my tracker too
R4SAS but at first, I need to create tunnels, because it works only in ygg now
psi i ran go fmt
R4SAS psi: dupe with skank and chudo
R4SAS same b32
psi fixed
anontor Do you guys know where i2pd.conf installed as a snap on ubuntu is supposed to be located to make changes? There are several i2pd.conf located in different places and most of them are in read only mode and the one located in/var/snap/i2pd/341/datadir/ does not seem to be read even after restarting i2pd.
anontor I also tried to put one in home directory folder named i2pd and that did not work.
R4SAS anontor: check webconsole for path
user I am assuming that this command causes i2pd to re-read the file ?
Irc2PGuest60921 repost in case you did not see my response I did that does not seem to stick. /var/snap/i2pd/341/datadir/
Irc2PGuest60921 I am assuming that this command causes i2pd to re-read the file ? sudo service snap.i2pd.daemon restart?
anontor I am trying to get irc2p to use tor when using the i2pd socks proxy and not connecting to a i2p site.
anontor R4SAS: I have this file in /var/snap/i2pd/341/datadir i2pd.conf zerobin.net/?0de5848c63518503#/rfdEwTyLLKEZSTrRlTeTkdPaRAe/ZoxSCM0zr4dOww=
Xeha anontor: dont connect to IRC via socks proxy, but use an IRC client tunnel.
anontor I am able to connect with tunnels using tunnels.conf but for some reason i2pd.conf settings for socksproxy with the outproxy enabled and host and port pointing to system tor did not route non i2p traffic to tor.
anontor also sudo i2pd.reload-tunnels-conf and sudo i2pd.graceful-shutdown don't work in the terminal graceful shutdown may work in the webconsole. I have not tried it yet. this is i2pd snap in ubuntu
anontor this error shows in terminal:
anontor /snap/i2pd/341/command-reload-tunnels-conf.wrapper: 1: /snap/i2pd/341/command-reload-tunnels-conf.wrapper: cat /var/snap/i2pd/341/datadir/i2pd.pid: not found
anontor kill: failed to parse argument: '': No such file or directory
anontor similar error with graceful shutdown
anontor its probably a permission issue because i2pd.pid is there.
Xeha or just dont use snap
Xeha HUP or USR1 signal reloads the config
anontor Xeha: thanks. What about the issue with outproxy using the i2p socks5 should use tor on all non i2p traffic?
anontor also I like snaps :). What HUP signal are you talking about in particular? I remember using one in tor before but I forgot the command.
Xeha i dont like proprietary systems, hence no snap
Xeha how did you set the outproxy settings?
Xeha no js
anontor Xeha: I took out comments and a "," represents a new line. This is what I assume is the relevant part.
anontor [socksproxy], enabled = true,address = 127.0.0.1,port = 4447,outproxy.enabled = true,outproxy = 127.0.0.1,outproxyport = 9050
Xeha What do you get (like with curl -v) when trying to reach non i2p things?
anontor Xeha: no it seems to connect. Maybe it is the irc client i am using but the client works fine when the tor port is used directly 9050
anontor I tried .onion and clearnet and both seemed to connect.
anontor Xeha: HUP signal worked thanks.
anontor Xeha: apparently its some weird irc client issue because firefox using the socks5 i2p proxy resolves clearnet and .onion just fine.
Xeha did you set it up as socks5/socks4a (not socks4)
anontor socks5 for the irc client
Xeha i ment the proxy type in your irc client
anontor yes socks5 4447 irc client
anontor switching to 9050 works fine. but the workaround is that i can use tunnels for i2p which is apparently more secure :)
anontor and the socks 4447 works fine for i2p sites.
anontor on the irc client
anontor i am using konversations through snap i guess its possible its triggering something with apparmor but I kind of doubt it.
anontor weird error
anontor Xeha: apparently this is some old bug. bugs.kde.org/show_bug.cgi?id=252500