]> Cypherpunks.ru repositories - govpn.git/commit
Replace handshake NULLs with an IDtag
authorSergey Matveev <stargrave@stargrave.org>
Sun, 26 Apr 2015 16:19:54 +0000 (19:19 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Sun, 26 Apr 2015 16:22:46 +0000 (19:22 +0300)
commit6f24325487b7fec589d6f191b2081b2476b2ce5a
tree1c1bc4d49363c80facfcd5d308c1f0e05a54a07a
parent9fa0539ac6e2f2bd8fbd6430c9034187975bbce3
Replace handshake NULLs with an IDtag

Each handshake message contains so called IDtag: XTEA encrypted first 64
bits of transmitted message with client's identity as a key. To
determine if it is handshake message we check all possible client
identities as a key.

Now handshake messages became indistinguishable from the random.

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
TODO
cmd/govpn-client/main.go
cmd/govpn-server/main.go
doc/govpn.texi
doc/handshake.txt
handshake.go
identify.go