From d51715291a2c9c9a238a79076e740eb8f4c2892f Mon Sep 17 00:00:00 2001 From: Nick Banks Date: Sun, 7 Jul 2024 21:35:59 +0100 Subject: [PATCH 1/4] Add More Features --- src/quicreach.cpp | 47 ++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 42 insertions(+), 5 deletions(-) diff --git a/src/quicreach.cpp b/src/quicreach.cpp index aa8d450..5836955 100644 --- a/src/quicreach.cpp +++ b/src/quicreach.cpp @@ -40,7 +40,10 @@ struct ReachConfig { bool RequireAll {false}; std::vector HostNames; QuicAddr Address; + QuicAddr SourceAddress; uint32_t Parallel {1}; + uint32_t Repeat {0}; + uint32_t Timeout {0}; uint16_t Port {443}; MsQuicAlpn Alpn {"h3"}; MsQuicSettings Settings; @@ -130,7 +133,10 @@ bool ParseConfig(int argc, char **argv) { " -m, --mtu The initial (IPv6) MTU to use (def=1288)\n" " -p, --port The UDP port to use (def=443)\n" " -r, --req-all Require all hostnames to succeed\n" + " -R, --repeat