python-proxy
python-proxy copied to clipboard
trojan not working
Hi,
I tested your code and found problem on trojan protocol i use this code from your documentation:
server = ProxyServer.Server('socks5://0.0.0.0:1234') remote = ProxyServer.Connection('trojan://[email protected]:443') args = dict( rserver = [remote] )
but i give userinfo must be "cipher:key" Error
Cheers,
Trojan URI in pproxy is not the format "trojan://password@ip:port". It should be "trojan://ip:port#password".
You can read the Trojan example part of README.rst. Trojan protocol is used with ssl in most cases like "trojan+ssl://".
in your example i can't see Trojan URI format but now it's okey thanks