Giter Site home page Giter Site logo

Comments (33)

cocos56 avatar cocos56 commented on July 18, 2024

In the IPv4 era, the addresses given to machines were private, but in the IPv6 era, they were global.

from hfs2.

rejetto avatar rejetto commented on July 18, 2024

hi, are you already using HFS without ipv6?
with this repo i'm currently in the process of making it work correctly as it was, as i changed the dev environment. Only then I'll be able to make improvements.
I'm not currently using ipv6 myself, and i'm not sure of what it takes to support it. I may find help from other people on github. We'll see.

from hfs2.

cocos56 avatar cocos56 commented on July 18, 2024

In the IPv4 era you can bind 0.0.0.0 represents binding all IPv4 addresses of the host, in the IPv6 era you can bind :: represents binding all IPv6 addresses of the host,.

from hfs2.

cocos56 avatar cocos56 commented on July 18, 2024

In China, all cell phone base stations have been retrofitted, so IPv6 is generally supported for mobile traffic. I don't know about Italy.

You can test with https://ipv6-test.com/

image

from hfs2.

cocos56 avatar cocos56 commented on July 18, 2024

Now I support IPv6 by running the following code on Windows :
netsh interface portproxy add v6tov4 listenaddress=:: listenport=80 connectaddress=127.0.0.1 connectport=80

image

from hfs2.

cocos56 avatar cocos56 commented on July 18, 2024

You can try to access my HFS through the link below with IPv4 :
http://sz.coco56.top:44165/
http://sz.coco56.top:39688/

from hfs2.

cocos56 avatar cocos56 commented on July 18, 2024

And try to access my HFS through the link below with IPv6 :
http://1.coco56.top/
http://5.coco56.top/

from hfs2.

rejetto avatar rejetto commented on July 18, 2024

from hfs2.

rejetto avatar rejetto commented on July 18, 2024

Still I can access your HFS on the v4 urls but not on the v6

from hfs2.

cocos56 avatar cocos56 commented on July 18, 2024

According to https://www.china-ipv6.cn/#/index

  • Italy ranks ninth in the number of IPv6 address requests worldwide.
    3E%{5G%D UMJAXCCCOAW)$W

  • China ranks second in the number of IPv6 address requests worldwide.
    Beijing(Peking) is the capital of China, and has been completed in the development of IPv6 network on December 4, 2019. I'm from a county that has just been lifted out of poverty, and my city is not the capital also.
    X$PZAO6MRN6VP$B7ASQ(B@P

You can see if other network operators in your area support IPv6. I have a feeling that some parts of Rome might support IPv6.

from hfs2.

cocos56 avatar cocos56 commented on July 18, 2024

I have an aliyun server with a golbal IPv4 address and an IPv6 private address. If you need to test IPv6, I can provide it to you.

image

from hfs2.

cocos56 avatar cocos56 commented on July 18, 2024

You can test it with its own IPv6 address, such as ::1, not the IPv6 addresses of other machines.

image
image

from hfs2.

rejetto avatar rejetto commented on July 18, 2024

I have an aliyun server with a golbal IPv4 address and an IPv6 private address. If you need to test IPv6, I can provide it to you.

thanks for your offer!
when i'll be able to work on ipv6 we'll see how to do it.
Or other people may work on it first...

from hfs2.

rejetto avatar rejetto commented on July 18, 2024

hfs.zip

would you please see if this build has some support for ipv6 ?

from hfs2.

cocos56 avatar cocos56 commented on July 18, 2024

Thank you, it now supports IPv6.

You can visit http://3.coco56.top/

image
image

from hfs2.

cocos56 avatar cocos56 commented on July 18, 2024

But this version cannot access http://127.0.0.1/

from hfs2.

cocos56 avatar cocos56 commented on July 18, 2024

This version may only support IPv6.

from hfs2.

cocos56 avatar cocos56 commented on July 18, 2024

Can you make it support both IPv6 and IPv4 ?

from hfs2.

rejetto avatar rejetto commented on July 18, 2024

from hfs2.

rejetto avatar rejetto commented on July 18, 2024

If you have time, would you tell me which features you find that needs to be adapted for ipv6 ?
At the moment i only know of 'bans'. Thanks

from hfs2.

cocos56 avatar cocos56 commented on July 18, 2024

It applies to scenarios where resources are shared globally.

Global IPv4 addresses are now exhausted. This have become one of the factors restricting the development of the Internet.

As we all know, without a global network IP address, it is difficult for others to download to the files we have shared. And in many cases, they can only access the files by connecting to the same router as us.

In the IPv4 era, the addresses given to machines were private, but in the IPv6 era, they were global.

from hfs2.

rejetto avatar rejetto commented on July 18, 2024

There was a misunderstanding with my last request.
What I meant is: now that HFS will accept ipv6 requests, better than nothing but that's not enough, I will have to work on some other parts that needs to be adapted. For example, if you go to "Limits>Bans", you'll find impossible to enter ipv6 addresses, so you won't be able to use that specific feature. There may be others.
I hope it is clearer now.

from hfs2.

coco5666 avatar coco5666 commented on July 18, 2024

https://rejetto.com/wiki/index.php?title=HFS:_IP_masks

image
image

image

from hfs2.

coco5666 avatar coco5666 commented on July 18, 2024

Ok, thank you. I see what you mean. I don't think there's anything special to do except Ban.

from hfs2.

rejetto avatar rejetto commented on July 18, 2024

Can you make it support both IPv6 and IPv4 ?

can you tell me if this build works with both ipv6 and ipv4 ?
hfs.zip

from hfs2.

cocos56 avatar cocos56 commented on July 18, 2024

Can you make it support both IPv6 and IPv4 ?

can you tell me if this build works with both ipv6 and ipv4 ?
hfs.zip

Only support IPv4, not support IPv6.

from hfs2.

rejetto avatar rejetto commented on July 18, 2024

from hfs2.

cocos56 avatar cocos56 commented on July 18, 2024

run netstat -an
You should get the following results :

TCP 0.0.0.0:80 0.0.0.0:0 LISTENING
TCP [::]:80 [::]:0 LISTENING

image
image

from hfs2.

rejetto avatar rejetto commented on July 18, 2024

thanks! so this should be good. Let me know
hfs.zip

from hfs2.

cocos56 avatar cocos56 commented on July 18, 2024

Both Ipv4 and Ipv6 support are now fully implemented. But Ipv6 access can sometimes be slow.
image

from hfs2.

cocos56 avatar cocos56 commented on July 18, 2024

Maybe the performance of the machine I tested was too poor.

from hfs2.

rejetto avatar rejetto commented on July 18, 2024

from hfs2.

cocos56 avatar cocos56 commented on July 18, 2024

Ok, thank you!

from hfs2.

Related Issues (20)

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.