16

I've read the wikipedia article on socks and cannot find information about encryption between client and proxy-server. There is only information about authentication.

Is socks5 connection a plain-text?

10

SOCKS5 is just a transport protocol on top of TCP/UDP but below application layer. Thus it's comparable with TCP and UDP, too. There's no inherent encryption in SOCKS, but you application has to care about this (it's not a VPN technology, but a proxy at last). If you want encryption, the protocol you speak inside of the SOCKS-channel has to provide it.

  • 3
    Alternatively, the protocol SOCKS runs on top of can provide encryption. A very common way to use SOCKS is over SSH (built into OpenSSH) - in that scenario SOCKS would run over the encrypted SSH connection. – Bob Aug 17 '17 at 6:37
  • 3
    … but in this case you should remember that only the SSH connection is actually encrypted (SSH client to SSH server) — SSH doesn't ensure encryption between the SSH server (your eventual SOCKS proxy) and the actual destination. – Andreas Wiese Aug 17 '17 at 6:42
  • @AndreasWiese: so does this mean that if authentication is enabled, the password is transmitted in plain text? – kontextify Apr 16 '18 at 12:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.