BruceWind / GcoreCDNIPSelector

🔍 to choose the best Gcore‘IPs for connection 📶 with lowest latency.(gcore优选ip)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is it possible to screen ipv6?

biozzl opened this issue · comments

Is it possible to screen ipv6?
Or can it select ipv4 or ipv6 model ?

commented

At present, it doesn't support screening ipv6. I have no plan to do that.
However, it is able to select ipv6. You can open https://api.gcorelabs.com/cdn/public-net-list, and try to edit main.js to sceen for ipv6.

At present, it doesn't support screening ipv6. I have no plan to do that. However, it is able to select ipv6. You can open https://api.gcorelabs.com/cdn/public-net-list, and try to edit main.js to sceen for ipv6.

Can you guide me through how to modiy the man.js to complie with ipv6.
The reason why I brought this up, beacuse ipv4 address was overloaded and perfomed bad under the peak hours, but ipv6 is less people use and will have a good performance.

commented

Maybe Gcore CDN can not give poeple living in China an excellent experience. I found CloudFront CDN is better than Gcore-CDN. Besides, Cloudfront is better than Cloudflare.

commented

Few circumstances, Gcore-CDN could be better with Unicom network.

commented

Once again, JS is so easy to read and write, you can try to edit main.js to achieve your goal. Bro!

To give you some guides:

edit line below:
https://github.com/BruceWind/GcoreCDNIPSelector/blob/main/main.js#L42

this line below may be throw errors, due to ipv6.
https://github.com/BruceWind/GcoreCDNIPSelector/blob/main/main.js#L117

look at https://github.com/danielzzz/node-ping#support-configuration to change main.js#L117 for being enable ping support ipv6.

commented

Sorry! I've tried it. Scanning IPV6 is difficult.

commented

I'm going to close this issue. Sorry.