🛡 I2P: End-to-End encrypted and anonymous Internet
Go to file
chertov 94f5a0f9c5 Merge pull request #22 from orignal/master
Merge pull request from orignal/master
2014-03-29 23:20:46 +03:00
Win32 fix VS project 2014-03-18 14:41:37 +04:00
.gitignore Updating Makefile to collect build objects in a folder 2014-01-31 02:49:06 +01:00
AddressBook.h adress book added 2014-03-13 14:22:32 -04: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 separate thread for streaming 2014-03-23 16:00:05 -04:00
Garlic.h pick random tunnel from LeaseSet 2014-03-23 09:25:16 -04:00
hmac.h eliminate unnecessary const_cast 2014-02-09 08:52:56 -05:00
HTTPProxy.cpp Rewriting url parser 2014-03-29 18:28:19 +01:00
HTTPProxy.h fixed warning 2014-03-29 15:02:35 -04:00
HTTPServer.cpp switch to AsyncReceive 2014-03-29 08:11:00 -04:00
HTTPServer.h Asyc receive from stream 2014-03-27 15:42:23 -04:00
i2p.cpp Adding a simple GET HTTP Proxy 2014-03-17 23:31:29 +01:00
I2NPProtocol.cpp renew LeaseSet's I2NP message ID and timestamp before sending 2014-03-20 12:48:03 -04:00
I2NPProtocol.h renew LeaseSet's I2NP message ID and timestamp before sending 2014-03-20 12:48:03 -04: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 load eepsite keys 2014-03-19 16:44:03 -04:00
Identity.h load eepsite keys 2014-03-19 16:44:03 -04:00
LeaseSet.cpp pick random tunnel from LeaseSet 2014-03-23 09:25:16 -04:00
LeaseSet.h pick random tunnel from LeaseSet 2014-03-23 09:25:16 -04: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 a simple GET HTTP Proxy 2014-03-17 23:31:29 +01:00
NetDb.cpp cleanup exluded routers list for LeaseSets 2014-03-23 11:12:11 -04:00
NetDb.h cleanup exluded routers list for LeaseSets 2014-03-23 11:12:11 -04:00
NTCPSession.cpp inbound tunnel where an I2NP messages has been received from 2014-03-12 20:13:49 -04: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 Adding a simple GET HTTP Proxy 2014-03-17 23:31:29 +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 create LeaseSet encryption key per tunnel pool 2014-03-15 22:02:33 -04:00
RouterContext.h create LeaseSet encryption key per tunnel pool 2014-03-15 22:02:33 -04:00
RouterInfo.cpp fixed typo 2014-03-19 17:27:37 -04:00
RouterInfo.h find router with specified caps 2014-03-19 15:58:57 -04:00
SSU.cpp use existing SSU session if available 2014-03-25 21:17:03 -04:00
SSU.h use existing SSU session if available 2014-03-25 21:17:03 -04:00
Streaming.cpp switch to AsyncReceive 2014-03-29 08:11:00 -04:00
Streaming.h check buffer first for async receive 2014-03-27 15:56:13 -04: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 use existing SSU session if available 2014-03-25 21:17:03 -04:00
Transports.h show SSU sessions 2014-02-24 22:28:28 -05:00
Tunnel.cpp request LeaseSet from 3 floodfills 2014-03-22 16:05:58 -04:00
Tunnel.h don't test failed tunnels 2014-03-21 18:26:11 -04:00
TunnelBase.h create inbound tunnels per local destination 2014-03-14 15:13:34 -04:00
TunnelConfig.h fixed incorrect memory access 2014-01-21 15:10:49 -05:00
TunnelEndpoint.cpp inbound tunnel where an I2NP messages has been received from 2014-03-12 20:13:49 -04:00
TunnelEndpoint.h cumulative update 2013-12-10 08:10:49 -05:00
TunnelGateway.cpp don't copy temporary data structure 2014-03-19 12:16:05 -04:00
TunnelGateway.h don't copy temporary data structure 2014-03-19 12:16:05 -04:00
TunnelPool.cpp don't test failed tunnels 2014-03-21 18:26:11 -04:00
TunnelPool.h tunnel test 2014-03-17 16:50:03 -04: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 adress book added 2014-03-13 14:22:32 -04:00
util.h adress book added 2014-03-13 14:22:32 -04: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.
  • --httpproxyport= - The port to listen on (HTTP Proxy)