mirror of
https://github.com/cbeuw/Cloak.git
synced 2026-04-25 04:25:59 +03:00
[GH-ISSUE #254] Shadowsocks2022 and UDP #207
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Cloak#207
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @hawshemi on GitHub (Mar 8, 2024).
Original GitHub issue: https://github.com/cbeuw/Cloak/issues/254
Hello @cbeuw
As you may know, some modern cores like
xray-coresupport the new version of Shadowsocks, which can transport UDP.Can Cloak support UDP as well?
I tested in the config:
but cannot pass UDP.
Do you know how I can enable UDP in cloak? (it is enabled on Shadowsocks)
@qwerttvv commented on GitHub (Mar 12, 2024):
shadowsocks-rust
{
"server":"127.0.0.1",
"mode":"tcp_and_udp",
"server_port":XXXX,
"password":"XXXX",
"timeout":300,
"method":"2022-blake3-chacha20-poly1305",
"fast_open":false,
"dns":"127.0.0.1",
"plugin": "/usr/local/bin/ck-server-linux-amd64",
"plugin_opts": "/etc/ck-server/config.json"
}
cloak
{
"BypassUID": [
"XXXX"
],
"BindAddr":[":443",":80"],
"RedirAddr": "www.XXXX.com",
"PrivateKey": "XXXX",
"AdminUID": "XXXX",
"DatabasePath": "/usr/local/bin/ck-userinfo.db"
}
Whether or not udp is enabled depends on your shadowsocks config
@hawshemi commented on GitHub (Mar 12, 2024):
@qwerttvv Thanks
But I tested, and when the cloak is on, UDP won't go through (WhatsApp video call won't connect), and if the traffic won't go through Cloak and just ShadowSocks, the UDP is connected, and Whatsapp video call works well.
@qwerttvv commented on GitHub (Mar 12, 2024):
emmmm
Maybe try some tcp2udp programs?
@notsure2 commented on GitHub (Mar 12, 2024):
Cloak doesn't implement simultaneous tcp and udp listen and also shadowsocks needs to support it.
-------- Original Message --------
On Mar 12, 2024, 3:12 PM, qwerttvv wrote: