Commit Graph

13 Commits

Author SHA1 Message Date
Jordan Rose
4154a0c2f0 Use env_logger consistently in CLI tools 2025-11-04 09:36:20 -08:00
Alex Bakon
4ea5b762ba Format Rust using 2024 edition rules 2025-09-03 14:22:08 -04:00
Jordan Rose
d7d6b408ca net: Use &str log tags rather than Arc<str>
...now that `use<'a>` syntax is supported by our MSRV.
2025-07-03 12:21:24 -07:00
Alex Bakon
151c96e52b Apply lint fixes from latest clippy 2025-05-23 10:29:25 -04:00
Jordan Rose
d58f237b4a net: Require TLS 1.3 for Signal-provided services and 1.2 for Cloudflare DoH
Co-authored-by: andrew-signal <andrew@signal.org>
2025-04-30 07:08:17 -05:00
Jordan Rose
112761f7de net: Convert CustomDnsResolver to routes and ConnectorFactory
Replaces the "connect" parts of the DnsTransport trait with
ConnectorFactory (as used elsewhere). This is more boilerplaty, but
also means we don't have to cram configuration information into a
static method's "parameters", and we're also using the same connect
logic in more places. Most importantly, it lets us test things
hermetically by providing custom connectors.
2025-03-26 12:12:24 -07:00
Jordan Rose
317f0c2ff3 net: Replace CustomDnsResolver's ConnectionManager with ConnectionOutcomes
This is a little more manual, but it gets us closer to removing
ConnectionManager.
2025-03-26 11:46:14 -07:00
Alex Bakon
0a379b3972 Connect to DNS-over-HTTP resolver with IPv4 & v6 2025-02-26 10:00:22 -05:00
Alex Bakon
19506e07c0 Switch DNS-over-HTTPS to use routes 2025-01-17 16:30:42 -05:00
Alex Konradi
a54e6b5b33 Format with group_imports=StdExternalCrate 2024-08-28 14:52:47 -04:00
Alex Konradi
cbb649d07c Restrict args passed to transport connector 2024-08-28 13:42:07 -04:00
Alex Konradi
019e14bfc6 Distinguish between DNS host, SNI, and HTTP host 2024-08-28 11:05:17 -04:00
Sergey Skrobotov
254501814c libsignal-net: custom DNS lookups 2024-05-14 12:09:26 -07:00