Giter VIP home page Giter VIP logo

Comments (1)

bitcoin-tools avatar bitcoin-tools commented on August 17, 2024

Here is a working example of I2P on Ubuntu 24:

● i2pd.service - I2P Router written in C++
     Loaded: loaded (/usr/lib/systemd/system/i2pd.service; enabled; preset: enabled)
     Active: active (running) since Thu 2024-06-13 08:25:22 EDT; 20min ago
       Docs: man:i2pd(1)
             https://i2pd.readthedocs.io/en/latest/
    Process: 1217 ExecStart=/usr/sbin/i2pd --conf=/etc/i2pd/i2pd.conf --tunconf=/etc/i2pd/tunnels.conf --tunnelsdir=/etc/i2pd/tunnels.conf.d --pidfile=/run/i2pd/i2pd.p>
   Main PID: 1234 (i2pd)
      Tasks: 15 (limit: 9032)
     Memory: 17.9M (peak: 22.7M)
        CPU: 21.104s
     CGroup: /system.slice/i2pd.service
             └─1234 /usr/sbin/i2pd --conf=/etc/i2pd/i2pd.conf --tunconf=/etc/i2pd/tunnels.conf --tunnelsdir=/etc/i2pd/tunnels.conf.d --pidfile=/run/i2pd/i2pd.pid --log>

Jun 13 08:25:22 comp6 systemd[1]: Starting i2pd.service - I2P Router written in C++...
Jun 13 08:25:22 comp6 systemd[1]: Started i2pd.service - I2P Router written in C++.
/usr/sbin/i2pd
  --conf=/etc/i2pd/i2pd.conf
  --tunconf=/etc/i2pd/tunnels.conf
  --tunnelsdir=/etc/i2pd/tunnels.conf.d
  --pidfile=/run/i2pd/i2pd.pid
  --logfile=/var/log/i2pd/i2pd.log
  --daemon
  --service
user1@comp6:~$ grep -v "^#" /etc/i2pd/i2pd.conf 
ipv4 = true
ipv6 = false
[ntcp2]
[ssu2]
[http]
[httpproxy]
[socksproxy]
[sam]
[bob]
[i2cp]
[i2pcontrol]
[precomputation]
[upnp]
[meshnets]
[reseed]
verify = true
[addressbook]
[limits]
[trust]
[exploratory]
[persist]
[cpuext]
user1@comp6:/usr/lib/systemd/system$ grep -v "^#" i2pd.service 
[Unit]
Description=I2P Router written in C++
Documentation=man:i2pd(1) https://i2pd.readthedocs.io/en/latest/
After=network.target

[Service]
User=i2pd
Group=i2pd
RuntimeDirectory=i2pd
RuntimeDirectoryMode=0700
LogsDirectory=i2pd
LogsDirectoryMode=0700
Type=forking
ExecStart=/usr/sbin/i2pd --conf=/etc/i2pd/i2pd.conf --tunconf=/etc/i2pd/tunnels.conf --tunnelsdir=/etc/i2pd/tunnels.conf.d --pidfile=/run/i2pd/i2pd.pid --logfile=/var/log/i2pd/i2pd.log --daemon --service
ExecReload=/bin/sh -c "kill -HUP $MAINPID"
PIDFile=/run/i2pd/i2pd.pid
KillSignal=SIGTERM
TimeoutStopSec=30s
SendSIGKILL=yes
LimitNOFILE=8192

[Install]
WantedBy=multi-user.target
user1@comp6:~$ grep -v "^#" /etc/i2pd/tunnels.conf
[IRC-ILITA]
type = client
address = 127.0.0.1
port = 6668
destination = irc.ilita.i2p
destinationport = 6667
keys = irc-keys.dat
user1@comp6:~$ ls /etc/i2pd/tunnels.conf.d/
README
user1@comp6:~$ sudo cat /run/i2pd/i2pd.pid
1234
user1@comp6:~$ sudo head -50 /var/log/i2pd/i2pd.log
06:46:07@602/warn - Transports: 15 ephemeral keys generated at the time
06:46:07@398/error - SSU2: Send exception: Network is unreachable to 123.206.47.90:11066
06:46:07@398/error - SSU2: Send exception: Network is unreachable to 75.118.74.217:13511
06:46:07@398/error - SSU2: Send exception: Network is unreachable to 176.124.205.55:10910
06:46:07@398/error - SSU2: Send exception: Network is unreachable to 75.97.236.89:17022
06:46:07@398/error - SSU2: Send exception: Network is unreachable to 108.30.68.206:22782
06:46:12@398/warn - SSU2: Session with 123.206.47.90:11066 was not established after 5 seconds
06:46:12@398/warn - SSU2: Session with 75.118.74.217:13511 was not established after 5 seconds
06:46:12@398/warn - SSU2: Session with 176.124.205.55:10910 was not established after 5 seconds
06:46:12@398/warn - SSU2: Session with 75.97.236.89:17022 was not established after 5 seconds
06:46:12@398/warn - SSU2: Session with 108.30.68.206:22782 was not established after 5 seconds
06:46:19@449/warn - Profiling: No profile yet for bQC68zMBy3sjDBLTQ~YEOtpWHkl19Kwzi7vJRnGYPSs=
06:46:19@449/warn - Profiling: No profile yet for V8AhqQYH-HL~IyppXFmA7HgyfXo~JYOI1CkkTj~V2J4=
06:46:19@449/warn - Profiling: No profile yet for TVHVNDSpY1oNxewYWf1cfjVwh2cAEYV4mP1vyIQ70cI=
06:46:19@449/warn - Profiling: No profile yet for 0PZg4yLtxSvTJ-pixq2FIYSqMoJXqyuSvm-5tjrLbHw=
06:46:19@931/warn - NTCP2: SessionCreated read error: End of file
06:46:34@449/warn - Profiling: No profile yet for pG7SleS8UYSiU58ajIcpLZL5u8DEihXXXNa8o2smssU=
06:46:34@449/warn - Profiling: No profile yet for MoA1rPWD0CntB2on199k~qq3H0kTd7~2-ucM2LH0sHM=
06:46:34@449/warn - Profiling: No profile yet for PKbpQxfoV64FLJUHP-FSPd~6dRgPlvNuyqpBlEmU~GY=
06:46:15@449/warn - Profiling: No profile yet for UOGrwM4MaKBaREcXoK6Y1umctSTvBrjZRLTITwLgTS0=
06:46:15@449/warn - Profiling: No profile yet for J~1CegvGnUyManlsjwffZlW75eoiSRKBunoi086y-c0=
06:46:15@931/warn - NTCP2: SessionCreated read error: End of file
06:46:15@931/warn - NTCP2: SessionCreated read error: End of file
06:46:25@449/warn - Profiling: No profile yet for 4Cz44xHO6lyTPfHXz47oH6wd7CtUUbyf2HMq8aFa6c0=
06:46:25@449/warn - Profiling: No profile yet for 7sMmSijs8T~aSqx46dxGTwdvPCrLLkTofu7sC6LULnE=
06:46:26@931/warn - NTCP2: SessionCreated read error: End of file
06:46:30@449/warn - Profiling: No profile yet for WbXdpjraWsIgk3yjR35243wjbsJLlt3RLf0jMMEIBs8=
06:46:41@296/warn - Profiling: No profile yet for KdxTiPkN7P1T3zv8QSRNw3hJmqLK71LKl5PEIYDg0m8=
06:46:45@263/warn - Destination: Publish confirmation was not received in 5 seconds or failed. will try again
06:46:45@449/warn - Profiling: No profile yet for x0vu22b2vjPmeLATUvnagIqJH~r1XN2ziryvdvg~rTk=
06:46:45@449/warn - Profiling: No profile yet for ~Fql~YJQztPSxHjz642zGdaR1cVV8CquvUkMXMcEH5A=
06:46:45@449/warn - Profiling: No profile yet for Y1MROSE4elJkteSk6htTOFgY9a0QpBxmfvkTQxWylQU=
06:46:46@449/warn - Profiling: No profile yet for jLyg6Oz-VfBwgzW8W~8~HqvKWTjprjTM9qfHaVtBIoo=
06:46:46@931/warn - NTCP2: SessionCreated read error: End of file
06:46:50@263/warn - Destination: Publish confirmation was not received in 5 seconds or failed. will try again
06:46:55@449/warn - Profiling: No profile yet for ZMXkVeur6jtuHU26nQlZKWptATm9dYA3u0YLLYM8Mm8=
06:46:55@449/warn - Profiling: No profile yet for jNQa4Fa0Ixr7M3xOTr5wKtYJaPALgSjZw81ttK~HYQ8=
06:46:55@449/warn - Profiling: No profile yet for lxDaxRT8xU8sIyVip-CI0eUAxJuY66qSw02h2ss1zOY=
06:46:55@449/warn - Profiling: No profile yet for QETg42L8QTogWDK1TPbKNe6jeaAFhRaspPdLHqHD~eA=
06:46:55@263/warn - Destination: Publish confirmation was not received in 5 seconds or failed. will try again
06:46:56@931/warn - NTCP2: SessionCreated read error: End of file
06:46:59@296/warn - NetDbReq: rOA-nu3L55slsZRWFaxcfuUzId~pA4-RMsYF~48h-N8= not found after 7 attempts
06:47:00@449/warn - Profiling: No profile yet for FgOOG6xBEFpa9hJibrvaRVpJazgMNrD3CbAgc4oVLAA=
06:47:00@449/warn - Profiling: No profile yet for zo-ff38fW8N4az7FmEil192ga4roeTjDBLIHy-9BDro=
06:47:00@263/warn - Destination: Publish confirmation was not received in 5 seconds or failed. will try again
06:47:05@263/warn - Destination: Publish confirmation was not received in 5 seconds or failed. will try again
06:47:07@931/warn - NTCP2: SessionCreated read error: End of file
06:47:10@263/warn - Destination: Publish confirmation was not received in 5 seconds or failed. will try again
06:47:15@449/warn - Profiling: No profile yet for NJdYRVuQVd3JrVBRg~N2SFZgr9zwEqAS-4GF4fQHhWc=
06:47:15@931/warn - NTCP2: SessionCreated read error: Connection reset by peer
user1@comp6:~$ sudo tail -50 /var/log/i2pd/i2pd.log
08:43:17@49/warn - Streaming: Duplicate message 7236 on sSID=3860753025
08:43:17@49/warn - Streaming: Duplicate message 7237 on sSID=3860753025
08:43:17@49/warn - Streaming: Duplicate message 7238 on sSID=3860753025
08:43:17@49/warn - Streaming: Duplicate message 7239 on sSID=3860753025
08:43:17@49/warn - Streaming: Duplicate message 7240 on sSID=3860753025
08:43:17@49/warn - Streaming: Duplicate message 7241 on sSID=3860753025
08:43:17@49/warn - Streaming: Duplicate message 7242 on sSID=3860753025
08:43:17@49/warn - Streaming: Duplicate message 7243 on sSID=3860753025
08:43:17@49/warn - Streaming: Duplicate message 7244 on sSID=3860753025
08:43:17@49/warn - Streaming: Duplicate message 7245 on sSID=3860753025
08:43:17@49/warn - Streaming: Duplicate message 7246 on sSID=3860753025
08:43:17@49/warn - Streaming: Duplicate message 7247 on sSID=3860753025
08:43:17@49/warn - Streaming: Duplicate message 7248 on sSID=3860753025
08:43:17@49/warn - Streaming: Duplicate message 7249 on sSID=3860753025
08:43:17@49/warn - Streaming: Duplicate message 7250 on sSID=3860753025
08:43:17@49/warn - Streaming: Duplicate message 7251 on sSID=3860753025
08:43:17@49/warn - Streaming: Duplicate message 7252 on sSID=3860753025
08:43:17@49/warn - Streaming: Duplicate message 7253 on sSID=3860753025
08:43:17@49/warn - Streaming: Duplicate message 7254 on sSID=3860753025
08:43:17@49/warn - Streaming: Duplicate message 7255 on sSID=3860753025
08:43:17@49/warn - Streaming: Duplicate message 7241 on sSID=3860753025
08:43:17@49/warn - Streaming: Duplicate message 7242 on sSID=3860753025
08:43:17@49/warn - Streaming: Duplicate message 7243 on sSID=3860753025
08:43:17@49/warn - Streaming: Duplicate message 7244 on sSID=3860753025
08:43:17@49/warn - Streaming: Duplicate message 7245 on sSID=3860753025
08:43:17@49/warn - Streaming: Duplicate message 7246 on sSID=3860753025
08:43:17@49/warn - Streaming: Duplicate message 7247 on sSID=3860753025
08:43:17@49/warn - Streaming: Duplicate message 7248 on sSID=3860753025
08:43:17@49/warn - Streaming: Duplicate message 7249 on sSID=3860753025
08:43:17@49/warn - Streaming: Duplicate message 7250 on sSID=3860753025
08:43:17@49/warn - Streaming: Duplicate message 7251 on sSID=3860753025
08:43:17@49/warn - Streaming: Duplicate message 7252 on sSID=3860753025
08:43:17@49/warn - Streaming: Duplicate message 7253 on sSID=3860753025
08:43:17@49/warn - Streaming: Duplicate message 7254 on sSID=3860753025
08:43:17@49/warn - Streaming: Duplicate message 7255 on sSID=3860753025
08:43:18@49/warn - Streaming: Duplicate message 7241 on sSID=3860753025
08:43:19@49/warn - Streaming: Duplicate message 7242 on sSID=3860753025
08:43:19@49/warn - Streaming: Duplicate message 7243 on sSID=3860753025
08:43:19@49/warn - Streaming: Duplicate message 7244 on sSID=3860753025
08:43:19@49/warn - Streaming: Duplicate message 7245 on sSID=3860753025
08:43:19@49/warn - Streaming: Duplicate message 7246 on sSID=3860753025
08:43:19@49/warn - Streaming: Duplicate message 7247 on sSID=3860753025
08:43:21@49/warn - Streaming: Duplicate message 7248 on sSID=3860753025
08:43:21@49/warn - Streaming: Duplicate message 7249 on sSID=3860753025
08:43:21@49/warn - Streaming: Duplicate message 7250 on sSID=3860753025
08:43:21@49/warn - Streaming: Duplicate message 7251 on sSID=3860753025
08:43:21@49/warn - Streaming: Duplicate message 7252 on sSID=3860753025
08:43:21@49/warn - Streaming: Duplicate message 7253 on sSID=3860753025
08:43:21@49/warn - Streaming: Duplicate message 7254 on sSID=3860753025
08:43:21@49/warn - Streaming: Duplicate message 7255 on sSID=3860753025

from nodebuilder.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.