client: Only accept connections to remote hosts
Prevent an attacker from creating connections to local addresses (SSRF).
To simplify the code remove the support for the 'addr' argument, no deployed bridge uses it.
Edited by meskio
Prevent an attacker from creating connections to local addresses (SSRF).
To simplify the code remove the support for the 'addr' argument, no deployed bridge uses it.