A detailed study of i2pd is worthy of respect. This article is similar in spirit to router administration skills, but focuses on a slightly different but important topic: a toolbox that includes a number of useful utilities. i2pd-tools, ladies and gentlemen!
keygen - key generation
vain - generation of keys from a template (miner of beautiful addresses)
keyinfo - information about keys
b33address - getting an address for an encrypted lysset
regaddr - register a short domain in the .i2p zone
regaddr_3ld - registration of a third-level domain in the .i2p zone
regaddralias - bind short domain to new keys
offlinekeys - using temporary keys for security purposes
routerinfo - information about the router
x25519 - generation of encryption keys
i2pbase64 - base64 encoding and decoding
Compiling utilities
, -. , : , .
: . : git clone --recursive https://github.com/purplei2p/i2pd-tools
. , dependencies.sh
. , C++ make , boost openssl.
, git, g++ make : sudo apt install git g++ make
. Windows – MSYS2, : pacman -S git make mingw-w64-x86_64-gcc
. MSYS2 ( , chmod +x dependencies.sh
). , make
.
keygen
, . . , , - , keygen. : keygen . EDDSA-SHA512-ED25519 ( 7), I2P-. , . , . README.
vain
- keygen ( ). vain (vanitygen). (vanity – «») . : .
. . , , . , , . , -t
(--threads
).
6 , . README. vain EDDSA-SHA512-ED25519 (7), .
keyinfo
- i2pd . , . -, . , .
: -v
– «verbose», ; -d
– «destination», base64, -b
– «b33» («bb32»), ( ).
, (). ( ).
«Destination Hash». , , – , . , , .
b33address
keyinfo -b
. b33address , , base64. ( b33 bb32, ), 11. b33address .
, bb32 keyinfo. , keyinfo. keyinfo , b33address. , , . , , keyinfo, .. b33address keyinfo -b, .
regaddr
«site.i2p» reg.i2p stats.i2p ( – PurpleI2P, – Java-).
: , , . . regaddr ( 2.37.0 i2pd -). : , .
regaddr , : , , , – . . keyinfo -d
. .
, , , . verifyhost, reg.i2p. bash , , ( ).
, verifyhost , .
regaddr_3ld
:
./regaddr_3ld step1 sub_domain.dat sub.domain.i2p > step1.txt
:
./regaddr_3ld step2 step1.txt domain.dat domain.i2p > step2.txt
:
./regaddr_3ld step3 step2.txt sub_domain.dat > step3.txt
step3.txt.
regaddralias
, , regaddralias. , ( ). , .
: .
offlinekeys
I2P - (offline keys), . , , , . , , , . - .
, – , «Offline signature» .
routerinfo
I2P- netDb. . , , RouterInfo (RI). IP- ( ).
-p
( IP-). -f
iptables I2P- ( , ). -6
IPv6 , .
x25519
i2pbase64
- , (, ). , . , , I2P base64. base64 I2P : +
-
, /
~
. base64- -, +
/
: (addresshelper).
, . . i2pbase64 i2pd-tools . , , .
famtool : family – . , , zzz ( Java-), family , . , , , , – family . , famtool , .
- ITSOFT.