Commit 47f61ed
authored
feat(proto): Server sends NAT traversal probes with active CID (#575)
## Description
This changes the server-side of the NAT traversal to always send path
challenges using the active CID. This means it does not skip probes
when there are no more CIDs (currently still limited to 5).
It does means the paths are linkable, and this is a violation of a
MUST in RFC9000. But this is the direction we want to take right now.
## Breaking Changes
Paths are now linkable.
## Notes & open questions
This is on the path towards #567.
Closes #574.
An attempt to replace #571 with something much simpler and without
design problems. If combined with increasing MAX_MULTIPATH_PATHS on
the iroh side I expect it to be similarly effective.1 parent 1948efc commit 47f61ed
2 files changed
+12
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
| 139 | + | |
139 | 140 | | |
140 | 141 | | |
141 | 142 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2067 | 2067 | | |
2068 | 2068 | | |
2069 | 2069 | | |
2070 | | - | |
2071 | | - | |
2072 | | - | |
2073 | | - | |
| 2070 | + | |
| 2071 | + | |
| 2072 | + | |
| 2073 | + | |
| 2074 | + | |
| 2075 | + | |
| 2076 | + | |
| 2077 | + | |
| 2078 | + | |
| 2079 | + | |
2074 | 2080 | | |
2075 | | - | |
2076 | | - | |
| 2081 | + | |
2077 | 2082 | | |
2078 | 2083 | | |
2079 | 2084 | | |
| |||
0 commit comments