Channel | Status |
---|---|
CI | |
Stun.Net |
- IPv4
- IPv6
- UDP
- TCP
- TLS-over-TCP
测试当前网络的 NAT 类型(STUN)
License: MIT License
世界真小
除了内置的服务列表,怎么手动添加 STUN Server 呢?
sudo docker run -d --restart=always --net=host --name=stunserver hmbsbige/stunserver --mode full --primaryadvertise 1.13.0.219 --altadvertise 146.56.194.158
stun.qq.com
stun.cloopen.com
win10系统已安装.net 5.0 x86和x64版本,打开依然提示安装.net
下载是最新的 NatTypeTester-6.2.0.7z 环境win11,无法打开,需要安装什么依赖吗
win11 防火墙全加进去放行了
然后第一次测试 PortRestrictedCone
再点几次就是fullcone了
到底以哪个结果为准呢?
内置的几个stun服务器都是这个情况
每次打开程序 每个节点第一次测试 会等待较长时间 local end自动改成192.168.xx.xx 然后结果是PortRestrictedCone
结果出来后local end就会变成0.0.0.0 之后再次测试同个节点就local end地址就不会变 保持0.0.0.0 然后马上得出FullCone 继续点击测试按钮依然会马上返回fullcone
重启软件后又会回到第一条的情况
所以想请教一下这个情况以哪一种结果为准呢
但是程序里并没有找到选择语言的选项,请问咱们这个项目可以选择语言么?
https://datatracker.ietf.org/doc/html/rfc8489#section-6.2.1 中提到了请求可以通过 DTLS-over-UDP 发送,是否能够添加此支持呢
如题。可以打包成单exe文件吗?方便分发。就像早期3.4版本那样。
或者最少可以自解压……单文件比三个EXE+一个文件夹便携一点(感觉)
如题, 目前的更新主要依赖自动更新, 但是自动更新的时机和频率并不是那么靠谱
而手动更新现在的操作太过繁琐了, 需要四次点击( 下拉 + 更新 确定)
还有授权失败或者协议失败的提示
stun.stunprotocol.org 有A和AAAA解析,同时支持ipv4和ipv6的nat测试,在纯v4网络下可以用该软件正常测试,在v4/v6双栈网络下,默认的监听0.0.0.0会测试失败,手动改为[::]之后可以测试v6 nat。
双栈网络下更换只有A记录的stun服务器可以正常测试v4 nat。
希望作者能够修复这个bug,另外提个建议,希望增加一个切换ipv4/ipv6的选项,不然很多小白就可能不知道如何测试v6 nat,或者在STUN服务器支持的情况下,同时对v4和v6进行测试
报错提示需要 5.0.0 的NET,但微软提供的是 5.0.10,32 64 都安装了一遍仍然报错。
遇到过有部分运营商针对不同的端口范围设置了不同的NAT类型(是的,没看错),希望能修改源端口用以检测。
很多游戏源端口都是有规律可循可以尝试测试。
打开软件以后也不知道是不是最新版本
我用本软件得到结果是端口限制锥形。
然后我进行简单的测试:分别使用本地的56789和56790请求同一服务器地址(3478),服务器返回的结果显示两次请求的网关地址为221.197.232.141 28932
和 221.197.232.141 13937
。
想用这个打洞捏🥰
这么好用的工具linux怎么使用呢?
使用的是最新版本,Server A第一次测试结果是PortRestrictedCone,再点一次就变成FullCone了,然后换Server B一样的先PortRestrictedCone,然后FullCone。换回Server A,无论怎么测都是FullCone了。。。有点迷惑。。
stun.newrocktech.com
这是讯时在生产系统上用的stun服务器地址,可以保证稳定稳定使用。
比较奇怪的是,同样的网络
stun.newtocktech.com 测试出来的NAT类型是 RestrictedCone
stun.miwifi.com 测试出来的NAT类型是 PortRestrictedCone
不知道是什么原因
在类型为PortRestrictedCone NAT3的网络下,第一次测试NAT type是PortRestrictedCone,第二次就变成FullCone了,之后只要不变换Local end就会一直是FullCone。但是手动更改Local end端口NAT type就又变回PortRestrictedCone了,也许可以添加一个Local end端口会自动变化的功能
进程自动退出
错误日志
Application: NatTypeTester-x64.exe
CoreCLR Version: 6.0.21.52210
.NET Version: 6.0.0
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.FileLoadException: Could not load file or assembly 'PresentationFramework, Version=6.0.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The located assembly's manifest definition does not match the assembly reference. (0x80131040)
File name: 'PresentationFramework, Version=6.0.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
is there a way to find out which NAT the provider has on linux?
有时检测会方便一些。手机目前好像没有类似的软件,不知道手机上能不能实现。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.