Giter VIP home page Giter VIP logo

cloudflare-ip-ping's Introduction

Hey there, I'm Oliverxu! 👋

Welcome to my GitHub. If you have any questions on my projects, feel free to send me an email!

cloudflare-ip-ping's People

Contributors

hackeryunen avatar olixu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cloudflare-ip-ping's Issues

输出文件为空(没有找到合适的IP,请调整阈值)

Hi, 我又来了,我只是想反馈一下运行结果,又发现了问题。
WIN8.1 x64,cmd使用python运行,两个问题。

  1. 输出格式混乱
    001

  2. 输出结果为空,线程100阈值200、线程200阈值100均有测试,我实际的网络是没问题的,拿我之前测试的一个结果手动ping如下
    002

运行失败

Traceback (most recent call last):
File "g:\code\cloudflare-ip-ping-master\pingip.py", line 13, in
from tqdm import tqdm
ModuleNotFoundError: No module named 'tqdm'

求问大佬这些ip怎么获取的

第一次使用时,得到一个39ms的ip,等到后面越来越延迟高,普遍40ms-42ms的ip,请教大佬,这些ip怎么获取来的
本人移动100M宽带。看hostloc论坛里有些移动的也能跑8万甚至10万的油管,我运气最高只能到3万左右。
有什么好的方法及建议吗,求大佬明示,在此感谢大佬了

能否增加一项丢包的阈值设置

从fping-msys2.0这个工具的使用经验来看,选出来速度最快的IP 延迟大都在220+ms了,如果在本工具里设置220的阈值,结果上千,里面有大量丢包75%的,再从里面找丢包少的眼睛都看花了,不妨增加一项丢包的阈值设di置,ping阈值放宽,丢包阈值严格控制,把丢包严重的IP也从结果中剔除出去。

另外关于测速功能,本工具输出的结果可以丢到fping-msys2.0这个工具里直接进行测速排序,但结果是很多丢包严重的反而下载快排在前面,而实际使用体验很差劲,如果结果里没有这些丢包严重的IP,再去测速就能减少这方面的干扰,这是希望能够增加丢包阈值设置的另一个原因,便于测速排序。

编码错误,输出文件为空

  1. 编码出错为:(已经将input.txt编码格式改为utf-8了)
    File "pingip.py", line 38, in ping_host
    res = popen.stdout.read().decode('utf-8').strip('\n')
    UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb4 in position 0: invalid
    start byte

改为
res = popen.stdout.read().decode('utf-8', 'ignore').strip('\n')

run起来后输出是空文件。

請問能不能出一個能容忍超級慢線路的版本。

我用的是爛線,有個常用的VPS的IP地址死掉了。想找各最能容忍的線路。
目前的版本,閾值最大範圍是299,請問能不能有2999或者29999的版本啊?
目的是找到一個延遲很嚴重,但仍然能救活IP的CF地址。

順便說,新的版本在檢測不到內容的時候,會提示“没有找到合适的IP,请调整阈值“,看起來安心多了。謝謝這個體貼的更新。

发现你和我的项目撞车了😂... Github 推荐给我的 Explore 里看到的。

在 Github 的海洋里不知道有多少项目撞车了,有需求的时候怎么搜也搜不到,自己造出来后发现又重复造轮子了。。。

看了下,咱们两个的项目都差不多,我这只多了个 Cloudflare IP 测试下载速度的功能。

同类项目 互相交流~ 虽然我对 Python 不熟...

輸出爲空文件

最初是在WIN7 64位主機測試,輸出文件能夠生成,但是0字節。
換到WIN 10 64位來試,依然如此。
图片

如何贡献本项目

  1. 对本项目的意见

  2. 自己的线路(移动联通电信)

  3. 自己的运营商

  4. 测试出来的IP稳定性如何,多久换一次

  5. 晚高峰使用情况

可以就在此ISSUE中发布这些信息。

IP范围太小只有x.x.x.15

感谢开发nice的小工具,使用有效而且很方便!
有一点疑问:
IP范围是否有问题?看到IP列表里面不同网段只有x.x.x.15这一个IP地址
有一点建议:
可以考虑加入测速功能,现在只是测试了延迟和丢包,但是下载文件速度没有测试。当然最主要的还是延迟和丢包。
再次感谢!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.