Stephen Shelton
b2a72dd46a
Initial test_peer_stats hive test
4 years ago
Stephen Shelton
2453fff10b
Piggyback on link callbacks to add peer stats
4 years ago
Stephen Shelton
595288e046
Add PeerDb::handleGossipedRC
4 years ago
Stephen Shelton
2a30e7dac2
Add PeerDb to Router
4 years ago
Jeff Becker
a9109aa91b
* deprecate old unused lokid rpc options
...
* use lokimq::address in config and in lokid rpc
* bump lokimq submodule
4 years ago
Jeff Becker
e13e886df9
fix up event loop crap so that unit tests pass
4 years ago
Jeff Becker
1779f33506
fix makefile fromat target
...
use lokimq::address instead of std::string or std::string_view
4 years ago
Jeff Becker
f4971a88fd
use lokimq workers instead of llarp: 🧵 :ThreadPool
4 years ago
Jeff Becker
9bfff61d08
initial wack at lokimq
4 years ago
Stephen Shelton
fd4b03f896
WIP: LokidRpcClient
4 years ago
Jeff Becker
fb8b8e2e56
add stubs for lmq rpc server
4 years ago
Jeff Becker
ad882d0d70
initial working code
4 years ago
Jeff Becker
0006751d80
initial wack at lokimq
4 years ago
Stephen Shelton
91725a8530
WIP: LokidRpcClient
4 years ago
Stephen Shelton
11951510bf
Remove libabyss and rpc::Caller/rpc::Server
4 years ago
Stephen Shelton
1497b829bd
Ignore our self.signed file if we're a client
4 years ago
Jeff
a5b09c47e1
Merge pull request #1262 from notlesh/bandaids-for-sockaddr-refactor-2020-05-11
...
Bandaids for sockaddr refactor 2020 05 11
4 years ago
Stephen Shelton
aee96e53a3
Refactor Addr -> IpAddress/SockAddr
4 years ago
Jeff Becker
01cc2c86bf
format
4 years ago
Jason Rhinelander
cd7fd1b6ad
FIXME fix the FIXME
4 years ago
Stephen Shelton
960dc37c1f
Refactor TunEndpoint::Configure() (partially)
4 years ago
Stephen Shelton
779658edd0
Refactor ExitEndpoint's config, mv dns ops from [network] to [dns]
4 years ago
Stephen Shelton
21ad442b55
Remove NetConfig_t
4 years ago
Stephen Shelton
93b35c92a7
Eradicate service::Config
4 years ago
Jason Rhinelander
1697bf90fe
C++17
...
Compiles with C++17, replaces ghc::filesystem with std::filesystem,
nonstd::optional with std::optional, and llarp::string_view with
std::string_view.
4 years ago
Jeff
54a7843bc5
Merge pull request #1186 from notlesh/config-cleanup-2020-03-13
...
Config cleanup
5 years ago
Jason Rhinelander
3c6aa002b8
Fix errors and warnings compiling on mac
5 years ago
Stephen Shelton
d3bcc05aa6
Organize some constants and default values
5 years ago
Stephen Shelton
6fd270ba09
Rip out link type spec and factory
...
We only support IWP now, so this is all effectively dead code.
5 years ago
Stephen Shelton
273270916e
The Great Wall of Blame
...
This commit reflects changes to clang-format rules. Unfortunately,
these rule changes create a massive change to the codebase, which
causes an apparent rewrite of git history.
Git blame's --ignore-rev flag can be used to ignore this commit when
attempting to `git blame` some code.
5 years ago
Jeff Becker
bf0416cab8
remove Time_t, add operator overload for printing llarp_time_t and add to_json function for serializing llarp_time_t to json
5 years ago
Jeff Becker
d2d109e92c
llarp_time_t is now using std::chrono
5 years ago
Thomas Winget
74d421ac2d
PathBuildNumber -> NextPathBuildNumber because increment side-effect
5 years ago
Thomas Winget
fc56a018e5
path builder prints hops, rest print short name
5 years ago
Jeff Becker
28561cd654
use Time_t
5 years ago
Jeff Becker
ea3851d15f
rc gossiping
5 years ago
jeff
4a761be52d
use std::chrono
5 years ago
Jeff Becker
e5f92eaa79
only ping lokid if a service node
5 years ago
Thomas Winget
71bb0dd520
implement timers using libuv
...
So far only a bit of the code using timers has been modified to use
the new libuv-based timers. Also only the non-Windows case has been
implemented. Seems to be working though, so it's a good time to commit.
5 years ago
Jeff Becker
c9d38d421b
clang fixes
5 years ago
Jeff Becker
f56e543d75
add deadlock checker and revert bencode change from long ago
5 years ago
Jeff
1396b7b857
Merge branch 'dev' into bootstrap-list-2019-12-06
5 years ago
Stephen Shelton
2c6226f54a
Backup SNApp keys when migrating to new ed25519 crypto
5 years ago
Jeff Becker
0afb3b320b
add bootstrap list functionality and utility
5 years ago
Stephen Shelton
66a058a2af
Make format
5 years ago
Stephen Shelton
af2259db5f
Move lokid key API request to KeyManager
5 years ago
Stephen Shelton
93b8832026
Merge branch 'dev' into private-keys-backup-support
5 years ago
Stephen Shelton
521ef9b5bb
Handle link transport key in KeyManager
5 years ago
Jeff Becker
3c85691f81
limit calls to pumpll such that it gets called fast enough but not too much under load
5 years ago
Stephen Shelton
e8e2e21fa2
Reorganize priv key file loading a bit and hook KeyManager into Router
5 years ago
Jeff Becker
8d44eefead
make router give time directly
5 years ago
jeff
58a25602f5
more fixes, implemenmt missing functions
5 years ago
Michael
15cb49c9bd
Introduce --background to only start JSON RPC
...
fixes #853
5 years ago
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
6 years ago
Jeff
01906c5d94
Merge remote-tracking branch 'origin/master'
6 years ago
Michael
9ee525a006
Fix shadowing warnings
6 years ago
Jeff Becker
4bda489437
add explicit enable/disable profiling option, try to always maintain outbound connections.
6 years ago
Jeff Becker
3a8cb0bfb5
add shell based hooks for service::Endpoint, also make format
6 years ago
Jeff Becker
57dc6cc965
make bundling rc in path builds configurable on runtime
6 years ago