jeff
58a25602f5
more fixes, implemenmt missing functions
2019-10-09 09:08:38 -04:00
jeff
c26b67c379
finish wiring up jni shizz
2019-10-08 10:52:01 -04:00
jeff
52757fef0e
Merge remote-tracking branch 'micheal/background_mode' into vpn-api-2019-10-03
2019-10-04 14:10:58 -04:00
Michael
15cb49c9bd
Introduce --background to only start JSON RPC
...
fixes #853
2019-10-04 10:32:52 +01:00
Jeff Becker
e3bb59707e
more
2019-09-05 17:28:50 -04:00
Jeff Becker
d11321366c
make it compile
2019-09-04 08:43:50 -04:00
Jeff Becker
12314e8d00
ensure no crash on quit
2019-09-04 08:41:07 -04:00
Michael
edd0ec398f
Move thread stuff to subdirectory
2019-09-03 20:52:28 +01:00
Michael
0950571313
Move metrics to subdirectory
2019-09-03 20:52:28 +01:00
Michael
4d8fe2a8a8
Move meta programming to subdirectory
2019-09-03 20:52:28 +01:00
Michael
1aec0dfa2b
Move logging to subdirectory
2019-09-03 20:52:27 +01:00
Michael
16cdfbd5f0
clang-tidy modernize pass
2019-08-12 16:52:58 +01:00
Jeff
183ec25717
Merge pull request #729 from majestrate/fix-android-2019-07-24
...
make android compile again
2019-07-25 14:24:13 -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
Jeff Becker
43cb62af16
fix android compile, have makefile pull in libuv for cmake on android
2019-07-24 11:25:40 -04:00
Jeff Becker
16e20a9e79
try fixing bootstrap
2019-07-15 12:56:09 -04:00
Jeff
284a352dda
fix previous commit
2019-07-13 07:57:41 -04:00
Jeff
b9cdfd116e
correct worker threads amounts
2019-07-13 07:54:58 -04:00
Jeff Becker
1fd6b5ae74
Merge remote-tracking branch 'origin/master' into ipv6-tun
2019-07-12 09:53:52 -04:00
Jeff Becker
749ee7cb9f
make it compile
2019-07-10 10:11:06 -04:00
Jeff Becker
fcc3c05124
Merge remote-tracking branch 'origin/master' into ipv6-tun
2019-07-10 10:07:19 -04:00
Michael
488695047f
Remove redundant else blocks
2019-07-09 22:54:46 +01:00
Jeff Becker
edd3611166
correct name
2019-07-09 10:05:31 -04:00
Jeff Becker
ec6a1cfddc
make it compile
2019-07-09 09:58:16 -04:00
Jeff Becker
84407b3557
make it compile
2019-07-09 09:54:13 -04:00
Jeff Becker
b9bcc2b775
make threadpool consice
2019-07-09 09:47:24 -04:00
Michael
3ce90b678e
Allow override of the rest of the config
2019-07-09 00:29:43 +01:00
Michael
937f28f75d
Move router config to be encapsulated
2019-07-09 00:29:43 +01:00
Michael
f310160065
Fixup and add tests
2019-07-06 14:46:25 +01: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
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
Michael
00c237dc6d
Move config class to its own dir
2019-07-02 01:58:38 +01:00
Michael
fedf6cb8e0
Send netid to metrictank
2019-06-20 00:00:59 +01:00
Rick V
5092a1fa85
restore llarp_make_ev_loop() as we only use libuv now; separate function is now ded code
2019-06-17 23:29:46 -05:00
Michael
c0525f2ea3
Move local publishers to their own files
2019-06-15 15:48:48 +01:00
Jeff Becker
9ec41b8831
update RC expiration logic, lookup more often and remove stale entries
2019-06-10 08:47:21 -04:00
Jeff Becker
223f2702d3
Merge branch 'fix-big-ooooofff'
2019-06-06 06:53:54 -04:00
Michael
75430a234c
Convert to use memFn
2019-06-02 22:19:10 +01:00
Jeff Becker
9deafa4cb8
use libuv
2019-06-02 17:17:05 -04:00
Michael
8323725509
Initial No-Op Crypto implementation
2019-05-29 09:46:34 +01:00
Michael
491fee206b
Port code to use CryptoManager over passing Crypto pointers
2019-05-28 20:45:08 +01: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
7b03b63d13
more sighup code
2019-05-07 14:15:22 -04:00
Jeff Becker
a53da68700
start work on sighup
2019-05-07 13:46:38 -04:00
Jeff Becker
8484e29c9b
turn more stuff into std::shared_ptr
...
remove dead codepaths
2019-04-23 10:47:23 -04:00
Jeff Becker
3a8cb0bfb5
add shell based hooks for service::Endpoint, also make format
2019-04-22 08:25:25 -04:00
michael-loki
0195152e05
Allow builds on MSVC ( #518 )
...
* Import cxxopts to replace getopts usage
* Add visual studio build things
* Fixup abseil build parts
* Replace __attribute__((unused)) with ABSL_ATTRIBUTE_UNUSED
* Fixup minor windows build issues
* Replace getopts usage
* Temporarily fixup .rc files
* More minor windows fixes
* Get a working build
* Revert .rc files
* Revert changes to nodedb
2019-04-19 13:24:33 -05:00
Michael
fb0f08ec01
Make JSON metrics opt-in
2019-04-16 02:26:08 +01:00
Michael
ae341b40fd
fixup! MetricTank metric collector
2019-04-14 18:29:35 +01:00
Michael
9bc501bbf7
Integrate metric tank into build
2019-04-14 17:18:32 +01:00
Michael
544c5f9b61
Move metrics publishers to their own directory
2019-04-14 17:18:32 +01:00
Jeff Becker
3da6551e82
make android compile
2019-04-08 11:54:19 -04:00
Jeff Becker
184971a446
Merge remote-tracking branch 'origin/master'
2019-04-08 08:03:02 -04:00
Jeff Becker
e178a70929
use shared_ptr for event loop
2019-04-08 08:01:52 -04:00
Michael
5df8e16c44
Add metrics section to config
2019-04-07 18:55:21 +01:00
Michael
57d6668e55
Move metrics out of daemon into llarp::Context
2019-04-05 10:20:48 +01:00
Michael
89ae60cfab
llarp::Context uses AbstractRouter now
2019-02-22 16:21:05 +00:00
Michael
13a9f65520
Fully define interface for dht::Context
2019-02-22 15:08:08 +00:00
Michael
4fc582af96
Fix annoying typo
2019-02-12 00:33:19 +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
Michael
f24f554a01
Convert llarp::Crypto into an abstract base class
2019-01-26 15:40:58 +00:00
Jeff Becker
d89e58199a
add initial identity key seed stuff
...
add more kubernetes stuff
make shared library installed if built
2019-01-21 10:45:18 -05:00
Jeff Becker
177dca91e2
add pidfile option
2019-01-18 08:24:33 -05:00
Michael
da6cdfc0b2
More refactoring to continue to make dependency graph acylic
2019-01-15 23:15:44 +00:00
Michael
081d4dfa32
Reorganise source into more folders
2019-01-11 01:19:49 +00:00
Michael
fa2b466ffe
Reorganise tests to mirror source layout
2019-01-11 00:12:52 +00:00
Michael
e5eda0fb8f
Move lokinet unspecific components to a util/ library
2019-01-10 20:07:24 +00:00
Jeff Becker
2afe296f8b
for real fix issue #185
2018-12-28 10:34:41 -05:00
Jeff Becker
e835c5f69a
add graceful stop for path builders and friends
2018-12-24 11:09:05 -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
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
e887b4e9c7
Move service* to llarp/
2018-12-12 02:53:01 +00:00
Michael
7be452092c
Convert llarp_crypto to be a true C++ class
2018-12-11 00:53:55 +00:00
Michael
6358b25db0
Convert llarp_nodedb to be a true C++ class
2018-12-10 23:31:39 +00:00
Michael
f0fce5b68a
Convert llarp_router to be a true C++ class
2018-12-10 20:15:35 +00:00
Michael
30e9dca2e5
Convert llarp_logic to be a C++ class
2018-12-10 14:15:11 +00:00
Jeff Becker
1d1bde2e88
add dnslib
2018-12-03 17:22:59 -05:00
Jeff Becker
622ed8d12e
fix crash on premature close of event loop (also make format)
2018-12-02 13:07:07 -05:00
Jeff Becker
7bc3d94895
try fixing rdns for local interace's address
2018-11-30 09:14:30 -05:00
Jeff Becker
11372c9544
Merge branch 'dev' into snode-endpoint
2018-11-29 09:34:19 -05:00
Jeff Becker
90a2545bb1
handle SIGTERM
2018-11-29 08:12:28 -05:00
Jeff Becker
7e4d74cbfc
add initial jni stuff for lokinet android. i fucking hate android so god damn much.
2018-11-26 17:46:22 -05:00
Jeff Becker
7090a012f3
Merge remote-tracking branch 'micheal/wextra' into dev
2018-11-07 10:57:34 -05:00
Michael Thorpe
33bfaf7ecd
Enable -Wextra
...
test criteria:
- test build on macOS
- test build in debian docker container
- test build in fedora docker container
2018-11-07 15:31:13 +00:00
Jeff Becker
f1cca956f9
make android compile again
2018-11-06 09:06:09 -05:00
despair
38f2a6b2c9
be slightly less annoying
...
check build rules
2018-10-30 00:16:34 -05:00
despair
c5d1b32286
remove microsoft c++ crud
...
🤔 🤔 🤔 🤔
2018-10-30 00:16:33 -05:00
cathugger
4971fae171
uint32_t byte ordering type safety
2018-10-10 15:16:10 +00:00
Ryan Tharp
cc42e8e623
guard, rename endpoint to context, main_router_endpoint_iterator() implementation
2018-10-03 04:00:47 -07:00
Ryan Tharp
9ea564e832
update llarp_main_init_dnsd to make new DNSd init
2018-09-29 03:27:38 -07:00
Ryan Tharp
902f6f14b7
pass RC by ref, header cleanup, clang format
2018-09-24 06:10:36 -07:00
Ryan Tharp
9d4d595624
compile fixes
2018-09-22 03:39:53 -07:00
Ryan Tharp
6590d502cd
get first tun interface wiring
2018-09-22 03:23:23 -07:00
Ryan Tharp
ca7d3567a2
prefetch and expose it
2018-09-21 12:53:20 +00:00
Ryan Tharp
4df6202c9f
Merge branch 'master' of https://github.com/loki-project/loki-network
2018-09-21 12:51:54 +00:00
Jeff Becker
4e7c6ee90a
fix crash
2018-09-21 08:30:57 -04:00
Ryan Tharp
79fb82a3c8
main_router_getRange to get access to tun
2018-09-20 12:34:53 +00:00