From 30eb1f4382b61b47a0b90fe9042165e594745ec2 Mon Sep 17 00:00:00 2001 From: MDLeom <43627182+curbengh@users.noreply.github.com> Date: Sat, 21 Mar 2020 00:08:55 +0000 Subject: [PATCH 1/2] docs: add zlib1g-dev as dependency --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 778084b..828a1fc 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,7 @@ Notice: git submodules are used so make sure to clone this repository recursivel * boost filesystem * boost program-options * libssl +* zlib1g ```bash @@ -24,7 +25,8 @@ depend="libboost-chrono-dev \ libboost-program-options-dev \ libboost-system-dev \ libboost-thread-dev \ - libssl-dev" + libssl-dev \ + zlib1g-dev" kernel=`uname -a` case "$kernel" in From 81abb2061175526fa9d379bd4c5a2803acb263f2 Mon Sep 17 00:00:00 2001 From: MDLeom <43627182+curbengh@users.noreply.github.com> Date: Sat, 21 Mar 2020 00:21:32 +0000 Subject: [PATCH 2/2] docs: add guide for regaddr --- README.md | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 828a1fc..1856514 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ esac ### Building - make + make ## Tools included @@ -130,15 +130,23 @@ Print all info about the public key ./keyinfo -v privatekey.dat -### regaddr_3ld +### regaddr + +Generate authentication string to register a domain on stats.i2p + + ./regaddr domain.dat domain.i2p > auth_string.txt + cat auth_string.txt -Generate authentication string for stats.i2p in 3 steps +Send output of auth_string to http://stats.i2p/i2p/addkey.html +To register a subdomain, use [`regaddr_3ld`](#regaddr_3ld) + +### regaddr_3ld -#### +Generate authentication string to register a subdomain on stats.i2p in 3 steps ./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 cat step3.txt -Send output from step3 to http://stats.i2p/i2p/addkey.html to register subdomain on stats.i2p +Send output from step3 to http://stats.i2p/i2p/addkey.html