Commit Graph

8262 Commits (quic-wip)
 

Author SHA1 Message Date
dr7ana 0b6506a00b oxen-libquic version bump
- added CI fixes for gnutls build
9 months ago
dr7ana 511c20cdb6 Message handling methods
- `::handle_message` is transposed; Rather than the message calling the method and taking a reference to the router, the router should have a handle_message method and take a reference to the message
- `::EndcodeBuffer` takes a string reference, to which the result of `::bt_encode()` is assigned
9 months ago
dr7ana 11e54f6552 More message refactoring
- routing messages and surrounding code
- shim code in place for iteration and optimization after deciding what to do with buffer, string handling, and subsequent function calls
9 months ago
dr7ana a921575c55 mein gott 9 months ago
Thomas Winget edd3534425 Default cmake BUILD_SHARED_LIBS to OFF
By not having BUILD_SHARED_LIBS as a defaulted option, if it was not set
in the invocation of cmake then any submodule could come along and set
it instead by declaring it as an option.  If/when this happens in the
middle of the cmake process, some modules will have the flag unset and
others will have it as the default that the submodule set, leading to
inconsistent compilation parameters at best, but likely linking failure.
9 months ago
dr7ana db01c7c4ce oxen-mq commit bump 9 months ago
Thomas Winget e2e7ed3490 pass datagram data cb to endpoint ctor, not listen/connect
Still ngtcp2 link errors, but everything else seems to build.  Have not
checked tests; not likely they will build or be correct if broken.
9 months ago
Jason Rhinelander d92d95177d
ngtcp2 build fix
-std=c99 breaks ngtcp2's build -- it appears to depend on GNU extensions
when compiling on linux, so don't force compiler C extensions off.
9 months ago
Jason Rhinelander bc585d93d2
Remove external/ngtcp2 (use the one from libquic instead) 9 months ago
Thomas Winget a44fdab460 LinkManager linker issues / explicit constructor 9 months ago
Jason Rhinelander c92facc15e
Minor cleanups 9 months ago
Jason Rhinelander 78f866347b
Remove unnecessary static_pointer_cast 9 months ago
Thomas Winget 99be31b72f compiles, but does not link 9 months ago
Thomas Winget 450121734a liblokinet compilation issues from implicit ngtcp2 version bump
Note: this is compilation-fixing only.  Behavior fixing will come later with combining
the earlier efforts on liblokinet with the new wire protocol changes.
9 months ago
Thomas Winget 68e8abc234 bump libquic version 9 months ago
Jason Rhinelander cd7498cb5a
Bump libquic for oxen-logging fix 9 months ago
dr7ana 0260da6bd9 cleaning up after tom 9 months ago
dr7ana 620f916e65 Bump oxen-libquic to latest PR's 9 months ago
dan 4992b9b02c Added path-build to documentation
- re-structure docs
- add diagrams
9 months ago
Jason Rhinelander c997ca2b60
Don't rely on cmake search path for StaticBuild
Resolves a conflict with libquic's StaticBuild.
9 months ago
dr7ana 1346ce5326 oxen-libquic bump for cmake fix 9 months ago
Thomas Winget ab86318404 Partial implementation of libquic as wire protocol
TODO:

- set up all the callbacks for libquic

- define control message requests, responses, commands

- plug new control messages into lokinet (path creation, network state, etc)

- plug connection state changes (established, failed, closed, etc.) into lokinet

- lots of cleanup and miscellanea
9 months ago
dr7ana ad5055b85f cmake tweaks for redundant dependencies (WIP) 9 months ago
Thomas Winget 22ac3cd26e initial quic wire proto Endpoint skeleton 9 months ago
Thomas Winget 9b42a21ca2 initial quic wire proto Connection skeleton 9 months ago
Thomas Winget 3c46b07bfe Add oxen-libquic submodule
TODO: correctly plug it into CMake and remove ngtcp2 submodule from lokinet
as it will now come from oxen-libquic, if even used directly by lokinet at all.
9 months ago
Jason Rhinelander 178ac1757b
Merge pull request #2199 from dr7ana/oxen-logging-bump
Oxen-logging version bump
10 months ago
dr7ana 9acac2c33e CI fixes
- oxen-logging updated to bump fmt version
- version bump oxen-logging to fix fmt version
- version bump oxen-mq to solve uniform distribution error
- misc errors introduced by above version bumps
- clang-format 14 -> 15
10 months ago
Jason Rhinelander e11f5018c2
Fix negative integer parsing 1 year ago
Jason Rhinelander a17753fddb
Merge pull request #2180 from majestrate/fix-2179-ipv6-upstream-dns-2023-05-20
libunbound ipv6 upstream dns syntax error
1 year ago
Jason Rhinelander ab606c48d4
Rename `add_braces` -> `ipv6_brackets`
"Braces" seemed misleading as usually that terms refers to `{}` rather
than `[]`, and also this only affects ipv6 addresses.
1 year ago
Jason Rhinelander 7f9b425332
Merge pull request #2182 from dr7ana/incomplete-issues
Added workflow to remove stale, incomplete issues
1 year ago
dan 0a98fb943d added workflow to remove stale issues 1 year ago
Jeff Becker fc050b3a09
fix issue #2179
when setting libunbound's upstream dns, we need to not pass in the square braces of an ipv6 address.
we also net udp handles have ipv6 address for the local ip.
1 year ago
Jason Rhinelander 559fa8aec4
Merge pull request #2173 from longyap/dev
add #include <cstdint>
1 year ago
GNU/LongYap 89c5c73be4
add #include <cstdint>
add #include <cstdint> to fix build error
1 year ago
Jason Rhinelander a294c81f0d
Python <3.11 compat fix 1 year ago
Jason Rhinelander b48e8b23ea
Merge pull request #2106 from majestrate/fix-config-comment-typo-2023-01-05
fix typo in config comments
1 year ago
majestrate 24bfbd5bc6
Merge pull request #2142 from jagerman/bencode-hex
Add automatic hex decoding to bencode-dump.py
1 year ago
Jason Rhinelander e255b87992
Add automatic hex decoding to bencode-dump.py
This allows bencode-dump.py autodetect hex input and decode it on the
fly, which is quite convenient when working with binary-containing
bencoded data strings.
1 year ago
majestrate 7d2ad5621b
Merge pull request #2139 from majestrate/fix-issue-2138-with-loop-call-2023-02-15
fix issue #2138
1 year ago
Jeff Becker d7d3a4e774
fix issue #2138
in rpc client, contention on a null lock happened.
fix this by making the sending of pings always done in the logic
thread. this is done by wrapping the lambda we made with EventLoop::make_caller()
1 year ago
Jason Rhinelander 366d0c1be9
Merge pull request #2128 from majestrate/oxend-defer-ping-2023-01-29
ping oxend after getting identity keys
1 year ago
majestrate 3de23c3eba
Merge pull request #2130 from XutaxKamay/dev
fix openwrt mips32 static build
1 year ago
Kamay Xutax 742b66c300 fix openwrt mips32 static build
libunbound needs to link against libatomic because of openssl
crypto (says EVP_sha256 missing otherwise in libunbound during build)
1 year ago
Jason Rhinelander 7fb36782dc
Merge pull request #2121 from drouhana/rpc-refactor
RPC refactor
1 year ago
dan 9bfe881a35 OMQ_Request handling logic change 1 year ago
dan b2e8cde64b working new endpoints
- added hotswap functionality
- map_exit and unmap_exit working
1 year ago
dan 0632e88de0 Make new header for json type conversions 1 year ago
Jeff Becker 02b392881b add llarp::service::Endpoint::map_exit 1 year ago