You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Browse filesBrowse the repository at this point in the historyBrowse files
root
committed
srcport rewrite, bump to 0.0.6
Symmetric to dstport_rewrite: map the UDP source port through an
equal-size range on the wire. Sender treats srcport as the app range
and srcport_rewrite as the wire range; receiver is mirrored
(srcport matches the wire, srcport_rewrite is the app range to
restore). Validated at config load: srcport must be set and the
two ranges must have identical size.
Copy file name to clipboardExpand all lines: README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -139,6 +139,7 @@ Each rule:
139
139
|`srcport`| u16 or `[lo, hi]`| Optional. |
140
140
|`dstport`| u16 | Optional. |
141
141
|`dstport_rewrite`| u16 | Optional. If set, overwrite dst port after encoding / before decoding. |
142
+
|`srcport_rewrite`| u16 or `[lo, hi]`| Optional. Requires `srcport`. Range size must match `srcport`. Sender maps app→wire (`srcport`→`srcport_rewrite`); receiver maps back (`srcport` matches wire, `srcport_rewrite` is the app range to restore). |
0 commit comments