1
1
Fork 0
mirror of https://github.com/oxen-io/lokinet synced 2023-12-14 06:53:00 +01:00
Lokinet is an anonymous, decentralized and IP based overlay network for the internet.
Go to file
2018-09-19 12:28:48 +00:00
.vscode remove the rest of gcc compiler warnings 2018-08-08 12:58:43 -04:00
client remove unused code 2018-07-24 16:39:52 +10:00
contrib un break (kinda) 2018-09-06 09:16:24 -04:00
crypto Merge branch 'master' of https://github.com/despair86/loki-network 2018-08-23 23:59:19 +00:00
daemon Merge branch 'master' of https://github.com/loki-project/loki-network 2018-09-19 12:28:48 +00:00
doc update spec and fix copy constructor 2018-09-17 09:28:26 -04:00
include Merge branch 'master' of https://github.com/loki-project/loki-network 2018-09-19 12:28:48 +00:00
jni ensure config 2018-08-06 14:43:23 +10:00
libutp implement utp link protocol 2018-09-04 08:41:25 -04:00
llarp Merge branch 'master' of https://github.com/loki-project/loki-network 2018-09-19 12:28:48 +00:00
test remove iwp and start on curvecp 2018-09-02 14:25:42 -04:00
vendor Merge branch 'master' of https://github.com/loki-project/loki-network 2018-09-19 12:28:48 +00:00
.clang-format more netns code 2018-08-26 08:51:22 -04:00
.dir-locals.el add emacs dir-locals 2018-05-21 10:52:30 -04:00
.gitignore ignore daemon.ini 2018-07-27 10:23:48 +10:00
.gitlab-ci.yml slim requirements 2018-09-19 07:59:17 -04:00
CMakeLists.txt Merge branch 'master' of https://github.com/loki-project/loki-network 2018-09-19 12:28:48 +00:00
development.md refactor readmes 2018-08-03 10:33:00 +10:00
LICENSE zlib 2018-04-04 09:53:12 -04:00
Makefile more agressive network exploration 2018-09-15 07:37:46 -04:00
motto.txt bump version 2018-09-10 13:21:39 -04:00
readme.md Merge branch 'master' of https://github.com/loki-project/loki-network 2018-09-19 12:28:48 +00:00

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 <<<<<<< Updated upstream

And you can read the LLARP protocol specification here

And you can read the LLARP protocol specification here

Building

$ sudo apt install build-essential libtool autoconf cmake git
$ git clone --recursive https://github.com/loki-project/lokinet-builder
$ cd lokinet-builder
$ make 

Running

<<<<<<< Updated upstream $ ./lokinet

$ sudo apt install build-essential libtool autoconf cmake git python3-venv
$ git clone --recursive https://github.com/majestrate/llarpd-builder
$ cd llarpd-builder
$ make

Stashed changes

Development

Please note development builds are likely to be unstable

Build requirements:

  • CMake
  • ninja
  • libsodium >= 1.0.14
  • c++ 11 capable C++ compiler (gcc 7.x+, llvm 3.8+)

Building a debug build:

Stashed changes

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 --genconf daemon.ini
# lokinet --check daemon.ini 
# lokinet /usr/local/lokinet/daemon.ini