[GH-ISSUE #274] Spurious symbols appear in ProxyMethod #219

Open
opened 2026-02-26 12:34:17 +03:00 by kerem · 0 comments
Owner

Originally created by @kutukvpavel on GitHub (Aug 11, 2024).
Original GitHub issue: https://github.com/cbeuw/Cloak/issues/274

For some reason proxyMethod field is padded with garbage during a client connection attempt. From systemd logs, when trying to connect to panel1 proxy: level=error msg="invalid proxy method" UID="..." encryptionMethod=2 proxyMethod="panel1\xc9\t\x94r\x19\x7f" remoteAddr="..." sessionId=0

I ran into this issue on both panel and shadowsocks proxies i set up. Can be easily fixed by using a long proxy name, for example, panel_longer or shadowsocks1 is sufficient. Both Linux-amd64 client and Android Shadowsocks client with Cloak plugin are affected.

Originally created by @kutukvpavel on GitHub (Aug 11, 2024). Original GitHub issue: https://github.com/cbeuw/Cloak/issues/274 For some reason proxyMethod field is padded with garbage during a client connection attempt. From systemd logs, when trying to connect to `panel1` proxy: `level=error msg="invalid proxy method" UID="..." encryptionMethod=2 proxyMethod="panel1\xc9\t\x94r\x19\x7f" remoteAddr="..." sessionId=0` I ran into this issue on both `panel` and `shadowsocks` proxies i set up. Can be easily fixed by using a long proxy name, for example, `panel_longer` or `shadowsocks1` is sufficient. Both Linux-amd64 client and Android Shadowsocks client with Cloak plugin are affected.
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Cloak#219
No description provided.