saros icon indicating copy to clipboard operation
saros copied to clipboard

[INTERNAL][CORE] Adds Socks5 proxy connection encryption

Open srossbach opened this issue 5 years ago • 3 comments

This patch will now encrypt non mediated Socks 5 connection because the SMACK API do not offer it.

The encryption is currently done with RSA and RC4 although RC4 should be replaced. This patch includes some randomization that makes sniffing RC4 sessions harder.

srossbach avatar Jul 27 '20 21:07 srossbach

Codacy Here is an overview of what got changed by this pull request:


Complexity increasing per file
==============================
- core/test/junit/saros/net/stream/SecureByteStreamTest.java  4
- core/src/saros/net/stream/SecureByteStream.java  4
         

See the complete overview on Codacy

saros-infrastructure avatar Jul 27 '20 21:07 saros-infrastructure

As I am not well versed with the network stuff and he already had a look a it earlier on, I would like @stefaus to have a look at it. But, as he is currently a little preoccupy, this might take a while.

tobous avatar Jul 30 '20 14:07 tobous

There is no XEP for encryption regarding Socks5 or Jingle yet. So there is no support for this even in the newest Smack version.

srossbach avatar Jul 30 '20 20:07 srossbach