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

renovate[bot] c76259444e dep: Update ReactiveUI to v19.5.1 2 years ago
.github ae28a4a63e dep: Update actions/checkout action to v4 (#214) 2 years ago
Build 111e4f4adc housekeeping: Update build scripts 3 years ago
NatTypeTester c76259444e dep: Update ReactiveUI to v19.5.1 2 years ago
NatTypeTester.Models c76259444e dep: Update ReactiveUI to v19.5.1 2 years ago
NatTypeTester.ViewModels c76259444e dep: Update ReactiveUI to v19.5.1 2 years ago
STUN 04d177fd70 housekeeping: Release 7.0.0 2 years ago
UnitTest 2a93e2ff2e feat: Add tls support 2 years ago
pic 2a93e2ff2e feat: Add tls support 2 years ago
.editorconfig 0b857a128c housekeeping: Update .editorconfig 3 years ago
.gitattributes 93159da643 housekeeping: Update framework to .net5.0 4 years ago
.gitignore 22a115f142 style: Update code style 3 years ago
LICENSE 3fe3bbf5c4 Initial commit 7 years ago
NatTypeTester.sln e1ad9c5627 refactor: drop console 3 years ago
NuGet.Config 75422b3531 housekeeping: Update to .net6.0 4 years ago
README.md 2a93e2ff2e feat: Add tls support 2 years ago
build.ps1 dbaf4d2fee dep: Update TargetFramework 2 years ago
common.props 22a115f142 style: Update code style 3 years ago

README.md

NatTypeTester

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

RFC

Internet Protocol

  • IPv4
  • IPv6

Transmission Protocol

  • UDP
  • TCP
  • TLS-over-TCP

Preview

RFC3489

![](pic/RFC3489.png)

RFC5389

Binding Test

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

Mapping Behavior

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

Filtering Behavior

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

Combining Tests

![](pic/RFC5780_4.5.png)