1
1
Fork 0
mirror of https://github.com/oxen-io/lokinet synced 2023-12-14 06:53:00 +01:00
Commit graph

8017 commits

Author SHA1 Message Date
majestrate 3de23c3eba
Merge pull request #2130 from XutaxKamay/dev
fix openwrt mips32 static build
2023-02-05 15:56:26 -05:00
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)
2023-02-05 18:31:33 +01:00
Jason Rhinelander 7fb36782dc
Merge pull request #2121 from drouhana/rpc-refactor
RPC refactor
2023-02-01 19:55:18 -04:00
dan 9bfe881a35 OMQ_Request handling logic change 2023-02-01 15:52:37 -08:00
dan b2e8cde64b working new endpoints
- added hotswap functionality
- map_exit and unmap_exit working
2023-02-01 15:52:37 -08:00
dan 0632e88de0 Make new header for json type conversions 2023-02-01 15:52:37 -08:00
Jeff Becker 02b392881b add llarp::service::Endpoint::map_exit 2023-02-01 15:52:30 -08:00
dan d3e69fe3c5 added unmapexit and listexit endpoints 2023-01-24 09:44:02 -08:00
dan d37398a915 review comments 2023-01-24 07:23:01 -08:00
drouhana f6aa58482a
Merge branch 'dev' into rpc-refactor 2023-01-24 06:54:36 -08:00
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
2023-01-24 06:50:46 -08:00
majestrate 7ae1a1a83b
Merge pull request #2108 from majestrate/service-refactor-2023-01-08
[internals refactor] docs and reorganize compilation units
2023-01-21 09:53:34 -05:00
Jeff Becker cd8316e287
add commented out line in clang-form for header reorg later 2023-01-20 15:58:07 -05:00
Jeff Becker 2498a085db
rearrange cmake libraries
define relations and document them.
make responsibilies clear and consice.
2023-01-20 15:58:07 -05:00
Jeff Becker 4508c59cd3
redo includes to be consistent 2023-01-20 13:26:22 -05:00
Jeff Becker 0ab050647f
overview of refactor plan and new component structure. 2023-01-20 13:26:22 -05:00
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)
2023-01-20 14:15:18 -04:00
majestrate 245f968d33
Merge pull request #2120 from tewinget/fix_syslog_target_arg
Fix incorrect usage of oxen-logging syslog
2023-01-17 19:20:37 -05:00
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.
2023-01-17 17:04:53 -05:00
majestrate ae9fd9a739
Merge pull request #2113 from drouhana/cli-refactor
testnet fixes
2023-01-11 09:37:06 -05:00
dan b31a266be8 testnet fixes
-- add ability to pass .ini path without --config flag
-- -r flag runs lokinet in router mode
2023-01-10 14:03:41 -08:00
drouhana a6b2172e54
Fix accepting config file as positional argument
re-add ability to pass .ini path without --config flag
2023-01-10 16:37:18 -04:00
Jason Rhinelander d1b6ccfbc3
Merge pull request #2109 from drouhana/cli-refactor
CLI Fixes
2023-01-10 15:51:00 -04:00
dan ea740ffd79 options.overwrite and options.force are redundant given refactor. they are now combined 2023-01-10 06:35:41 -08:00
dan 26beebca97 logic fix, commit to be stashed 2023-01-09 11:43:25 -08:00
dan b6991bb59a lokinet.cpp CLI and logic fixes
- added single dash to one letter flags to fix CLI incorrectconstruction error
- fixed generate file error
2023-01-09 11:28:25 -08:00
Jason Rhinelander 96c7f13744
Merge pull request #2107 from drouhana/cli-refactor
Command Line Interface Refactor
2023-01-06 19:08:14 -04:00
Jason Rhinelander 3d0fe8ecb7 Rename 'package' target on macos to 'dmg' to avoid cpack conflict
CLI11 uses cpack, which makes us fail to configure on macos because of
the 'package' target.  Renaming it to 'dmg' should avoid the conflict.
2023-01-06 15:07:26 -08:00
dan dc7f3cee22 Replace cxxopts with CLI11
- Simiplifies CLI code for future modification
- filesystem library linked in cmake check_for_std_filesystem file
2023-01-06 15:04:14 -08:00
Jason Rhinelander bf0dc52df7
Merge pull request #2104 from majestrate/openwrt-aarch64-fix-2023-01-03
add case for openwrt aarch64 in static deps
2023-01-05 12:02:53 -04:00
Jeff Becker dcd4623d2e
[win32 ci pipeline]
bookworm has no need for alternatives for mingw.

remove update-alternatives from the pipeline
2023-01-03 09:28:28 -05:00
Jeff Becker 1d84d630ea
add case for openwrt aarch64 in static deps
fixes #2103
2023-01-03 08:56:54 -05:00
Jason Rhinelander 9929445970
Fix poll_block_hash being set in the wrong place 2022-12-21 18:43:44 -04:00
Jason Rhinelander 8959e84595
Merge pull request #2079 from jagerman/bump-deps
Version bump for new release
2022-11-29 13:58:58 -04:00
Jason Rhinelander d9d3041dce
Bump version for fix release
In retrospect the last release really should have been called 0.10.0 and
this should be 0.10.1, but too late now.
2022-11-29 12:42:40 -04:00
Jason Rhinelander c3d212054a
Update deps to latest versions 2022-11-29 12:42:40 -04:00
majestrate e1f1b8b1c7
Merge pull request #2066 from jagerman/another-obsolete-bs
Remove another obsolete bootstrap
2022-11-27 13:27:38 -05:00
majestrate 9edda9f101
Merge pull request #2055 from jagerman/fix-option-names
Fix missing option names, make [lokid]:rpc required
2022-11-27 13:27:32 -05:00
majestrate 2c6e2e9472
Merge pull request #2076 from tewinget/more-verbose-logging
Fix Windows DNS issues
2022-11-24 09:38:13 -05:00
Thomas Winget 1e29465237 fix missing namespace 2022-11-22 18:39:22 -05:00
Thomas Winget c4c81cc9f8 I hate clang-format sometimes 2022-11-22 18:33:12 -05:00
Thomas Winget 3d71bbd1e4 log func should return a string instead 2022-11-22 17:59:54 -05:00
Thomas Winget d44ad497fd rvalue ref -> value 2022-11-22 17:48:03 -05:00
Thomas Winget 548ce5c3a2 invert packet direction on WINDIVERT_ADDRESS
We simply keep the WINDIVERT_ADDRESS struct given on recv, so when
using it for send we need to invert the direction (the Output bit)
2022-11-22 16:36:33 -05:00
Thomas Winget 5238c3f1a0 force windivert to recalc IP checksum 2022-11-22 16:36:33 -05:00
Thomas Winget 133cee0fd9 Remove obsolete/extraneous WouldLoop function
The DNS resolver code should not and can not be responsible for
preventing packet looping.
2022-11-22 16:36:33 -05:00
Thomas Winget a518e654c5 add much logging around dns and windivert 2022-11-22 16:36:33 -05:00
Jason Rhinelander e8d1361865
Remove another obsolete bootstrap
I found another defunct obsolete boostrap file on a few foundation
service nodes; this adds it to the list.
2022-11-18 16:00:12 -04:00
Jason Rhinelander 5345c60b30
Merge pull request #2065 from Bilb/fix-min-height-gui
fix: allow GUI window height as low as 600 for small screens
2022-11-17 19:47:14 -04:00
Audric Ackermann c57d8ef091 fix: allow GUI window height as low as 600 for small screens 2022-11-18 10:00:32 +11:00