Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Questions about plugins, auto-switching and DNS. #1430

Closed
paolosezart opened this issue Feb 6, 2024 · 1 comment
Closed

Questions about plugins, auto-switching and DNS. #1430

paolosezart opened this issue Feb 6, 2024 · 1 comment

Comments

@paolosezart
Copy link

paolosezart commented Feb 6, 2024

I am using the shadowsocks-rust client on my Raspberry pi4 with the Raspbian Bookworm operating system. I tested a few proxy programs, for this OS and shadowsocks-rust turned out to be the most convenient, stable and resource-free. I'm running shadowsocks-rust in local proxy mode, because it's not a good idea to let all traffic through a proxy.

I studied the documentation, but could not find information about which plugins are already built into the program, and which ones need to be downloaded separately. In particular, does shadowsocks-rust have the ability to connect to servers with "hysteria", "vmess", "vless", "trojan". And what is the syntax for writing a configuration file to connect these protocols? Please write detailed examples of writing configuration files with different protocols.

The second question is about auto-switching. As it is written in the help, the shadowsocks-rust client tests all connections at startup and selects the fastest one. And what happens if the remote server shuts down, will shadowsocks-rust switch to another server registered in config.json?

And the third question is, how do I configure shadowsocks-rust to listen to local UDP port 53, to proxy DNS queries?
Thank you so much for your project!

@zonyitoo
Copy link
Collaborator

zonyitoo commented Feb 7, 2024

I studied the documentation, but could not find information about which plugins are already built into the program, and which ones need to be downloaded separately.

"Plugin" is a standard protocol, which was defined in SIP003 and SIP003u. So there is no "builtin" plugin in this project.

In particular, does shadowsocks-rust have the ability to connect to servers with "hysteria", "vmess", "vless", "trojan".

No. This is a Project in the "shadowsocks" organization.

While you are talking about Plugin, you may build a shadowsocks Plugin with any other existed program, for example, v2ray-plugin.

And what happens if the remote server shuts down, will shadowsocks-rust switch to another server registered in config.json?

Yes, it will switch to the server that have the highest "score". If a server was down, it won't get high enough "score", in most cases.

how do I configure shadowsocks-rust to listen to local UDP port 53, to proxy DNS queries?

You may try to start a "tunnel" local instance, which listen to port 53 and forward all the queries to a specific destination set by "forward_addr".

@zonyitoo zonyitoo closed this as completed Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants