Stephen Shelton
273270916e
The Great Wall of Blame
...
This commit reflects changes to clang-format rules. Unfortunately,
these rule changes create a massive change to the codebase, which
causes an apparent rewrite of git history.
Git blame's --ignore-rev flag can be used to ignore this commit when
attempting to `git blame` some code.
5 years ago
Jeff Becker
99c814e6b0
fix dns rebinding vuln in jsonrpc
5 years ago
Jason Rhinelander
ac1486d0be
Replace absl::optional with optional-lite
...
Step 1 of removing abseil from lokinet.
For the most part this is a drop-in replacement, but there are also a
few changes here to the JSONRPC layer that were needed to work around
current gcc 10 dev snapshot:
- JSONRPC returns a json now instead of an optional<json>. It doesn't
make any sense to have a json rpc call that just closes the connection
with returning anything. Invoked functions can return a null (default
constructed) result now if they don't have anything to return (such a
null value won't be added as "result").
5 years ago
Michael
edd0ec398f
Move thread stuff to subdirectory
5 years ago
Jeff Becker
64c7ed42fc
make format
5 years ago
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
5 years ago
Michael
dd8a93a400
Apply rule of zero to code base
5 years ago
Michael
9ee525a006
Fix shadowing warnings
6 years ago
Michael
4143472a17
Add cmake module to target a library as 'system', and fix a few warnings
6 years ago
Jeff Becker
e178a70929
use shared_ptr for event loop
6 years ago
Jeff Becker
990049f423
make rpc do basic auth and shit like that
6 years ago
Michael
31441b46dc
Convert from rapidjson to use nlohmann::json
6 years ago
Michael
a0125ffe86
Move abyss/json to llarp/util/json
6 years ago
Jeff Becker
39fdebbf48
* make docker use ninja
...
* fix debian build
6 years ago
Jeff Becker
de575ab088
disable pretty print json
6 years ago
Jeff Becker
e1fceb3636
fix it (again)
6 years ago
Jeff Becker
e1522faeaa
add introspection rpc endpoint
6 years ago
Michael
b1ffdba7ba
Build with libabyss
6 years ago
Michael
e5eda0fb8f
Move lokinet unspecific components to a util/ library
6 years ago
Jeff Becker
21d1998a38
add graceful stop for path builders and friends
6 years ago
Michael
85dde7b6b0
Move remaining include/llarp headers to llarp/
6 years ago
Michael
30e9dca2e5
Convert llarp_logic to be a C++ class
6 years ago
Michael
e4c5f4f77a
Update from `typedef` to `using` in .hpp files
6 years ago
Jeff Becker
67eadff143
node whitelist option via jsonrpc
6 years ago
Michael
d750ec0605
Rename logic.h
6 years ago
Michael
0b2ebc83e0
De-C-ify several .h headers
6 years ago
Michael Thorpe
a2d5d80779
Enable warnings as errors
...
test criteria:
- Built from clean on macOS
6 years ago
Jeff Becker
080c0da4a0
remvoe const requirement and update unit tests for jsonrpc server
6 years ago
Jeff Becker
f285a0ac3e
update tests
6 years ago
despair
8952873b84
include string_view
6 years ago
Jeff Becker
2d279e83fd
initial tcp connect for epoll
6 years ago
despair
38f2a6b2c9
be slightly less annoying
...
check build rules
6 years ago
Jeff Becker
dbd2c41909
use event loop for time
6 years ago
Jeff Becker
b3e7fee982
try making compatable with older versions of rapidjson
...
add toy munin plugin
6 years ago
Jeff Becker
04d55b94c5
fix up jsonrpc stuff
6 years ago
Jeff Becker
ab7a4cd805
make jsonrpc demo work
6 years ago
Jeff Becker
957a5ed833
initial epoll event loop implementation for tcp
6 years ago