Commit Graph

4970 Commits (f35f7fe3f2d0c18e25224e451d77261c88c21a36)

Author SHA1 Message Date
Thomas Winget f35f7fe3f2 refactor path build message construction, no more async nonsense 11 months ago
dr7ana 206bd0b85e wawaweewa 11 months ago
dr7ana 1a9f977208 Message method implementation continued
- tons of surrounding stupid refactoring required
11 months ago
dr7ana ad007ff832 libquic/oxen-mq/oxenc version bumps 11 months ago
dr7ana d9ead7d0f6 crypto and message encoding
- libsodium calls streamlined and moved away from stupid typedefs
- buffer handling taken away from buffer_t and towards ustrings and strings
- lots of stuff deleted
- team is working well
- re-implementing message handling in proper link_manager methods
11 months ago
dr7ana ae319091d6 libquic bump 12 months ago
dr7ana d0c3837384 libquic bparser merged
- bumped version to latest main branch commit
- wired up callbacks to set RPC request stream on creation
- methods for I/O of control and data messages through link_manager
12 months ago
dr7ana a3e6cec7e7 Address type migration + libquic bump
- llarp/router/router.hpp, route_poker, and platform code moved to libquic Address types
- implementing required methods in link_manager for connection establishment
- coming along nicely
12 months ago
dr7ana bfa9629779 More carving + libquic bump
- bumped libquic to begin implementing dependent features on connection open/close signals
- more gutting of interface classes
12 months ago
dr7ana aaf688cf81 Deleted a lot
- RIP llarp/iwp/* and most of llarp/link
12 months ago
dr7ana fd527d612f Carving through llarp/link 12 months ago
dr7ana a4272c4503 Added span backport 12 months ago
dr7ana 7f8207d5d3 Nuked superfluous interface classes
RIP:
- i_link_manager
- i_outbound_message_handler
- i_gossiper
- i_outbound_session_maker
- i_rc_lookup_handler
12 months ago
dr7ana 821cbeaacf warnings_as_errors fixes 12 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
12 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
1 year ago
dr7ana a921575c55 mein gott 1 year 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.
1 year 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.
1 year ago
Thomas Winget a44fdab460 LinkManager linker issues / explicit constructor 1 year ago
Jason Rhinelander c92facc15e
Minor cleanups 1 year ago
Jason Rhinelander 78f866347b
Remove unnecessary static_pointer_cast 1 year ago
Thomas Winget 99be31b72f compiles, but does not link 1 year 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.
1 year ago
dr7ana 0260da6bd9 cleaning up after tom 1 year ago
dr7ana 620f916e65 Bump oxen-libquic to latest PR's 1 year 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
1 year ago
dr7ana ad5055b85f cmake tweaks for redundant dependencies (WIP) 1 year ago
Thomas Winget 22ac3cd26e initial quic wire proto Endpoint skeleton 1 year ago
Thomas Winget 9b42a21ca2 initial quic wire proto Connection skeleton 1 year 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
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
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
GNU/LongYap 89c5c73be4
add #include <cstdint>
add #include <cstdint> to fix build error
1 year ago
Jason Rhinelander b48e8b23ea
Merge pull request #2106 from majestrate/fix-config-comment-typo-2023-01-05
fix typo in config comments
2 years 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()
2 years ago
Jason Rhinelander 366d0c1be9
Merge pull request #2128 from majestrate/oxend-defer-ping-2023-01-29
ping oxend after getting identity keys
2 years ago
dan 9bfe881a35 OMQ_Request handling logic change 2 years ago
dan b2e8cde64b working new endpoints
- added hotswap functionality
- map_exit and unmap_exit working
2 years ago
dan 0632e88de0 Make new header for json type conversions 2 years ago
Jeff Becker 02b392881b add llarp::service::Endpoint::map_exit 2 years ago
Jeff Becker 031e173f1a
ping oxend after getting identity keys
fixes #2125
2 years ago
dan d3e69fe3c5 added unmapexit and listexit endpoints 2 years ago
dan d37398a915 review comments 2 years ago
dan 13b01c86a6 Updated RpcServer Initialization and Logic
-- Moved all RPCServer initialization logic to rpcserver constructor
    -- Fixed config logic, fxn binding to rpc address, fxn adding rpc cats
    -- router hive failed CI/CD resulting from outdated reference to rpcBindAddr
    -- ipc socket as default hidden from windows (for now)
refactored config endpoint
    - added rpc call script (contrib/omq-rpc.py)
    - added new fxns to .ini config stuff
    - added delete .ini file functionality to config endpoint
    - added edge case control for config endpoint

add commented out line in clang-form for header reorg later
2 years ago
Jeff Becker c682247f87
fix typo in config comments
lokinetN -> lokitunN
2 years ago
Jeff Becker 2498a085db
rearrange cmake libraries
define relations and document them.
make responsibilies clear and consice.
2 years ago
Jeff Becker 4508c59cd3
redo includes to be consistent 2 years ago
drouhana 0edfe8ff83
IPC Socket Fixes (#2111)
* Updated RpcServer Initialization and Logic

-- Moved all RPCServer initialization logic to rpcserver constructor
-- Fixed config logic, fxn binding to rpc address, fxn adding rpc cats
-- router hive failed CI/CD resulting from outdated reference to rpcBindAddr
-- ipc socket as default hidden from windows (for now)
2 years ago
Thomas Winget fbfd70a35a Fix incorrect usage of oxen-logging syslog
Previously oxen-logging was erroneously hard-coded to use the target
"lokinet" for system logs.  Obviously this is wrong for anything else
which uses oxen-logging and the system log.  This changes our call to
add_sink to pass "lokinet" as the target rather than the config
filename, and updates oxen-logging to use that argument correctly.
2 years ago