Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
146 changes: 105 additions & 41 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ default-members = [
]

[workspace.package]
version = "0.0.70"
version = "0.0.71"
edition = "2024"
description = "SOCKS5/HTTP-proxy-over-QUIC split tunnel via iroh P2P"

Expand All @@ -28,8 +28,8 @@ flexaccess-keys = { git = "https://github.com/flexaccessdev/flexaccess-keys", ta
futures = "0.3"
ipnetwork = "0.21"
hickory-resolver = { version = "0.26", default-features = false, features = ["tokio"] }
iroh = "1.0.3"
iroh-mdns-address-lookup = "0.4.0"
iroh = "1.1.0"
iroh-mdns-address-lookup = "0.5.0"
libc = "0.2"
log = "0.4"
n0-future = "0.3"
Expand Down
4 changes: 4 additions & 0 deletions crates/flextunnel-desktop/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ const DEV_CONFIG_ENV: &str = "FLEXTUNNEL_DEV_CONFIG";
/// `profiles.json` with its secrets sealed under the Safe Storage master key
/// held by the platform keychain via `keyring-core`.
enum Backend {
/// Only ever built on macOS/Windows (see `init_store`); on any other host
/// the dev file path is the only reachable one, so the variant is dead
/// there and `-D warnings` would reject it.
#[cfg_attr(not(any(target_os = "macos", windows)), expect(dead_code))]
Keychain,
File(PathBuf),
}
Expand Down
11 changes: 6 additions & 5 deletions docs/architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -251,11 +251,12 @@ Implemented in `transport/relay_watchdog.rs`, driven by the serve loop in the
CLI's `run_server`. A custom-relay server is dialable from off the LAN only
while it is **registered on its home relay** (n0 discovery is off; clients dial
by relay hint, and a relay forwards Initials only to endpoints connected to it).
iroh (v1.0.3) has been observed to silently lose its home relay for good after
a routine relay reconnect: no dial retries, no warnings, no registration on
any relay — the server stops being reachable through the relays until the
process restarts, while LAN clients that find it over mDNS keep working and
hide the outage (the mac desktop reconnects, the iOS app times out).
iroh has been seen to silently lose its home relay for good after a routine
relay reconnect: no dial retries, no warnings, no registration on any relay —
the server stops being reachable through the relays until the process restarts,
while LAN clients that find it over mDNS keep working and hide the outage (the
mac desktop reconnects, the iOS app times out). Observed on v1.0.3; no fix for
it is called out through v1.1.0, so the watchdog stays.

The watchdog observes `Endpoint::home_relay_status()` and escalates like the
client's reconnect loop:
Expand Down
Loading