# HMBSbige/NatTypeTester

测试当前网络的 NAT 类型（STUN）

Repository: https://github.com/HMBSbige/NatTypeTester
Canonical: https://ross.abutalabs.com/products/nattypetester
Language: C#
License: MIT
License Family: permissive
Topics: stun, nat, rfc3489, rfc5389, rfc5780, rfc8489
Last push: 2026-08-04T03:23:21+00:00

## Health v2 (maintenance only)
Score: 97/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 96, release rhythm 96, longevity 100
- inputs: {"age_days": 3029, "days_push": 29, "days_rel": 29, "gap_med": 7, "n_releases_24m": 8}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4812, forks 270 (observed 2026-08-28T04:09:00.285788+00:00)

## What it is
A cross-platform tool for testing the NAT type of the current network using STUN protocols (RFC 3489, 5389, 5780, 8489). It ships as a desktop GUI application, an Android app, and a console tool, with the core logic available as the Stun.Net NuGet library.

## Use cases
- check what NAT type my network is
- test if my NAT is full cone or symmetric
- diagnose why P2P or game connections fail
- query public IP via STUN over UDP or TCP
- test NAT behavior over IPv6
- detect UDP blocking or symmetric firewall

## When to choose
- you need accurate NAT behavior classification per RFC 3489/5780
- you want STUN testing over UDP, TCP, TLS, or DTLS
- you need a reusable STUN client library in .NET (Stun.Net)

## When to avoid
- you need to create NAT bindings or relay traffic (use a TURN/ICE toolkit)
- you need a general network diagnostic suite beyond NAT/STUN testing

## Facets
- artifact type: application
- maturity: active
- function: networking, developer-tools, cli, gui
- domain: networking, developer-tools, cross-platform
- platform: windows, cross-platform, dotnet
- tags: stun, nat-detection, rfc3489, rfc5389, rfc5780, rfc8489, csharp, android

## Member repositories
- HMBSbige/NatTypeTester (main) score 97

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:00.285788+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:18:35.345980+00:00, confidence not recorded.
  - readme: https://github.com/HMBSbige/NatTypeTester (fetched 2026-08-28T04:09:00.285788+00:00, sha cb3a2c7126ef)
- Data as of 2026-08-30T08:39:29.467469+00:00.
