This tool provides a secure and efficient reseed server for the I2P network. There are several utility commands to create, sign, and validate SU3 files. Please note that this requires at least Go version 1.13, and uses Go Modules.
If you have go installed you can download, build, and install this tool with go get
go get i2pgit.org/idk/reseed-tools
i2p-tools -h
To make it easier to deploy reseeds, it is possible to run this software as a Docker image. Because the software requires access to a network database to host a reseed, you will need to mount the netDb as a volume inside your docker container to provide access to it, and you will need to run it as the same user and group inside the container as I2P.
When you run a reseed under Docker in this fashion, it will automatically generate a self-signed certificate for your reseed server in a Docker volume mamed reseed-keys. Back up this directory, if it is lost it is impossible to reproduce.
Please note that Docker is not currently compatible with .onion reseeds unless you pass the --network=host tag.
docker run -itd \
--name reseed \
--publish 443:8443 \
--restart always \
--volume $HOME/.i2p/netDb:$HOME/.i2p/netDb:z \
--volume reseed-keys:/var/lib/i2p/i2p-config/reseed \
eyedeekay/reseed \
--signer $YOUR_EMAIL_HERE
docker run -itd \
--name reseed \
--user $(I2P_UID) \
--group-add $(I2P_GID) \
--publish 443:8443 \
--restart always \
--volume /PATH/TO/USER/I2P/HERE/netDb:/var/lib/i2p/i2p-config/netDb:z \
--volume reseed-keys:/var/lib/i2p/i2p-config/reseed \
eyedeekay/reseed \
--signer $YOUR_EMAIL_HERE
In many cases I2P will be running as the Debian system user i2psvc. This
is the case for all installs where Debian's Advanced Packaging Tool(apt) was
used to peform the task. If you used apt-get install this command will
work for you. In that case, just copy-and-paste:
docker run -itd \
--name reseed \
--user $(id -u i2psvc) \
--group-add $(id -g i2psvc) \
--publish 443:8443 \
--restart always \
--volume /var/lib/i2p/i2p-config/netDb:/var/lib/i2p/i2p-config/netDb:z \
--volume reseed-keys:/var/lib/i2p/i2p-config/reseed \
eyedeekay/reseed \
--signer $YOUR_EMAIL_HERE
i2p-tools reseed [email protected] --netdb=/home/i2p/.i2p/netDb --port=8443 --ip=127.0.0.1 --trustProxy
i2p-tools reseed [email protected] --netdb=/home/i2p/.i2p/netDb --tlsHost=your-domain.tld
If this is your first time running a reseed server (ie. you don't have any existing keys), you can simply run the command and follow the prompts to create the appropriate keys, crl and certificates. Afterwards an HTTPS reseed server will start on the default port and generate 6 files in your current directory (a TLS key, certificate and crl, and a su3-file signing key, certificate and crl).
Get the source code here on github or a pre-build binary anonymously on
http://reseed.i2p/ http://j7xszhsjy7orrnbdys7yykrssv5imkn4eid7n5ikcnxuhpaaw6cq.b32.i2p/
also a short guide and complete tech info.
Requires go mod and at least go 1.13. To build the idk/reseed-tools
fork, from anywhere:
git clone https://i2pgit.org/idk/reseed-tools
cd i2p-tools-1
make build
./i2p-tools-1 reseed [email protected] --netdb=/home/i2p/.i2p/netDb --littleboss=start
./i2p-tools-1 reseed [email protected] --netdb=/home/i2p/.i2p/netDb --onion --i2p --p2p
./i2p-tools-1 reseed [email protected] --netdb=/home/i2p/.i2p/netDb --p2p
./i2p-tools-1 reseed [email protected] --netdb=/home/i2p/.i2p/netDb --github --ghrepo=i2p-tools-1 --ghuser=eyedeekay
./i2p-tools-1 reseed [email protected] --netdb=/home/i2p/.i2p/netDb --i2p
./i2p-tools-1 reseed --tlsHost=your-domain.tld [email protected] --netdb=/home/i2p/.i2p/netDb --onion
./i2p-tools-1 reseed --tlsHost=your-domain.tld [email protected] --netdb=/home/i2p/.i2p/netDb --onion --p2p
./i2p-tools-1 reseed --tlsHost=your-domain.tld [email protected] --netdb=/home/i2p/.i2p/netDb --onion --p2p --littleboss=start
Content type
Image
Digest
Size
348.8 MB
Last updated
over 5 years ago
docker pull eyedeekay/reseed