@Xeha
@orignal
Arch
CIVINULL
Danny
Irc2PGuest39724
Irc2PGuest71246
Meow
Over
R4SAS
RN
RN_
acetone
anon4
aside
b3t4f4c3__
cancername
enoxa
eyedeekay
hagen_
hk
poriori_
r00tobo_BNC
r3med1tz-
rapidash
shiver_
u5657
weko
x74a6
yeti
Pandora
i cant make a request to i2pcontrol and don't know why
Pandora
im looking at the docs and trying to call the authenticate method
Pandora
i get an empty response from the server and the only thing in the i2pd logs is: I2PControl: Handshake error: http request
Pandora
this is what i'm trying: curl -v -X POST -H 'Content-Type: application/json' -d '{ "id": "id", "method": "Authenticate", "params": { "api":"1.0", "password":"itoopie", }, "jsonrpc": "2.0"}' 127.0.0.1:7650
Pandora
tried setting the log level to debug and still no hints, just the same message
Pandora
*face palm*
Pandora
Just reading through the i2pd source and it's using https for the api interface
Pandora
that error message makes sense now haha
Pandora
doesn't like Api version 1 for some reason though
Pandora
does i2pd not use this? geti2p.net/en/docs/api/i2pcontrol
Pandora
i can only see API, version 1.
Pandora
so i got past this: I2PControl: Exception when handle request: No such node (API)
Pandora
and now get this: I2PControl: Exception when handle request: conversion of data to type "i" failed
Pandora
:D nice! this worked if anyone is trying to do this: curl -v --insecure -X POST -H 'Content-Type: application/json' -d '{"id":"id","method":"Authenticate","params":{"API":1,"Password":"itoopie"},"jsonrpc":"2.0"}' 127.0.0.1:7650
Pandora
ah ok, so i got this working and no luck, the control interface doesn't give me a list of peers, just the number of peers it knows about sadly
Pandora
will try and compile the i2pd-tools on a more recent system
Pandora
that's weird, it doesn't even start compiling now
Pandora
installed the dependancies via the provided script
Pandora
my bad, i'm just up way to late again, compiling now
Pandora
XD
Pandora
that's sick AF
Pandora
to enumerate all known routers:
Pandora
find /var/lib/i2pd/netDb/ -type f -name "*.dat" -exec ./routerinfo -f {} \; 2>/dev/null
Pandora
spits out iptables rules for all routers or the output can be parsed easily enough
Pandora
thank you guys so much for your help especially weko: and original:
Pandora
<3
weko
Pandora: ))
Pandora
^.^
Pandora
i wrote a script to convert the output into a csv file and only append new nodes each time it's run
Pandora
its interesting, i set the script to run every 30 seconds and in the past hour it's found an extra 200 nodes. I still can't find all nodes as i'm bound to not be able to reach some nodes but at this rate if this was left running 24/7 that would find a lot of nodes right?
Pandora
i'll let it go for as long as i can on my test setup and see what the numbers look like, it might level off at a certain point but if not then it's possible an attacker could be doing the name thing and can use their own list to get my isp to block i2p access or at least make it really difficult when my fail over kicks in and tries to use it
weko
Pandora: ))
Pandora
lol what does )) mean? o.o
anon
Russians have other keyboard layout, so it is harder to type ":)", so they type "))".
Pandora
ahhh ok, i didn't know that thanks ^.^
Pandora
Wish i knew how to read and speak russian, there's a lot of russian stuff in this scene it's pretty cool
weko
Smile
weko
Like :)
Pandora
^.^
weko
But just )
weko
xD
Pandora
ah ok )