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

renovate[bot] 0b7fa7f4ea dep: Update dependency Microsoft.NET.Test.Sdk to v17.6.3 hace 2 años
.github dbaf4d2fee dep: Update TargetFramework hace 2 años
Build 111e4f4adc housekeeping: Update build scripts hace 3 años
NatTypeTester d8f8275c5e dep: Update ReactiveUI to v19 (major) (#211) hace 2 años
NatTypeTester.Models d8f8275c5e dep: Update ReactiveUI to v19 (major) (#211) hace 2 años
NatTypeTester.ViewModels d8f8275c5e dep: Update ReactiveUI to v19 (major) (#211) hace 2 años
STUN f7c7d79787 dep: Update dependency Socks5 to v1.0.1 hace 2 años
UnitTest 0b7fa7f4ea dep: Update dependency Microsoft.NET.Test.Sdk to v17.6.3 hace 2 años
pic 8425c658f5 housekeeping: Update RFC5780_4.5.png hace 3 años
.editorconfig 0b857a128c housekeeping: Update .editorconfig hace 3 años
.gitattributes 93159da643 housekeeping: Update framework to .net5.0 hace 4 años
.gitignore 22a115f142 style: Update code style hace 3 años
LICENSE 3fe3bbf5c4 Initial commit hace 7 años
NatTypeTester.sln e1ad9c5627 refactor: drop console hace 3 años
NuGet.Config 75422b3531 housekeeping: Update to .net6.0 hace 4 años
README.md 656690dd34 Update README.md hace 2 años
build.ps1 dbaf4d2fee dep: Update TargetFramework hace 2 años
common.props 22a115f142 style: Update code style hace 3 años

README.md

NatTypeTester

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

RFC supports

Internet Protocol

  • IPv4
  • IPv6

Transmission Protocol

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

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)