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
despair d425b5d308 implement tcp evloop on win32
(with its now-obsolete distinction between socketfd and fd)

sockets and file descriptors used to be distinct objects....back in the
16-bit Winsock 1.1 era, which needlessly complicated the 32-bit port
back then. these days one can use [Read|Write]File(2) to operate on
sockfds...which also have some of the semantics of [read|write]v(2)
i.e. the scatter-gather thing it's known for is done in async handler

-rick

variants are nice

added note to self

clang-format

link abyss properly

oops

shut up

*shrugs*

oops forgot to start winsock

moved our async io status flags to the base class

let derived classes override them as needed

this is probably a synchronous op _anyway_

fix typo

wtf
6 years ago
.github add contributing template 6 years ago
.vscode make it compile 6 years ago
android add more stuff from builder repo 6 years ago
client initial admin api infra 6 years ago
contrib grabbed packaging scripts and fluff from abandoned repo 6 years ago
crypto add intel intrinsics for 32-bit avx build 6 years ago
daemon make jsonrpc server configurable on build, disabled by default. 6 years ago
debian typofix from fediverse, thnx m4iler 6 years ago
docs update docs 6 years ago
include implement tcp evloop on win32 6 years ago
jni ensure config 6 years ago
libabyss implement tcp evloop on win32 6 years ago
libutp fix windows build 6 years ago
llarp implement tcp evloop on win32 6 years ago
test update test 6 years ago
vendor really make it compile 6 years ago
win32-setup grabbed packaging scripts and fluff from abandoned repo 6 years ago
.clang-format more netns code 6 years ago
.dir-locals.el add emacs dir-locals 6 years ago
.gitignore grabbed packaging scripts and fluff from abandoned repo 6 years ago
.gitlab-ci.yml update ci scripts 6 years ago
CMakeLists.txt implement tcp evloop on win32 6 years ago
CODE_OF_CONDUCT.md add file to check a github checkbox 6 years ago
LICENSE place protocol spec into public domain with CC0 6 years ago
Makefile implement tcp evloop on win32 6 years ago
README-windows.md add intel intrinsics for 32-bit avx build 6 years ago
doc place protocol spec into public domain with CC0 6 years ago
lokinet-bootstrap port bootstrap script to sh 6 years ago
lokinet-bootstrap.exe grabbed packaging scripts and fluff from abandoned repo 6 years ago
motto.txt bundle relevent libsodium parts 6 years ago
readme.md freebsd stuff 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

build status

Building

Build requirements:

  • GNU Make
  • CMake
  • C++ 17 capable C++ compiler
  • rapidjson (if enabling jsonrpc server)

Linux

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

install:

$ sudo make install

FreeBSD

build:

$ pkg install wget cmake git
$ git clone https://github.com/loki-project/loki-network
$ cd loki-network
$ gmake -j8

install (root):

# gmake 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.