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

Bruce Wayne 3eb0e4a8db chore: use Directory.Build.props 5 months ago
.github 64dac21840 chores: Update renovate.json 9 months ago
Build 111e4f4adc housekeeping: Update build scripts 3 years ago
NatTypeTester 3eb0e4a8db chore: use Directory.Build.props 5 months ago
NatTypeTester.Models 3eb0e4a8db chore: use Directory.Build.props 5 months ago
NatTypeTester.ViewModels 3eb0e4a8db chore: use Directory.Build.props 5 months ago
NatTypeTester.WinUI 3eb0e4a8db chore: use Directory.Build.props 5 months ago
STUN 3eb0e4a8db chore: use Directory.Build.props 5 months ago
UnitTest 3eb0e4a8db chore: use Directory.Build.props 5 months ago
pic f65de9245c feat: Add i18n for WinUI 1 year ago
.editorconfig 6ae748fb99 style: Update .editorconfig 5 months ago
.gitignore 22a115f142 style: Update code style 3 years ago
Directory.Build.props 3eb0e4a8db chore: use Directory.Build.props 5 months ago
LICENSE 15f6d55fde chore: update license 5 months ago
NatTypeTester.sln 30775b4dbe fix: CI 1 year ago
NuGet.Config 75422b3531 housekeeping: Update to .net6.0 4 years ago
README.md f65de9245c feat: Add i18n for WinUI 1 year ago
build.WinUI.ps1 f65de9245c feat: Add i18n for WinUI 1 year ago
build.ps1 84439b593b dep: Update to .NET 8.0 1 year ago

README.md

NatTypeTester

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

RFC

Internet Protocol

  • IPv4
  • IPv6

Transmission Protocol

  • UDP
  • TCP
  • TLS-over-TCP

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)