Commit Graph

66 Commits (ec2f6912d8ab675bafc159e3be94db57e06080a6)

Author SHA1 Message Date
Jeff Becker e155eb37b1
try fixing leak in libabyss 5 years ago
Jeff Becker 99c814e6b0
fix dns rebinding vuln in jsonrpc 5 years ago
Jason Rhinelander 63d2abbb00 Another gcc 5 compat fix (plus small optimization) 5 years ago
Jason Rhinelander 54186c4a89 Replace absl string_view with string_view from lokimq
When we add loki-mq has a dependency we can just alias it, but for now
it's easier to copy the header than add the whole submodule library.
5 years ago
Jason Rhinelander 089056ca5b Remove all ABSL_ATTRIBUTE_UNUSED uses 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
Jeff Becker 9d494abbaf
remove internal limit on response size 5 years ago
Michael 1aec0dfa2b
Move logging to subdirectory 5 years ago
Michael f9e9227e19
Fix gcc trunk warnings 5 years ago
Jeff Becker 35bb7444fe
make tcp work with libuv probably 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-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
6 years ago
Jeff Becker 5399b93270
make format and readd win32 console color logging 6 years ago
Jeff Becker e178a70929
use shared_ptr for event loop 6 years ago
Jeff Becker d4cb6808ec
more 6 years ago
Jeff 4c611ea935 make macos happy 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
Jeff Becker 46b80e465d
* fix jsonrpc endpoint path for caller
* make epoll not crash and leak
* correct key name in config
6 years ago
Jeff Becker 71302ee48b
Merge remote-tracking branch 'origin/staging' into fix-libabyss-352 6 years ago
Jeff Becker a6b9a19b3d
start working on 352 6 years ago
Michael 54e689b0ad
Use string_view for string_view 6 years ago
Rick V 5a3947ca5c
clang-format 6 years ago
Rick V 0f45e286ff
XXX: the inline string_view constructors *should* be harmless on pre-C++17 platforms...
fix windows build
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 e1fceb3636
fix it (again) 6 years ago
Michael f3b0af9d2f
Create CopyableBuffer type 6 years ago
Michael 04e0fe3ad7
Move crypto code to a subdirectory 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 a5c3ba0fdd
Move logger.hpp to llarp/ 6 years ago
Michael 451bbedfaf
Move crypto.hpp to llarp/ 6 years ago
Michael c064893947
Move buffer.hpp to llarp/ 6 years ago
Michael 30e9dca2e5
Convert llarp_logic to be a C++ class 6 years ago
Jeff Becker 25fac844eb
make format 6 years ago
Jeff Becker c1e494c2c4
have llarp_ev_* use llarp_buffer_t 6 years ago
Jeff Becker 67eadff143
node whitelist option via jsonrpc 6 years ago
Michael 0b2ebc83e0
De-C-ify several .h headers 6 years ago
Jeff Becker 7a78832841
Merge remote-tracking branch 'rick/dev' 6 years ago
Michael Thorpe 33bfaf7ecd
Enable -Wextra
test criteria:
- test build on macOS
- test build in debian docker container
- test build in fedora docker container
6 years ago
despair 04e620ebf2 add iocp tcp connect
msys2 grabs its reactos sdk headers straight out of git
most cross-compilers use the versioned releases (v6 as of last week)

huh. for once setting the windows version macros doesn't break anything.
6 years ago
Jeff Becker 05a6e66aa0
checks for freebsd 6 years ago
Jeff Becker f285a0ac3e
update tests 6 years ago
Jeff Becker ac1d1169bc
Merge remote-tracking branch 'rick/dev' into dev 6 years ago
Jeff 4b92661f5d * fix up kqueue tcp connection tracking so it works on mac os
* match changes in epoll for kqueue changes
* additional checks in libabyss
6 years ago