Go to file
2014-02-26 22:53:19 -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 replaced ElGamalEncrypt to ElGamalEncryption 2014-02-20 20:28:41 -05:00
Garlic.cpp replaced ElGamalEncrypt to ElGamalEncryption 2014-02-20 20:28:41 -05:00
Garlic.h replaced ElGamalEncrypt to ElGamalEncryption 2014-02-20 20:28:41 -05:00
hmac.h eliminate unnecessary const_cast 2014-02-09 08:52:56 -05:00
HTTPServer.cpp show SSU sessions 2014-02-24 22:28:28 -05:00
HTTPServer.h process b32 address with path 2014-02-17 17:47:21 -05:00
i2p.cpp Adding volatile keyword 2014-02-08 22:06:01 +01:00
I2NPProtocol.cpp set SessionCreated state 2014-02-25 20:37:39 -05:00
I2NPProtocol.h SSU send message 2014-02-09 18:28:34 -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 replaced ElGamalEncrypt to ElGamalEncryption 2014-02-20 20:28:41 -05: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 UPnP added 2014-02-09 15:15:47 -05:00
NetDb.cpp use ElGamalEcryption for garlic encryption 2014-02-20 18:42:55 -05:00
NetDb.h subscribe to LeaseSet 2014-02-14 16:10:25 -05:00
NTCPSession.cpp fixed crash 2014-02-03 10:51:01 -05:00
NTCPSession.h always pass delivery instructions to tunnel gateway 2014-02-19 22:08:57 -05:00
Queue.h Adding volatile keyword 2014-02-08 22:06:01 +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 enable SSU 2014-02-24 19:25:26 -05:00
RouterContext.h create SSU address 2014-02-23 11:48:09 -05:00
RouterInfo.cpp create tunnel through any type of transports 2014-02-26 22:53:19 -05:00
RouterInfo.h create SSU address 2014-02-23 11:48:09 -05:00
SSU.cpp set SessionCreated state 2014-02-25 20:37:39 -05:00
SSU.h show SSU sessions 2014-02-24 22:28:28 -05:00
Streaming.cpp use ElGamalEcryption for garlic encryption 2014-02-20 18:42:55 -05:00
Streaming.h use ElGamalEcryption for garlic encryption 2014-02-20 18:42:55 -05:00
Timestamp.h ms visual studio 2013 support 2014-01-09 23:56:07 +04:00
TransitTunnel.cpp always pass delivery instructions to tunnel gateway 2014-02-19 22:08:57 -05:00
TransitTunnel.h pass delivery intructions to tunnel gateway 2014-02-19 21:24:55 -05:00
Transports.cpp enable SSU 2014-02-24 19:25:26 -05:00
Transports.h show SSU sessions 2014-02-24 22:28:28 -05:00
Tunnel.cpp create tunnel through any type of transports 2014-02-26 22:53:19 -05:00
Tunnel.h pass delivery intructions to tunnel gateway 2014-02-19 21:24:55 -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 always pass delivery instructions to tunnel gateway 2014-02-19 22:08:57 -05:00
TunnelGateway.h always pass delivery instructions to tunnel gateway 2014-02-19 22:08:57 -05:00
UPnP.cpp UPnP added 2014-02-09 15:15:47 -05:00
UPnP.h UPnP added 2014-02-09 15:15:47 -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.