Mahdi-zarei / nekoray

Qt based cross-platform GUI proxy configuration manager (backend: sing-box)
GNU General Public License v3.0
255 stars 17 forks source link

Source code of Fragment for NekoBox #1

Closed Graveyard9988 closed 2 months ago

Graveyard9988 commented 2 months ago

Source code of tls fragment for NekoBox:

https://github.com/maskedeken/sing-box/commit/a42d2e6fd16d9bd359c828e9d527430e05d1ed4b

https://github.com/maskedeken/NekoBoxForAndroid/commit/b915370224737a8e0db770adbc6146415f5cbc64

Please add them to your fork ☝️

Regards.

Graveyard9988 commented 2 months ago

Husi client does not have "tls fragment" and "mux"

Please import these feature from https://github.com/maskedeken/NekoBoxForAndroid/

And add to your husi fork (recently you created)

Mahdi-zarei commented 2 months ago

Regarding mux, both Husi and Nekoray do support mux, Xray's and sing-box's mux implementations are not compatible so if mux is to be employed both server and the client have to use the same core. About fragment, it's a feature of the core and not the GUI, the fork of sing-box you provided appears to be poorly maintained and is around a year behind the upstream sing-box project. Also the main idea of fragmentation is practically a very poor idea since fragmentation of clientHello Packet is a very rare event and GFW could simply block any connection that has its clientHello packet fragmented, so this feature is not working because it is a brilliant idea, but because they have not decided to block it yet. I can suggest using hiddify's clients which use a fork of sing-box and support fragment and are available for both android and windows (also apple platform).