Lokinet is an anonymous, decentralized and IP based overlay network for the internet.
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Go to file
Jeff Becker 97bae70817
close sessions on link close not on destructor
6 years ago
.vscode remove the rest of gcc compiler warnings 6 years ago
client remove unused code 6 years ago
contrib update testnet config generation 6 years ago
crypto useless header is useless ;-; 6 years ago
daemon fix creation 6 years ago
doc breaking change: add timestamp to introset 6 years ago
include breaking change: add timestamp to introset 6 years ago
jni ensure config 6 years ago
libutp fix previous commit 6 years ago
llarp close sessions on link close not on destructor 6 years ago
test check introset timestamps 6 years ago
vendor i fucking hate apple it's fucking shit, fucking god awful shit. 6 years ago
.clang-format more netns code 6 years ago
.dir-locals.el add emacs dir-locals 6 years ago
.gitignore ignore daemon.ini 6 years ago
.gitlab-ci.yml update ci config 6 years ago
CMakeLists.txt I think i merged pthread and the seh handler together on my CI machine, and such a setup is site-specific anyway.... 6 years ago
LICENSE finally enabled gtest on win32 6 years ago
Makefile more agressive network exploration 6 years ago
development.md refactor readmes 6 years ago
motto.txt bump version 6 years ago
readme.md configurable base directory for config and add option for only generating config 6 years ago

readme.md

LokiNet

LokiNet is the reference implementation of LLARP (low latency anonymous routing protocol), a layer 3 onion routing protocol.

You can learn more about the high level design of LLARP here

And you can read the LLARP protocol specification here

Building

build status

If you don't have libsodium 1.0.16 or higher use the lokinet builder repo.

Otherwise:

$ sudo apt install git libcap-dev build-essential ninja-build cmake libsodium-dev
$ git clone https://github.com/loki-project/loki-network
$ cd loki-network
$ make

Usage

Windows

Windows only supports client mode so you run lokinet.exe and that's it.

Linux

Client mode:

For simple testing do:

$ lokinet

On systemd based distros you can persist it in the background:

# systemctl enable --now lokinet-client

Relay mode:

you can participate as a relay node trivially (for now).

On systemd based linux distros do:

# systemctl enable --now lokinet-relay

Alternatively:

# mkdir /usr/local/lokinet
# cd /usr/local/lokinet
# lokinet -g /usr/local/lokinet/daemon.ini
# lokinet /usr/local/lokinet/daemon.ini