Jeff Becker
1adae338ce
Merge remote-tracking branch 'origin/master'
2019-09-04 07:58:02 -04:00
Michael
edd0ec398f
Move thread stuff to subdirectory
2019-09-03 20:52:28 +01:00
Jeff Becker
c01112e4b7
tracy lock contention testing and other fun things
2019-09-03 11:56:56 -04:00
Jeff
d2824c6b13
Merge pull request #792 from majestrate/master
...
bump versions and call timeout hook
2019-08-29 07:47:53 -04:00
Jeff Becker
78d191bd75
prepare for 0.5.0
2019-08-29 07:45:58 -04:00
Jeff Becker
7e38a133d8
send keep alive on pump when needed
2019-08-23 07:57:57 -04:00
Jeff Becker
461f41a4c6
mark alive on nack
2019-08-23 07:36:11 -04:00
Jeff Becker
acf5f78949
update iwp , add NACK
2019-08-23 07:32:52 -04:00
Jeff Becker
426ee41c46
initial iwp
2019-08-22 16:53:27 -04:00
Jeff Becker
3c3338e801
Merge remote-tracking branch 'origin/master' into memlink
2019-08-21 10:53:25 -04:00
Michael
094b697b01
Replace StatusObject with underlying JSON type
2019-08-19 10:33:26 +01:00
Michael
16cdfbd5f0
clang-tidy modernize pass
2019-08-12 16:52:58 +01:00
Jeff Becker
c1f33bb1ac
initial mempipe implementation
2019-08-07 12:33:29 -04:00
Jeff Becker
822f529be8
add link layer delivery feedback
2019-07-26 12:19:31 -04:00
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.
2019-07-25 14:11:02 -04:00
Michael
a2326efa37
Revert "Merge pull request #679 from tewinget/revert-config-refactor"
...
This reverts commit 2996a7f29c
, reversing
changes made to 10df3bd4b3
.
2019-07-06 14:46:25 +01:00
Jeff Becker
fdfd8c6150
don't lock when visiting links
2019-07-03 08:42:11 -04:00
Jeff Becker
ec1910b8ca
remove threadpool.hpp
...
make link layer not use null lock and null mutex
2019-07-02 15:01:14 -04:00
Thomas Winget
d044d60101
Reverts #678 #677 and #669 with hashes:
...
10df3bd
766ece8
979f095
See those commits for further details
2019-07-02 11:02:20 -04:00
Michael
b51f7d8015
Convert to load config in config loader
2019-07-02 01:58:39 +01:00
Jeff
674f272a46
Merge pull request #630 from majestrate/master
...
recent stability stuff
2019-05-29 08:20:25 -04:00
Michael
491fee206b
Port code to use CryptoManager over passing Crypto pointers
2019-05-28 20:45:08 +01:00
Jeff Becker
27c101cc32
close timed out sessions
2019-05-25 10:54:30 -04:00
Jeff Becker
64c7ed42fc
make format
2019-05-22 12:20:50 -04:00
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
2019-05-22 12:20:03 -04:00
Jeff Becker
0f68e6b4dd
don't move, instead copy
2019-05-21 11:24:20 -04:00
Jeff Becker
5bcb205a9f
try allowing ip addresses in bind section
2019-05-20 08:32:11 -04:00
Jeff Becker
73f1d34239
make format and revert stupid alloc changes
2019-05-20 08:19:33 -04:00
Jeff Becker
5d388bc9f2
meh
2019-05-15 11:54:26 -04:00
Jeff Becker
0f6f03a77a
const
2019-05-14 13:35:01 -04:00
Jeff Becker
b68f539de6
limit outbound connections
2019-05-08 08:17:48 -04:00
Jeff Becker
61d42811be
prevent crash
2019-05-07 09:04:43 -04:00
Jeff Becker
34533db620
add urgent build that builds over an existing path for an endpoint
2019-05-07 08:31:34 -04:00
Michael
4143472a17
Add cmake module to target a library as 'system', and fix a few warnings
2019-04-25 00:27:31 +01:00
Michael
c39c931d03
Remove IStateful virtual inheritance
2019-04-19 16:10:26 +01:00
Jeff Becker
e178a70929
use shared_ptr for event loop
2019-04-08 08:01:52 -04:00
Jeff
3715c28616
Merge pull request #483 from loki-project/staging
...
Staging
2019-04-03 15:18:13 -04:00
Jeff
97b9c679b0
don't use bootstrap nodes for first hops in paths
2019-04-03 15:05:44 -04:00
Michael
25f10d5b11
Fix more address sanitiser issues
2019-04-02 10:03:53 +01:00
Michael
561b997c93
Move IWP code to its own directory
2019-03-29 16:00:12 +00:00
Michael
426a9b0df5
Refactor iwp into multiple files
2019-03-29 16:00:12 +00:00
Michael
17b39b0ed4
Move UTP code to its own directory
2019-03-29 16:00:12 +00:00
Michael
5ef4e18827
Refactor utp into multiple files
2019-03-29 16:00:12 +00:00
Michael
a7d15467b3
Refactor iwp linklayer
2019-03-29 16:00:12 +00:00
Michael
a2a275dcf1
Remove dead linklayer code
2019-03-29 16:00:11 +00:00
Jeff Becker
071fce4529
premptive pumpwrite
2019-03-27 13:24:17 -04:00
Jeff Becker
714f5c6b5e
more
2019-03-26 17:01:20 -04:00
Jeff Becker
127cfbbfbc
lower a way too big value
2019-03-26 16:20:46 -04:00
Jeff Becker
b254c19c5f
more metrics
2019-03-26 16:04:41 -04:00
Jeff Becker
0258eb9cb8
add some metrics
2019-03-26 15:30:10 -04:00
Jeff Becker
6a544d3f09
remove to prevent crash
2019-03-26 11:40:21 -04:00
Jeff Becker
800f5001c2
allow up to 5 sessions per endpoint
2019-03-26 09:51:57 -04:00
Jeff Becker
d4cb6808ec
more
2019-03-25 11:41:37 -04:00
Jeff Becker
7065b00c22
kill dead routers from nodedb and lessen logs
2019-03-25 09:07:19 -04:00
Jeff Becker
cc7454684b
kill dead links
2019-03-22 14:23:33 -04:00
Jeff Becker
183c451972
let utp manage link layer timeout
2019-03-22 07:44:28 -04:00
Jeff
4c611ea935
make macos happy
2019-03-19 09:22:15 -04:00
Jeff Becker
de868e3623
fix order
2019-03-18 08:30:07 -04:00
Jeff Becker
4bfe97781c
relax ping to 10s of inactivity
2019-03-18 08:25:32 -04:00
Jeff Becker
5d3833ef1a
fix dumb as shit path building that causes premature termiantion because of duplicate hops
2019-03-11 09:58:31 -04:00
Jeff Becker
734a5b5fae
more
2019-03-11 09:01:43 -04:00
Jeff Becker
792d7d16c0
try fixing timeout issue
2019-03-08 09:59:13 -05:00
Jeff Becker
3547863f8e
fix excessive pings
2019-03-07 18:32:15 -05:00
Jeff Becker
2218749134
Merge remote-tracking branch 'origin/staging' into staging
2019-03-07 17:58:29 -05:00
Jeff Becker
6a09348c47
today's work
2019-03-07 17:53:36 -05:00
Jeff Becker
eceb55623c
more
2019-03-07 10:17:29 -05:00
Michael
61f3273dc4
Add threading annotations and fix potential deadlocks
2019-03-04 00:03:52 +00:00
Michael
c5a129ddff
Convert to use abseil synchronisation primitives
2019-03-03 21:20:38 +00:00
Jeff Becker
f8d6becce8
make whitelist happy
2019-02-27 07:55:26 -05:00
Jeff Becker
ef13ec7499
Merge remote-tracking branch 'origin/staging' into staging
2019-02-26 07:55:27 -05:00
Jeff Becker
89a8c9248d
fix crash
2019-02-25 07:51:01 -05:00
Jeff Becker
ab3d435d7f
don't cast size_t to ssize_t
2019-02-25 07:46:29 -05:00
Jeff Becker
0b558959b6
send keepalives periodically
2019-02-23 13:04:12 -05:00
Jeff Becker
a27dab46d1
don't close link on message handl fail
2019-02-23 12:54:35 -05:00
Jeff Becker
41bb83aaba
more
2019-02-19 08:32:26 -05:00
Rick V
5a3947ca5c
clang-format
2019-02-18 17:58:12 -06:00
Jeff Becker
445ed05b32
make format
2019-02-18 14:44:41 -05:00
Michael
887fb4ac62
Replace insert(make_pair()) with emplace()
2019-02-18 10:35:23 +00:00
Michael
a00d6afc5e
Convert llarp_buffer_t to be a class with methods
2019-02-17 13:09:48 +00:00
Jeff Becker
1d958d95de
* make rpc compile right
...
* make link sessions introspectable
* make utp write buffers fully flush each tick
2019-02-15 17:19:19 -05:00
Jeff
cdc19c52fa
Merge branch 'staging' into abstract_router_replacement
2019-02-15 12:10:18 -05:00
Jeff Becker
22b63fba38
close and shutdown utp socket on timeout
2019-02-15 08:45:56 -05:00
Michael
048fa83c39
Finish replacement of Router with AbstractRouter
2019-02-14 22:31:31 +00:00
Michael
67b5d48095
Replace usage of new/delete with unique_ptr/stack allocation
2019-02-11 16:24:05 +00:00
Michael
729cd045f1
Convert llarp::Router into an abstract base class
2019-02-06 09:59:47 +00:00
Jeff Becker
cd36d126d8
!!! breaking change !!!
...
half the utp fragment size
2019-02-05 10:07:57 -05:00
Ryan Tharp
506a1f8ae6
Revert "fix scoping issue"
...
This reverts commit 93af0978a3
.
2019-02-04 16:43:37 -08:00
Ryan Tharp
4bf4faa956
make format
2019-02-04 16:41:33 -08:00
Ryan Tharp
144b3f4ec3
Merge branch 'staging' of https://github.com/loki-project/loki-network
2019-02-04 23:04:38 +00:00
Michael
7ca3e13e78
Rename to ManagedBuffer
2019-02-03 00:48:10 +00:00
Michael
47380ba64b
Simplify some code
2019-02-03 00:31:10 +00:00
Michael
6f0ce07571
Fix cause of issue with LinkLayerTest.TestUTPAliceConnectToBob
2019-02-02 23:22:41 +00:00
Michael
f3b0af9d2f
Create CopyableBuffer type
2019-02-02 23:21:35 +00:00
Michael
2de621b0ad
Disable copy constructing llarp_buffer_t
2019-02-01 01:58:13 +00:00
Ryan Tharp
93af0978a3
fix scoping issue
2019-01-30 23:22:50 -08:00
Michael
f24f554a01
Convert llarp::Crypto into an abstract base class
2019-01-26 15:40:58 +00:00
Ryan Tharp
1ba5b75082
Merge branch 'master' of https://github.com/neuroscr/loki-network
2019-01-16 21:25:37 +00:00
Ryan Tharp
3148d0c20b
clang-format
2019-01-16 13:08:57 -08:00
Ryan Tharp
fc5a43401a
clang-format
2019-01-16 13:02:34 -08:00
Michael
da6cdfc0b2
More refactoring to continue to make dependency graph acylic
2019-01-15 23:15:44 +00:00