dndx / phantun

Transforms UDP stream into (fake) TCP streams that can go through Layer 3 & Layer 4 (NAPT) firewalls/NATs.
Apache License 2.0
1.71k stars 137 forks source link

fix(fake-tcp): when `connect()`-ing, attempt to get ephemeral port using algorithm similar to Linux #162

Closed dndx closed 5 days ago

dndx commented 3 months ago

to reduce the chance of paniking

Fixes #79