Jeff Becker
55e27d36e5
* only profile as client
...
* only explore churn as relay
5 years ago
Jeff Becker
79badd6714
* clients expore dht faster
...
* use random path when doing dht lookups for .loki
5 years ago
Jeff Becker
a8e6069a93
enable profiling by default
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
Jason Rhinelander
638fb25b47
Put version info into a compiled file
...
This rewrites the version info using lokid's approach of compiling it
into a .cpp file that gets generated as part of the build (*not* during
the configure stage).
Among other things, this means that changing the version no longer
invalidates ccache or cmake dependencies, and because it depends on
`.git/index` git commits will cause the version to be regenerated,
making the commit tag more reliable (currently if you rebuild without
running cmake your git commit tag doesn't update).
5 years ago
Jeff
22e9223e74
Merge pull request #955 from jagerman/remove-unused-arg
...
Remove unused argument
5 years ago
Jason Rhinelander
6f92ac9c2b
Remove unused argument
...
Fixed a compiler warning about an unused argument, plus the argument
legitimately appears unused/obsolete now.
5 years ago
Jeff Becker
950006c036
reduce log levels at runtime
5 years ago
Jeff Becker
f56e543d75
add deadlock checker and revert bencode change from long ago
5 years ago
Jeff Becker
2eabe98d9b
add systemd watchdog if enabled on compile time
5 years ago
Jeff Becker
eb87189514
try fixing router lockup
5 years ago
Jeff
1396b7b857
Merge branch 'dev' into bootstrap-list-2019-12-06
5 years ago
Jeff Becker
0afb3b320b
add bootstrap list functionality and utility
5 years ago
Stephen Shelton
11410a2748
Avoid trivial getters/setters in KeyManager
5 years ago
Stephen Shelton
66a058a2af
Make format
5 years ago
Stephen Shelton
23fc2ad042
Init key manager before InitOutboundLinks are configured
5 years ago
Jeff
27b1e36039
Merge pull request #936 from majestrate/dev
...
last changes before 0.6.0 version bump
5 years ago
Stephen Shelton
af2259db5f
Move lokid key API request to KeyManager
5 years ago
Stephen Shelton
49e248bfc1
Fix bad merge
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
01b24c7090
limit connections
5 years ago
Jeff
b08897a214
Merge pull request #935 from jagerman/logic-thread-fixes
...
Logic thread fixes
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
a0699ad229
Undo adding of crypto version to RouterContact, other fixes
5 years ago
Jeff Becker
098915bb8e
add check for identity key validity
5 years ago
Jeff Becker
5868a25fcc
clear response between tries
5 years ago
Jeff Becker
d685057754
update readme and disable curl on windows
5 years ago
Jeff Becker
d12c75ce1e
move sleep
5 years ago
Jeff Becker
61b75828f0
sleep
5 years ago
Jeff Becker
3878ebd534
use curl to fetch from lokid rpc the identity key
5 years ago
Stephen Shelton
e8e2e21fa2
Reorganize priv key file loading a bit and hook KeyManager into Router
5 years ago
Jeff Becker
56dce90de9
add trace log level for tracking logic thread jobs
5 years ago
Stephen Shelton
fd02e3e149
Stub out KeyManager class
5 years ago
Thomas Winget
9d3e7d349c
Add per-path queues, prioritize control messages over traffic
5 years ago
Jeff Becker
7ee026fa50
make path builds work again
5 years ago
Jeff Becker
0d89f1170b
make it compile
5 years ago
Jeff Becker
c9f26c4911
call Router::PumpLL after every batch of packets from a link session
5 years ago
Jeff Becker
90f523881a
try interchanging pump order
5 years ago
jeff
869ab0b652
Merge remote-tracking branch 'upstream/dev' into vpn-api-2019-10-03
5 years ago
Stephen Shelton
b1da46e521
Add numNodesKnown to llarp.admin.dumpstate RPC endpoint
5 years ago
jeff
58a25602f5
more fixes, implemenmt missing functions
5 years ago
jeff
7d7c6bf38c
Merge remote-tracking branch 'upstream/dev' into multithreaded-cryptography
5 years ago
Michael
f326c93b5b
Apply Jeff's comments
5 years ago
jeff
52757fef0e
Merge remote-tracking branch 'micheal/background_mode' into vpn-api-2019-10-03
5 years ago
Michael
15cb49c9bd
Introduce --background to only start JSON RPC
...
fixes #853
5 years ago
jeff
1853b28590
remove libutp and all such code related to utp
5 years ago
Jeff Becker
327c545530
finish multithread cryptography first pass
5 years ago
jeff
14c9ef15ed
try calling stuff in logic thread from event loop
5 years ago
jeff
ac2a2aed1d
gut libutp and finish making things compile and pass tests
5 years ago
Jeff Becker
da6a3bf9bb
Merge remote-tracking branch 'origin/master' into iwp-multi-ack
5 years ago
Jeff Becker
d54dc7a988
prune dht peers every router tick
5 years ago
Jeff Becker
fd787cc56d
try more ranges
5 years ago
Jeff Becker
61ade40a51
reduce logging and make format
5 years ago
Jeff Becker
e3bb59707e
more
5 years ago
Jeff Becker
3c0245f8b3
Merge remote-tracking branch 'github/master' into iwp-multi-ack
5 years ago
Jeff Becker
4bf6882c8a
more async cryptography
5 years ago
Rick V
8daaab5f6a
fix
5 years ago
Rick V
ef6f62cc04
some people set the netid explicitly, and set it to default anyway
5 years ago
Jeff Becker
1adae338ce
Merge remote-tracking branch 'origin/master'
5 years ago
Michael
0950571313
Move metrics to subdirectory
5 years ago
Michael
4d8fe2a8a8
Move meta programming to subdirectory
5 years ago
Michael
1aec0dfa2b
Move logging to subdirectory
5 years ago
Jeff Becker
c01112e4b7
tracy lock contention testing and other fun things
5 years ago
Jeff Becker
444d832b7c
correct constructors on llarp_buffer_t and check rc on regen
5 years ago
Jeff Becker
b5402dc6c3
Merge remote-tracking branch 'origin/master' into iwp-redux
5 years ago
Michael
70937ab503
Fix docker-compose isolated network
5 years ago
Jeff Becker
acf5f78949
update iwp , add NACK
5 years ago
Jeff Becker
3c3338e801
Merge remote-tracking branch 'origin/master' into memlink
5 years ago
Michael
094b697b01
Replace StatusObject with underlying JSON type
5 years ago
Jeff
ecf3c37d2e
Merge pull request #768 from majestrate/sane-limits
...
Sane limits
5 years ago
Jeff Becker
c14993bc56
use llarp::path::default_len to inform how many routers we need
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
efa61f324f
include header
5 years ago
Jeff Becker
2345dd3239
try adding proper limits
5 years ago
Jeff Becker
c1f33bb1ac
initial mempipe implementation
5 years ago
Jeff
fc64b83c13
Merge pull request #752 from majestrate/master
...
always regen expired rc
5 years ago
Jeff Becker
70ddc84d3a
always regen expired rc
5 years ago
Michael
4763888d2c
Add fail-able docker build for gcc trunk
5 years ago
Jeff
af74ee6f70
Merge pull request #737 from majestrate/add-link-layer-delivery-feedback
...
Add link layer delivery feedback
5 years ago
Jeff
c08f8361a3
Merge pull request #732 from tewinget/path-build-status-messages
...
Adds Link-Relay Status Messages
5 years ago
Jeff Becker
835b334a59
* increase utp buffers
...
* disallow inbound traffic on outbound utp link
* const correctness
5 years ago
Jeff Becker
972d4f8672
fix crash of clients and propagate lookup failures
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
5e0fc2bc71
change log level of message send success
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
a0f32fde13
reduce logging
5 years ago
Jeff Becker
4cc0c9b4d1
unconditional insert so that we dont run out of peers
5 years ago
Jeff Becker
c4ca61b76a
use static lookup timeout
5 years ago
Jeff Becker
86aabff256
only update if newer
5 years ago
Jeff Becker
b0d850afb5
durable write for nodedb
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
6882e627ba
make format
5 years ago
Jeff Becker
1fd6b5ae74
Merge remote-tracking branch 'origin/master' into ipv6-tun
5 years ago
Jeff Becker
fcc3c05124
Merge remote-tracking branch 'origin/master' into ipv6-tun
5 years ago
Michael
488695047f
Remove redundant else blocks
5 years ago