saros
saros copied to clipboard
[INTERNAL][CORE] Adds Socks5 proxy connection encryption
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.
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
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.
There is no XEP for encryption regarding Socks5 or Jingle yet. So there is no support for this even in the newest Smack version.