Go to file
2014-02-08 21:06:40 -05:00
Win32 fix windows build, add windows GetDefaultDataDir, add files to project 2014-02-03 14:13:40 +04:00
.gitignore Updating Makefile to collect build objects in a folder 2014-01-31 02:49:06 +01:00
base64.cpp use base64 alphabet directly 2014-01-29 17:38:53 -05:00
base64.h use base64 alphabet directly 2014-01-29 17:38:53 -05:00
CryptoConst.h make sure crypto consts get initialized first 2014-01-21 12:36:06 -05:00
ElGamal.h Initial commit of garlic 2013-11-23 16:35:15 -05:00
Garlic.cpp fixed crash 2014-01-24 21:14:14 -05:00
Garlic.h recreate session tags 2014-01-18 10:34:57 -05:00
hmac.h fixed HMAC calculation. Tested and verified 2014-02-01 09:06:28 -05:00
HTTPServer.cpp different I2P sites 2014-01-19 19:19:09 -05:00
HTTPServer.h extract address 2014-01-14 19:56:34 -05:00
i2p.cpp defining vars should cost less than function calls 2014-02-08 03:16:52 +01:00
I2NPProtocol.cpp print out message type sent to an inbound tunnel 2014-01-26 09:06:06 -05:00
I2NPProtocol.h handle SSU I2NP header 2014-02-07 11:26:00 -05:00
I2PEndian.cpp fix LittleEndian, change endian.h version 2014-02-05 09:14:07 +04:00
I2PEndian.h fix LittleEndian, change endian.h version 2014-02-05 09:14:07 +04:00
Identity.cpp update 2014-01-10 01:29:06 +04:00
Identity.h Merge pull request #6 from mikhail4021/master 2014-01-09 12:22:15 -08:00
LeaseSet.cpp pick most recent tunnel from LeaseSet 2014-02-03 21:57:53 -05:00
LeaseSet.h pick most recent tunnel from LeaseSet 2014-02-03 21:57:53 -05:00
LICENSE Initial commit 2013-09-01 08:09:28 -07:00
LittleBigEndian.h fix LittleEndian, change endian.h version 2014-02-05 09:14:07 +04:00
Log.cpp Log and queue added 2013-12-10 08:00:13 -05:00
Log.h Log and queue added 2013-12-10 08:00:13 -05:00
Makefile Adding support for config file 2014-02-01 04:09:55 +01:00
NetDb.cpp save new RouterInfos to ~/.i2pd 2014-02-01 15:57:46 -05:00
NetDb.h save new RouterInfos to ~/.i2pd 2014-02-01 15:57:46 -05:00
NTCPSession.cpp fixed crash 2014-02-03 10:51:01 -05:00
NTCPSession.h check if IP address is valid 2014-01-21 18:01:11 -05:00
Queue.h Rewrite the thread stop in Queue 2014-02-08 03:15:08 +01:00
README.md Log to file, reload config and daemon mode 2014-02-05 00:43:50 +01:00
Reseed.cpp Fixing reseed 2014-02-02 20:37:43 +01:00
Reseed.h fixed compilation error in gcc 4.6 2014-01-31 07:32:34 -05:00
RouterContext.cpp external IP detection 2014-02-08 21:06:40 -05:00
RouterContext.h external IP detection 2014-02-08 21:06:40 -05:00
RouterInfo.cpp external IP detection 2014-02-08 21:06:40 -05:00
RouterInfo.h external IP detection 2014-02-08 21:06:40 -05:00
SSU.cpp external IP detection 2014-02-08 21:06:40 -05:00
SSU.h external IP detection 2014-02-08 21:06:40 -05:00
Streaming.cpp fix LittleEndian, change endian.h version 2014-02-05 09:14:07 +04:00
Streaming.h handle received packets in right order 2014-02-01 22:20:41 -05:00
Timestamp.h ms visual studio 2013 support 2014-01-09 23:56:07 +04:00
TransitTunnel.cpp Merge pull request #6 from mikhail4021/master 2014-01-09 12:22:15 -08:00
TransitTunnel.h show trafic for transit tunnels 2014-01-05 22:52:17 -05:00
Transports.cpp external IP detection 2014-02-08 21:06:40 -05:00
Transports.h external IP detection 2014-02-08 21:06:40 -05:00
Tunnel.cpp check for transport protocols compatibility between routers 2014-01-25 21:47:01 -05:00
Tunnel.h check for transport protocols compatibility between routers 2014-01-25 21:47:01 -05:00
TunnelBase.h send multiple messages 2014-01-20 19:12:59 -05:00
TunnelConfig.h fixed incorrect memory access 2014-01-21 15:10:49 -05:00
TunnelEndpoint.cpp send multiple messages 2014-01-20 18:37:51 -05:00
TunnelEndpoint.h cumulative update 2013-12-10 08:10:49 -05:00
TunnelGateway.cpp update 2014-01-10 01:29:06 +04:00
TunnelGateway.h long tunnel messages 2014-01-05 21:25:48 -05:00
util.cpp fix windows build, add windows GetDefaultDataDir, add files to project 2014-02-03 14:13:40 +04:00
util.h Should fix compilation error on some systems 2014-02-01 14:28:30 +01:00

i2pd

i2p router for Linux written on C++

Requires gcc 4.6 and higher, boost 1.46 and higher, crypto++

on Windows

Requires msvs2013, boost 1.46 and higher, crypto++

Testing

First, build it.

  • $ cd i2pd
  • $ make

Next, find out your public ip. (find it for example at http://www.whatismyip.com/)

Then, run it with:

$ ./i2p --host=YOUR_PUBLIC_IP

The client should now reseed by itself.

To visit an I2P page, you need to find the b32 address of your destination. After that, go to the webconsole and add it behind the url. (Remove http:// and b32.i2p from the address)

This should resulting in for example: http://localhost:7070/4oes3rlgrpbkmzv4lqcfili23h3cvpwslqcfjlk6vvguxyggspwa

Options

  • --host= - The external IP
  • --port= - The port to listen on
  • --httpport= - The http port to listen on
  • --log= - Enable or disable logging to file. 1 for yes, 0 for no.
  • --daemon= - Eanble or disable daemon mode. 1 for yes, 0 for no.