测试当前网络的 NAT 类型(STUN)

renovate[bot] ec99077011 chore(deps): update dependency microsoft.extensions.hosting to 9.0.10 4 روز پیش
.github a741eceb93 chore(deps): update actions/setup-dotnet action to v5 (#278) 1 ماه پیش
docs 15cd5ebd9e chore: update project structure 5 ماه پیش
scripts eb79d467f2 feat: drop WinUI 4 ماه پیش
src 922a31ecba chore: 8.0.5 2 هفته پیش
.editorconfig 40cdf922ad fix: format 4 ماه پیش
.gitignore 22a115f142 style: Update code style 3 سال پیش
Directory.Build.props 86cdb03287 chore: Default IsPackable = false 3 هفته پیش
Directory.Packages.props ec99077011 chore(deps): update dependency microsoft.extensions.hosting to 9.0.10 4 روز پیش
LICENSE 15f6d55fde chore: update license 5 ماه پیش
NatTypeTester.slnx eb79d467f2 feat: drop WinUI 4 ماه پیش
NuGet.Config 75422b3531 housekeeping: Update to .net6.0 4 سال پیش
README.md 15cd5ebd9e chore: update project structure 5 ماه پیش

README.md

NatTypeTester

Channel | Status -|- CI | CI Stun.Net | NuGet.org

RFC

Internet Protocol

  • IPv4
  • IPv6

Transmission Protocol

  • UDP
  • TCP
  • TLS-over-TCP
  • DTLS-over-UDP

RFC3489

![](docs/img/RFC3489.png)

RFC5389

Binding Test

Checking for UDP Connectivity with the STUN Server ![](docs/img/RFC5780_4.2.png)

Mapping Behavior

Determining NAT Mapping Behavior ![](docs/img/RFC5780_4.3.png)

Filtering Behavior

Determining NAT Filtering Behavior ![](docs/img/RFC5780_4.4.png)

Combining Tests

![](docs/img/RFC5780_4.5.png)