cbeuw / Cloak

A censorship circumvention tool to evade detection by authoritarian state adversaries

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spurious symbols appear in ProxyMethod

kutukvpavel opened this issue · comments

commented

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.