Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

发送udp包测试teredo连通性并根据ping值切换teredo服务器脚本 #8482

Open
cdh1991 opened this issue Nov 19, 2017 · 18 comments
Open

Comments

@cdh1991
Copy link

cdh1991 commented Nov 19, 2017

实现方式

1.根据发送udp包测试连通性,
2.根据ping值选择最佳服务器

image

image

image

使用方法:

附件中的两个文件放到xx-net文件夹下,直接运行bat文件

注意:

  • 脚本文件利用gae的python程序 所以需要在xx-net文件夹下执行
  • 组策略中teredo服务器名称设为‘’未配置后 运行bat会自动修改teredo,否则修改不生效。

teredo.zip

@cdh1991 cdh1991 changed the title teredo 有没有大神写个teredo服务器ping并自动切换的bat Nov 19, 2017
@MadMaxPayneNeo
Copy link

没必要,很多teredo不响应ICMP也就是禁ping

@cdh1991
Copy link
Author

cdh1991 commented Nov 19, 2017

@MadMaxPayne8964 据观察teredo能ping同就好用

@onplus
Copy link
Collaborator

onplus commented Nov 19, 2017

teredo服务器这段时间负荷已经很高了,少ping几次吧。。。
https://www.nirsoft.net/utils/multiple_ping_tool.html

teredo.remlab.net / teredo-debian.remlab.net
teredo.trex.fi
xxx.xxx.microsoft.com

@ghost
Copy link

ghost commented Nov 19, 2017

貌似还有最后多个句点的? xxx.xxx.microsoft.com.

@2378
Copy link

2378 commented Nov 20, 2017

bat不行吧
怎么提取返回值
至少得写个shell脚本啊

@xxnet
Copy link
Contributor

xxnet commented Nov 20, 2017 via email

@2378
Copy link

2378 commented Nov 20, 2017

证明各地情况大不同

tttt

@ghost
Copy link

ghost commented Nov 20, 2017

有用 teredo.trex.fi 断了还手动连不上,转用超时的 win1710.ipv6.microsoft.com 了😂

@cdh1991 cdh1991 changed the title 有没有大神写个teredo服务器ping并自动切换的bat 根据ping值自动切换teredo服务器脚本 Nov 20, 2017
@2378
Copy link

2378 commented Nov 20, 2017

其实X大说得对
最精确的办法还是发送teredo_udp包检查
ping只能参考

@cdh1991
Copy link
Author

cdh1991 commented Nov 20, 2017

@2378 @xxnet 只发送udp包测试没有比较,目的是选择一个最佳的 所以还要借助ping筛选

@cdh1991 cdh1991 changed the title 根据ping值自动切换teredo服务器脚本 发送udp包测试teredo连通性并根据ping值切换teredo服务器脚本 Nov 20, 2017
@khtgb
Copy link

khtgb commented Nov 25, 2017

附件中的两个文件放到xx-net文件夹下,管理员运行bat文件

运行不了啊
image

@ghost
Copy link

ghost commented Nov 25, 2017

Win7 ? win10正常

@ghost
Copy link

ghost commented Nov 25, 2017

笨法:编辑teredo.py,复制出服务器地址,自己ping来对比

@khtgb
Copy link

khtgb commented Nov 25, 2017

是win7的

@ghost
Copy link

ghost commented Nov 25, 2017

default

@cdh1991
Copy link
Author

cdh1991 commented Nov 25, 2017

@khtgb 放入xx-net目录下

@liush000
Copy link

系统找不到指定的路径

@ghost
Copy link

ghost commented Mar 27, 2018

#10184 有说。。。6、

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

7 participants