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

Bruce Wayne 626a5537d1 housekeeping: Release 7.0.0 2 年之前
.github ae28a4a63e dep: Update actions/checkout action to v4 (#214) 2 年之前
Build 111e4f4adc housekeeping: Update build scripts 3 年之前
NatTypeTester 04d177fd70 housekeeping: Release 7.0.0 2 年之前
NatTypeTester.Models 8488466ee0 dep: Update ABP to v7.3.3 2 年之前
NatTypeTester.ViewModels 2a93e2ff2e feat: Add tls support 2 年之前
STUN 04d177fd70 housekeeping: Release 7.0.0 2 年之前
UnitTest 2a93e2ff2e feat: Add tls support 2 年之前
pic 2a93e2ff2e feat: Add tls support 2 年之前
.editorconfig 0b857a128c housekeeping: Update .editorconfig 3 年之前
.gitattributes 93159da643 housekeeping: Update framework to .net5.0 4 年之前
.gitignore 22a115f142 style: Update code style 3 年之前
LICENSE 3fe3bbf5c4 Initial commit 7 年之前
NatTypeTester.sln e1ad9c5627 refactor: drop console 3 年之前
NuGet.Config 75422b3531 housekeeping: Update to .net6.0 4 年之前
README.md 2a93e2ff2e feat: Add tls support 2 年之前
build.ps1 dbaf4d2fee dep: Update TargetFramework 2 年之前
common.props 22a115f142 style: Update code style 3 年之前

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)