mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-17 15:25:35 +00:00
Lokinet is an anonymous, decentralized and IP based overlay network for the internet.
decentralizeddecentralized-internetdhtipv4-networkipv4-supportlokinetonion-routingoverlay-networkvpn
.vscode | ||
client | ||
contrib | ||
crypto | ||
daemon | ||
doc | ||
include | ||
jni | ||
libutp | ||
llarp | ||
test | ||
vendor | ||
.clang-format | ||
.dir-locals.el | ||
.gitignore | ||
.gitlab-ci.yml | ||
CMakeLists.txt | ||
development.md | ||
LICENSE | ||
Makefile | ||
motto.txt | ||
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
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