Commit Graph

107 Commits

Author SHA1 Message Date
Jeff Becker
c9f26c4911
call Router::PumpLL after every batch of packets from a link session 2019-11-04 13:49:08 -05:00
Jeff Becker
1fc36f4832
changes from review 2019-11-04 12:24:42 -05:00
Jeff Becker
8befd6f2db
flush link session encrypt queue immediately after handling plaintext packets 2019-11-04 08:34:30 -05:00
Jeff Becker
e2890e925b
make it compile 2019-10-28 17:46:39 -04:00
Jeff Becker
20dd4e4d09
use data not begin 2019-10-28 17:39:24 -04:00
Jeff Becker
2267a7d283
fix bounds check 2019-10-28 17:23:43 -04:00
jeff
4af6dca246 use static_cast 2019-10-02 11:35:33 -04:00
jeff
3c1d5518d8 fix windows port and make it compile 2019-10-02 09:06:14 -04:00
jeff
32ed821763 Merge remote-tracking branch 'upstream/dev' into multithreaded-cryptography 2019-10-01 10:51:28 -04:00
Michael
86a07e2a80
Enable more sanitisers 2019-09-23 11:47:58 +01:00
Jeff Becker
327c545530
finish multithread cryptography first pass 2019-09-16 12:12:05 -04:00
jeff
14c9ef15ed try calling stuff in logic thread from event loop 2019-09-16 06:21:12 -04:00
jeff
ac2a2aed1d gut libutp and finish making things compile and pass tests 2019-09-12 14:19:25 -04:00
Jeff Becker
d04762ab49
unstaged changed 2019-09-12 10:34:27 -04:00
Jeff
070a014f85
Merge pull request #799 from majestrate/remove-link-layer-locking
disable link layer locking
2019-09-07 08:09:32 -04:00
Jeff Becker
3c0245f8b3
Merge remote-tracking branch 'github/master' into iwp-multi-ack 2019-09-05 13:40:04 -04:00
Jeff Becker
4bf6882c8a
more async cryptography 2019-09-05 13:39:09 -04:00
Jeff Becker
88cde21b9b
multithreaded iwp cryptography 2019-09-05 10:57:01 -04:00
Jeff Becker
0d3c07999a
break it again just to be sure 2019-09-05 09:36:46 -04:00
Jeff Becker
a4160006ab
make it compile 2019-09-05 09:34:59 -04:00
Jeff Becker
3b1a0b2835
add multi-ack and change protocol handshake to pin identity key 2019-09-05 09:21:35 -04:00
Jeff Becker
1adae338ce
Merge remote-tracking branch 'origin/master' 2019-09-04 07:58:02 -04:00
Jeff Becker
e9f01923d9
dont nack replayed messages, tweak transmission parameters.
this yields more efficient througput. probably.
2019-09-03 16:22:52 -04:00
Michael
4d8fe2a8a8
Move meta programming to subdirectory 2019-09-03 20:52:28 +01:00
Jeff Becker
2ab265be41
disable link layer locking because there was no contention 2019-09-03 11:58:36 -04:00
Jeff Becker
c01112e4b7
tracy lock contention testing and other fun things 2019-09-03 11:56:56 -04:00
Jeff Becker
deecbbbdef
optimize 2019-08-30 10:44:43 -04:00
Jeff Becker
83432d7567
make format 2019-08-29 08:05:29 -04:00
Jeff Becker
4c569d83b7
make it compile 2019-08-29 08:04:46 -04:00
Jeff Becker
d1e590ce9d
fix sign 2019-08-28 10:42:32 -04:00
Jeff Becker
795ac6bab3
get rid of dead code 2019-08-28 10:15:16 -04:00
Jeff Becker
0986b6ab5e
quick little fixes 2019-08-28 07:59:08 -04:00
Jeff Becker
444d832b7c
correct constructors on llarp_buffer_t and check rc on regen 2019-08-28 07:38:32 -04:00
Jeff Becker
16934cdd20
please the CI gods, wololo 2019-08-28 07:11:03 -04:00
Jeff Becker
ba2aaa68c6
add short data fragments and rx replay filter 2019-08-28 07:02:00 -04:00
Jeff Becker
3c2c895593
fix log level 2019-08-27 13:10:25 -04:00
Jeff Becker
4c8da9bb6d
use correct constructor for llarp_buffer_t 2019-08-27 09:14:44 -04:00
Jeff Becker
88f685b74a
add forgotten bits 2019-08-27 08:13:55 -04:00
Jeff Becker
0241851b72
add likn layer delivery timeout notification for iwp 2019-08-27 08:07:48 -04:00
Jeff Becker
94f8531776
more fixups 2019-08-26 10:29:29 -04:00
Jeff Becker
6a48a3b402
code review fixes:
* use std::unordered_set
* use default for ctor/dtor
* don't crash on short packet with nack
2019-08-26 07:16:46 -04:00
Jeff Becker
82ea973137
silence clang errors 2019-08-23 08:48:40 -04:00
Jeff Becker
5f8388b1c0
lower log level for renegotiate 2019-08-23 08:30:07 -04:00
Jeff Becker
7e38a133d8
send keep alive on pump when needed 2019-08-23 07:57:57 -04:00
Jeff Becker
d6ec5e7ed7
don't crash 2019-08-23 07:50:22 -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
Michael
16cdfbd5f0
clang-tidy modernize pass 2019-08-12 16:52:58 +01: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