Commit Graph

89 Commits

Author SHA1 Message Date
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
729cd045f1
Convert llarp::Router into an abstract base class 2019-02-06 09:59:47 +00: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
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
Michael
da6cdfc0b2
More refactoring to continue to make dependency graph acylic 2019-01-15 23:15:44 +00:00
Michael
e5eda0fb8f
Move lokinet unspecific components to a util/ library 2019-01-10 20:07:24 +00:00
Jeff Becker
2a67242ccd
fixes 2019-01-07 11:35:25 -05:00
Jeff Becker
1a5c70f09d
don't call utp_shutdown in destructor 2019-01-07 11:15:47 -05:00
Jeff Becker
3d5d52de87
add fix 2019-01-07 11:13:16 -05:00
Jeff Becker
7ba1395d23
fix utp leak in unit tests 2019-01-07 07:36:26 -05:00
Michael
9658c80b48
Minor build fixes 2019-01-03 21:25:16 +00:00
Michael
7dd40015f3
Mark AlignedBuffer constructor as explicit 2019-01-02 01:04:06 +00:00
Michael
ea19093a20
Remove const byte* conversion operators from llarp::AlignedBuffer 2019-01-02 01:04:04 +00:00
Michael
1410d0a0cf
Remove byte* conversion operators from llarp::AlignedBuffer 2019-01-02 01:04:03 +00:00
Michael
334161c9bb
Remove data() conversions from llarp::AlignedBuffer 2019-01-02 01:03:53 +00:00
Jeff Becker
6825cc0eec
fix crashes 2018-12-27 14:10:38 -05:00
Jeff Becker
4d689da148
more 2018-12-27 13:42:23 -05:00
Jeff Becker
874b1cd53c
only remove message when it successfully parses and handles 2018-12-27 13:31:19 -05:00
Jeff Becker
ec57c72e08
fix testnet 2018-12-27 13:27:43 -05:00
Jeff Becker
6fc42dc7ad
fixes 2018-12-19 12:48:29 -05:00
Jeff Becker
cca19290de
session renegotiation, RC expiration, more utp unit tests, network isolation. 2018-12-19 11:17:41 -05:00
Jeff Becker
e58f2c521e
done for the day 2018-12-17 17:43:16 -05:00
Jeff Becker
b39c46fc03
!!! this breaks backwards compat :^) !!!
redo link protocol to use 2 session keys, add unit tests.
2018-12-17 15:46:08 -05:00
Jeff Becker
35fd046a9a
unfinished 2018-12-16 15:34:04 -05:00
Jeff Becker
be234e4b6e
* make format
* snode to snode direct traffic

* wire up dns on service node tun
2018-12-13 11:14:44 -05:00
Michael
85dde7b6b0
Move remaining include/llarp headers to llarp/ 2018-12-12 02:53:02 +00:00
Michael
c0a76714fa
Move link* to llarp/ 2018-12-12 02:53:01 +00:00
Michael
c064893947
Move buffer.hpp to llarp/ 2018-12-12 02:53:00 +00:00
Michael
7be452092c
Convert llarp_crypto to be a true C++ class 2018-12-11 00:53:55 +00:00
Michael
f0fce5b68a
Convert llarp_router to be a true C++ class 2018-12-10 20:15:35 +00:00
Jeff Becker
fad734a5ce
strict types for pubkey, secretkey and routerid 2018-12-10 12:22:59 -05:00
despair
f17c01a924 clang-format 2018-12-03 12:28:16 -06:00
despair
d26141d433 Merge branch 'dev' into reeeee-divergence
ok hope this works -rick

# Conflicts:
#	.gitignore
#	.vscode/settings.json
#	include/llarp/service/context.hpp
#	llarp/dns.cpp
#	llarp/dnsc.cpp
#	llarp/ev.cpp
#	llarp/ev.hpp
#	llarp/ev_win32.hpp
#	llarp/net.cpp
#	llarp/router.cpp
#	llarp/router.hpp
#	llarp/service/context.cpp
2018-12-03 12:24:56 -06:00
despair
60f6131e43 netbsd stuff 2018-11-22 20:02:24 -06:00
Jeff Becker
67eadff143
node whitelist option via jsonrpc 2018-11-21 12:46:33 -05:00
despair
906f11d08f gah how did i miss that 2018-11-20 09:38:46 -06:00
Jeff Becker
b543d6243d
Merge branch 'master' into dev 2018-11-20 07:42:17 -05:00
despair
436025e0ca fix utp flags leaking into the actual socket transmission
clang-format
2018-11-20 06:11:51 -06:00
despair
964e834fea finally get the right error on windows
fix

fix up errno on win32

test
2018-11-20 02:38:24 -06:00