Commit Graph

181 Commits (871c3e3281d15ce876fcd85a02228b4e70453bac)

Author SHA1 Message Date
Michael edd0ec398f
Move thread stuff to subdirectory 5 years ago
Jeff Becker 3c3338e801
Merge remote-tracking branch 'origin/master' into memlink 5 years ago
Jeff ecf3c37d2e
Merge pull request #768 from majestrate/sane-limits
Sane limits
5 years ago
Michael 16cdfbd5f0
clang-tidy modernize pass 5 years ago
Jeff Becker a1fff96a1b
limit connections in outbound session maker 5 years ago
Jeff Becker c1f33bb1ac
initial mempipe implementation 5 years ago
Thomas Winget 38fd0552d3 Adds Link-Relay Status Messages
Success case:
  - the path endpoint creates and sends a LR_StatusMessage upon
    successful path creation

Failure case:
  - an intermediate hop creates and sends a LR_StatusMessage upon
    failure to forward the path to the next hop for any reason

Both cases:
  - transit hops receive LR_StatusMessages and add a frame
    to them reflecting their "status" with respect to that path
  - the path creator receives LR_StatusMessages and decrypts/parses
    the LR_StatusRecord frames from the path hops.  If all is good,
    the Path does as it would when receiving a PathConfirmMessage.
    If not, the Path marks the new path as failed.

LR_StatusMessage is now used/sent in place of PathConfirmMessage
5 years ago
Thomas Winget baf8019fe5 Refactor Router code into more classes
This commit refactors functionality from the Router class into separate,
dedicated classes.
There are a few behavior changes that came as a result of discussion on
what the correct behavior should be.
In addition, many things Router was previously doing can now be provided
callback functions to alert the calling point when the asynchronous
action completes, successfully or otherwise.
5 years ago
Jeff Becker 16e20a9e79
try fixing bootstrap 5 years ago
Jeff Becker 9a2ffb85e6
Merge remote-tracking branch 'origin/master' into ipv6-tun 5 years ago
Jeff Becker 0d0efe7007
try bailing when configration failed 5 years ago
Jeff Becker 4e4c0b85ce
change order of configuration 5 years ago
Jeff Becker b9bcc2b775
make threadpool consice 5 years ago
Jeff Becker 58005c5f81
Merge remote-tracking branch 'origin/master' into ipv6-tun 5 years ago
Michael a2326efa37
Revert "Merge pull request #679 from tewinget/revert-config-refactor"
This reverts commit 2996a7f29c, reversing
changes made to 10df3bd4b3.
5 years ago
Jeff Becker c4aaa80e75
use sane defaults and deprecated "auto" as it's horribly bad style 5 years ago
Jeff Becker ec1910b8ca
remove threadpool.hpp
make link layer not use null lock and null mutex
5 years ago
Jeff Becker fc8f58822c
remove threadpool.hpp
make link layer not use null lock and null mutex
5 years ago
Thomas Winget d044d60101 Reverts #678 #677 and #669 with hashes:
10df3bd
766ece8
979f095

See those commits for further details
5 years ago
Jeff Becker a82be1d040
disable rpc by default 5 years ago
Michael b51f7d8015
Convert to load config in config loader 5 years ago
Michael 68063b320c
Rename InboundMessageParser to LinkMessageParser 5 years ago
Michael b89689fec3
Refactor path build code 5 years ago
Jeff Becker 6714b06470
json logging option 5 years ago
Jeff Becker 9ec41b8831
update RC expiration logic, lookup more often and remove stale entries 5 years ago
Jeff Becker cacc73db7b
add rc expiration (again) 5 years ago
Jeff Becker 762a0c534f
Merge remote-tracking branch 'origin/master' 5 years ago
Michael 491fee206b
Port code to use CryptoManager over passing Crypto pointers 5 years ago
Jeff Becker 2897141036
make format and introduce new function EnsureRouter on router to check nodedb or do dht lookup 5 years ago
Jeff Becker a375f1103f
explicitly lookup router if not connected to it on LRCM forward. 5 years ago
Jeff Becker fbf9b06685
* don't lookup routers in sendtoorqueue
* don't lookup routers that are not public when committing
5 years ago
Jeff Becker 64c7ed42fc
make format 5 years ago
Jeff Becker 9c96aecf3f
move llarp::Logic to std::shared_ptr
add sequence numbers to HSD messages

begin work on network isolation code

add more docs
5 years ago
Michael 636bb2a17d
Convert router diskworker to use a modern ThreadPool 5 years ago
Jeff Becker 351c241c0f
more 5 years ago
Jeff Becker a793eee4b7
fix 5 years ago
Jeff Becker 5d388bc9f2
meh 5 years ago
Jeff Becker 944eaedea6
aaaaaaA 5 years ago
Jeff Becker ecc39428f6
count routers correctly 5 years ago
Jeff Becker 34533db620
add urgent build that builds over an existing path for an endpoint 5 years ago
Jeff Becker d423ee02d2
use shared_ptr 5 years ago
Jeff Becker bb47d612b3
more 5 years ago
Jeff 01906c5d94 Merge remote-tracking branch 'origin/master' 5 years ago
Michael 9ee525a006
Fix shadowing warnings 5 years ago
Jeff Becker 4bda489437
add explicit enable/disable profiling option, try to always maintain outbound connections. 5 years ago
Jeff Becker 3a8cb0bfb5
add shell based hooks for service::Endpoint, also make format 5 years ago
Jeff Becker 57dc6cc965
make bundling rc in path builds configurable on runtime 5 years ago
Jeff Becker 9503cc66f0
add disk worker based file flusher logger
make format

remove package.json
5 years ago
Jeff Becker e178a70929
use shared_ptr for event loop 5 years ago
Jeff 97b9c679b0 don't use bootstrap nodes for first hops in paths 5 years ago
Jeff Becker 965b0957ee
tweaks 5 years ago
Jeff Becker f8d6becce8
make whitelist happy 5 years ago
Jeff Becker ef13ec7499
Merge remote-tracking branch 'origin/staging' into staging 5 years ago
Jeff Becker 88f988d142
use std::set 5 years ago
Jeff Becker 08d70e6d14
track client rcs 5 years ago
Michael 89ae60cfab
llarp::Context uses AbstractRouter now 5 years ago
Jeff Becker 7428855698
try fixing timeout bug after 6 or so hours 5 years ago
Jeff Becker 41bb83aaba
more 5 years ago
Rick V 5a3947ca5c
clang-format 5 years ago
Jeff Becker 445ed05b32
make format 5 years ago
Jeff Becker 1d958d95de
* make rpc compile right
* make link sessions introspectable
* make utp write buffers fully flush each tick
5 years ago
Michael 048fa83c39
Finish replacement of Router with AbstractRouter 5 years ago
Jeff Becker 24de7f052a
make outbound port configurable on runtime 5 years ago
Jeff 555711b70d
Merge pull request #303 from michael-loki/no_new
Replace usage of new/delete with unique_ptr/stack allocation
5 years ago
Jeff Becker 46222df421
refactor 5 years ago
Michael 67b5d48095
Replace usage of new/delete with unique_ptr/stack allocation 5 years ago
Jeff Becker e1522faeaa
add introspection rpc endpoint 5 years ago
Michael 729cd045f1
Convert llarp::Router into an abstract base class 5 years ago
Jeff Becker 00eede9160
Merge remote-tracking branch 'origin/staging' into staging 5 years ago
Michael f3b0af9d2f
Create CopyableBuffer type 5 years ago
Michael 2de621b0ad
Disable copy constructing llarp_buffer_t 5 years ago
Jeff Becker c31c8ce889
Merge remote-tracking branch 'origin/staging' into staging 5 years ago
Ryan Tharp 70a7481ab7
Merge pull request #245 from majestrate/abyss_rpc_update
update libabyss rpc endpoints for service nodes
5 years ago
Jeff Becker 828f1f82d7
disable key rotation 5 years ago
Jeff Becker 18c4107ff6
* wire up jsonrpc caller for lokid integration
* add jsonrpc caller http basic auth
5 years ago
Michael f24f554a01
Convert llarp::Crypto into an abstract base class 5 years ago
Jeff Becker cbfbdc506d
Merge branch 'staging' of ssh://github.com/loki-project/loki-network into staging 5 years ago
Jeff Becker da28fd9fab
apply lokid config section 5 years ago
Jeff Becker d89e58199a
add initial identity key seed stuff
add more kubernetes stuff

make shared library installed if built
5 years ago
Ryan Tharp 1ba5b75082 Merge branch 'master' of https://github.com/neuroscr/loki-network 5 years ago
Michael da6cdfc0b2
More refactoring to continue to make dependency graph acylic 5 years ago