diff options
| author | tv <tv@krebsco.de> | 2026-11-01 13:27:28 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-01 13:27:28 +0100 |
| commit | 497eab7136b9d35101f4a5ffa81797efb85da390 (patch) | |
| tree | 42f905ae30e95e2ac94fea34a0879efc3bbee98f /src/transport/libp2p/errors.rs | |
| parent | 5723367a26ae0ec5f470b2e325a792cb31d661a6 (diff) | |
libp2p: relays use address ignore/route filter
Diffstat (limited to 'src/transport/libp2p/errors.rs')
| -rw-r--r-- | src/transport/libp2p/errors.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/transport/libp2p/errors.rs b/src/transport/libp2p/errors.rs index e024b1c..bb6b090 100644 --- a/src/transport/libp2p/errors.rs +++ b/src/transport/libp2p/errors.rs @@ -76,6 +76,8 @@ pub(super) fn relay_refused(debug: &str, innermost: &str) -> bool { "connection gated", "UnsupportedProtocol", "WrongPeerId", + // `Ignoring`: in a range left out, whoever dialled. + "IgnoredAddress", ]; refusals.iter().any(|pattern| debug.contains(pattern)) || innermost == "Failed" } |
