feat(server): pin wildcard reply source

This commit is contained in:
Nils Andreas Svee committed 2026-08-14 00:20:17 +07:00
1 parent 047a842f2d
commit 265b857b84
6 files changed
+596 -25

No files matched your search

+6
View File
@@ -18,5 +18,11 @@ socket2 = { version = "0.6.5", features = ["all"] }
thiserror = "2.0.20"
tokio = { version = "1.53.1", default-features = false, features = ["rt", "net", "time", "sync", "macros"] }
# Wildcard listeners recover each request's local destination address and send
# the reply from it. Only these targets have a safe destination-metadata and
# source-selection path here; elsewhere a wildcard bind is refused.
[target.'cfg(any(target_os = "linux", target_os = "macos", target_os = "freebsd"))'.dependencies]
nix = { version = "0.31.3", default-features = false, features = ["net", "uio"] }
[dev-dependencies]
irtt-client = { workspace = true, features = ["ancillary", "tokio"] }