1
1
Fork 0
mirror of https://github.com/oxen-io/lokinet synced 2023-12-14 06:53:00 +01:00
lokinet/readme.md

93 lines
2.1 KiB
Markdown
Raw Normal View History

# LokiNet
2018-09-17 13:47:34 +02:00
LokiNet is the reference implementation of LLARP (low latency anonymous routing protocol), a layer 3 onion routing protocol.
2017-10-03 21:14:46 +02:00
You can learn more about the high level design of LLARP [here](doc/high-level.txt)
2018-08-13 10:47:24 +02:00
<<<<<<< Updated upstream
And you can read the LLARP protocol specification [here](doc/proto_v0.txt)
2018-08-13 10:47:24 +02:00
=======
And you can read the LLARP protocol specification [here](doc/proto_v0.txt)
## 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
2018-06-01 20:23:01 +02:00
2018-09-19 14:07:13 +02:00
2018-09-17 13:47:34 +02:00
## Building
2018-09-19 14:07:13 +02:00
![build status](https://gitlab.com/lokiproject/loki-network/badges/master/pipeline.svg "build status")
If you don't have libsodium 1.0.16 or higher use the [lokinet builder](https://github.com/loki-project/lokinet-builder) repo.
Otherwise:
2018-09-19 14:07:13 +02:00
$ 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
2018-09-17 13:47:34 +02:00
## Usage
2018-09-17 13:47:34 +02:00
### 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
2018-09-17 13:47:34 +02:00
# lokinet /usr/local/lokinet/daemon.ini