mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-10-27 15:46:33 +00:00
ccead80c3d
default to client only and require explicitly run as relay to run as relay.
1.1 KiB
1.1 KiB
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 requirements:
- GNU Make
- CMake
- C++ 17 capable C++ compiler
- rapidjson (if enabling jsonrpc server)
To build:
$ sudo apt install build-essential cmake git libcap-dev wget rapidjson-dev
$ git clone https://github.com/loki-project/loki-network
$ cd loki-network
$ make -j8 JSONRPC=ON
$ sudo make install
Running
DO NOT RUN AS ROOT, run as normal user.
to run as client:
$ lokinet -g
$ lokinet-bootstrap
$ lokinet
to run as relay:
$ lokinet -r -g $ lokinet-bootstrap $ lokinet
Usage
see the documentation on how to get started.