Skip to content

Simplify proxy NAT checking logic

xqiu requested to merge itchyonion/snowflake:simplify-nat-check into main

Hopefully makes the proxy NAT self-checking code a bit easier to read:

  • Unknown: if checkNATType() returns an error
  • Unrestricted: if webRTC to probetest suceeds
  • Restricted: if webRTC to probetest timesout

Merge request reports

Loading