Road to Throne #525
Replies: 80 comments 95 replies
-
|
Currently I am preparing the new icon/tray images. Then I need to rename some internal code stuff, preferably removing the word |
Beta Was this translation helpful? Give feedback.
-
|
I have created "1.0" milestone https://github.com/throneproj/nekoray/milestone/1. |
Beta Was this translation helpful? Give feedback.
-
|
I will add legacy windows support to the main repository next week. |
Beta Was this translation helpful? Give feedback.
-
|
@Mahdi-zarei I refactored the code of core. Convert core server to a shared library. |
Beta Was this translation helpful? Give feedback.
-
|
Export symbols: |
Beta Was this translation helpful? Give feedback.
-
|
Useage: Here is a modified version of |
Beta Was this translation helpful? Give feedback.
-
|
Windows build nekoray.zip. |
Beta Was this translation helpful? Give feedback.
-
|
I once thought about having the core as a lib, like Libbox that SFA uses, but there are several issues that make it hard. First thing is that we lose the ability to hard restart the core, as it no longer is a process you could simply kill or restart. Another is that on Linux you cannot set the system proxy when running as the root user, but you need root access for Tun mode. Third is actually there are lots of system Calls in the sing-box and I am kinda worried that not all of them will work properly when compiled to c code. So I guess it is best to keep the core a separate process to ensure things will remain safe and also have more control over it as a separate process. |
Beta Was this translation helpful? Give feedback.
-
|
There also seems to be a weird bug with the simple-protobuf library, #534, in this issue, from the second call onwards, the |
Beta Was this translation helpful? Give feedback.
-
|
I fixed the issue with spb. There is also another thing that makes it not worth making the core a clib, and that is its crashes will cause the whole app to crash, we can of course add a recover to the main function but it really isn't a solution. So my final thought is that even though it is amazing to have a single binary to distribute, the amount of problems and complexities is simply too much and it is not a good idea to do it. |
Beta Was this translation helpful? Give feedback.
-
|
@Mahdi-zarei Thank you so much for your detailed explanation. I will stop further research on it. |
Beta Was this translation helpful? Give feedback.
-
|
Regarding simple protobuf, there are issues with default values as having fields set as required makes api calls cumbersome as we cant leave them empty, and having them set as optional will require a |
Beta Was this translation helpful? Give feedback.
-
|
Setting a default value for a required field(like fd421d0) works or not? |
Beta Was this translation helpful? Give feedback.
-
|
It does work in the context of the value you read from it, but the problem is if you don't provide that field, the rpc will fail. Setting it as optional causes the code to break and we need to make significant changes. |
Beta Was this translation helpful? Give feedback.
-
|
https://github.com/throneproj/nekoray/tree/refs/heads/optional_field |
Beta Was this translation helpful? Give feedback.
-
|
@Mahdi-zarei Some users report high memory usage after we migrating to new outbound-based proxy entity.
|
Beta Was this translation helpful? Give feedback.
-
|
It seems the current protorpc library does not have proper connection multiplexing and uses lots of connections. Do you think we should use another library (possibly falling back to gRPC)? |
Beta Was this translation helpful? Give feedback.
-
|
@Mahdi-zarei I found a UI Enhanced Edition of original nekoray. What do you think of the UI style? |
Beta Was this translation helpful? Give feedback.
-
|
Are you planning to add a load balancer like in Exclave (Android)? |
Beta Was this translation helpful? Give feedback.
-
|
Multi-column filter feature has been merged. It is disabled by default. Users can enable/disable filter by pressing filter.mp4 |
Beta Was this translation helpful? Give feedback.
-
|
I guess we should release the stable version now, do you know of any bugs we have to fix before doing it? |
Beta Was this translation helpful? Give feedback.
-
|
@Mahdi-zarei I added support for Juicity, TrustTunnel, ShadowTLS protocols to the |
Beta Was this translation helpful? Give feedback.
-
|
@Mahdi-zarei The upstream sing-box repository creates |
Beta Was this translation helpful? Give feedback.
-
|
@Mahdi-zarei With so many improvements and fixes in place, I think we're ready for a new version. |
Beta Was this translation helpful? Give feedback.
-
|
I have added support for chaining Xray configs (sing->xray->sing at most, cannot transition between cores more than that) |
Beta Was this translation helpful? Give feedback.
-
|
I made some changes to secure the access between core and gui given that we have suid which is dangerous. Please give it a bit of testing, since we migrated from tcp to unix socket/named pipes. |
Beta Was this translation helpful? Give feedback.
-
|
@Mahdi-zarei please review #1446 and #1447 when you have time 🙂 |
Beta Was this translation helpful? Give feedback.
-
|
Are there any issues you think we should work upon before release? I have tested the new version myself and it seems to be stable so far. |
Beta Was this translation helpful? Give feedback.
-
|
@Mahdi-zarei 29d9420 broke the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Leave your thoughts about Throne here.
Beta Was this translation helpful? Give feedback.
All reactions