Commit Graph

6331 Commits (838d28c6ed111a7006102b9059f62643da4b18a6)
 

Author SHA1 Message Date
cathugger 838d28c6ed
contrib: NetworkManager dnsmasq config (#1335) 4 years ago
cathugger 412821ed77
contrib: systemd-resolved config (#1334) 4 years ago
Jeff 3ab7db7723
macos route poking (#1333)
* fix up macos route poker logic

* fix typo

* use string_view

* add forgotten header

* full paths

* add debugging

* catch exception on adding route

* workarround for macos

* typofix

* typofix

* fix for macos

* fix command for macos

* because we autopoke remove explicit route poking in rpc

* probably final fix of macos route poking

* split routes instead of deleting them

* dynamic route poking

* move log statement for introset lookup and dont consider bad sessions as able to send

* send convotag reset frame when we have no session

* add exit map to rpc

* use split_any
4 years ago
Jeff 60f4d96ba5
proper route poking (#1330)
* route poking:

* remove popen() call, replace with reading /proc/net/route for getting default route
* dynamically poke and unpoke routes on runtime

* swap intros and fix rpc endpoint for version to return what the ui expects

* use std::string::find_first_not_of instead of using a lambda
4 years ago
Thomas Winget 2c6e7b86c3
SRV records fixes (#1332)
* fix a log print log level

* correctly match SRV record service and protocol...

* tests for new dns question functions
4 years ago
Thomas Winget b1c14af938
SRV Record handling for introsets (#1331)
* update loki-mq submodule for tuple support

* srv record reply implementation

still need to encode srv records into intro sets / router contacts
as well as decode from them and match against queried service.proto

* inverted condition fix in config code

* SRV record struct (de-)serialization for intro sets

* parsing and using srv records from config (for/in introsets)

* adopt str utils from core and use for srv parsing

* changes to repeat requests

no longer drop repeat requests on the floor, but do not make
an *actual* request for them if one is in progress.

do not call reply hook for each reply for a request, as
each userland request is actually made into several lokinet
requests and this would result in duplicate replies.

* fetch SRVs from introsets for .loki

* make format

* dns and srv fixes, srv appears to be working
4 years ago
Jeff 521765b5a8
Merge pull request #1319 from majestrate/clean-up-dev-2020-07-27
exit tool rewrite in C++ (without macos support yet)
4 years ago
Jason Rhinelander fd684a225b Update nlohmann to latest stable 4 years ago
jeff def8a9ce46 disable running router hive just build it 4 years ago
jeff 1537ad18df format 4 years ago
jeff fc5035902a only stop router hive from fixture when router hive is not None 4 years ago
jeff 75f550434c change assert to throw an exception instead when service node has no peer stats enable.
update unit tests so it passes on debian sid
4 years ago
jeff 52d20968a7 remove llarp::StrEq 4 years ago
jeff bbc749294e fix windows build typo 4 years ago
jeff 5391e6a66a initial config overriding on runtime 4 years ago
jeff e3bfe76f98 add exit auth token awareness to config 4 years ago
Jeff Becker 1b4f5ee5ea
add forgotten win32 header 4 years ago
jeff 39f5e7213f set send timeout to 5 seconds for exits 4 years ago
Jeff Becker d39ed26ff0
add headers and fix type for windows 4 years ago
Jeff Becker 68e72d88fd
add forgotten header on macos 4 years ago
Jeff Becker d70e11feba
change what patches are applied 4 years ago
Jeff Becker d4e1a44452
fix typo 4 years ago
Jeff Becker ab568b27d0
bump windows version for CI until patches are updated 4 years ago
Jeff Becker 184503dab1
change to unsigned char for CI 4 years ago
Jeff Becker bc40453100
get rid of void pointer arithmatic and signed vs unsigned comparison 4 years ago
Jeff Becker fc75da174e
disable second path for now until it works 4 years ago
Jeff Becker 43a58b9c74
const correctness 4 years ago
Jeff Becker 21bc3bd9a0
format 4 years ago
Jeff Becker d8dcffe80a
resolve conflict with dev 4 years ago
jeff 574a986d9a
explicitly set frame reset field to zero by default 4 years ago
jeff f6f56029d3
working netlink route poker 4 years ago
jeff 668ddf837f
checks 4 years ago
jeff e039aeb6d5
remove codepath for convotag invalidation 4 years ago
jeff 0c3b57199a
fix initialization 4 years ago
jeff abc55924e7
forgot header 4 years ago
jeff 5a8884cc2f
uncomment block 4 years ago
jeff 8472aea93f
initial netlink jizz 4 years ago
jeff b0bb0b7609
initial route poking 4 years ago
jeff 2e7f9d1b87
remove convo tag when we invalidate it 4 years ago
jeff 3fbc46879d
Revert "don't send protocol discard message on fail"
This reverts commit ee2a42118c88bd7778cd6dc8694564c7d10e60d1.
4 years ago
jeff 78a4d361ab
don't send protocol discard message on fail 4 years ago
jeff 099831719a
update macos command for default route poker. 4 years ago
jeff 528340e056
dont include sys/wait.h on windows 4 years ago
jeff d973ce9089
upgrade alpine container 4 years ago
jeff d0374ce083
windows does not have fork/wait 4 years ago
jeff 30a6e901f5
add router.enable-peer-stats config option unconditionally 4 years ago
jeff 6d91ac8e4e
rename r flag to router 4 years ago
jeff f5e4d8bd1b
execv needs program name as first argument 4 years ago
jeff 75f9643776
attempt to fix snode traffic ip rewrite bug 4 years ago
jeff fac5502c55
if Router::SendToOrQueue fails propagate that failure in LRCM handler 4 years ago