]> Cypherpunks.ru repositories - govpn.git/commit - README
Obfuscate/randomize message nonces 1.5
authorSergey Matveev <stargrave@stargrave.org>
Fri, 27 Feb 2015 20:52:09 +0000 (23:52 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Mon, 2 Mar 2015 20:16:11 +0000 (23:16 +0300)
commit8f627a4324b97e976b6ae1aff4cd62036a7cb8bc
tree7ac43f6fb15d3a4b1b5acc03482c9d114ac714e8
parent714cbbb6d110cea24f84f9cce7c255849e869f6d
Obfuscate/randomize message nonces

Nonce is directly written inside transport messages and it is the only
part that is different from randomness (because it does not require it
actually). One can use them as GoVPN's traffic fingerprint.

Apply simple PRP function on the nonce before it's usage. Internal
counters are keeped in the state, but encrypted and decrypted during
actual use using XTEA algorithm. It is rather simple, fast enough,
simplier than applying Luby-Rackoff to make PRP from Salsa20.

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
README
govpn.go
handshake.go