]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commit
Netconn: when an encrypted connection is used, randomly set one or more of three...
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 11 Oct 2013 14:43:19 +0000 (14:43 +0000)
committerRudolf Polzer <divverent@xonotic.org>
Sat, 12 Oct 2013 02:32:51 +0000 (04:32 +0200)
commit1453df184bb25502bd90cf441ffcb3182c569f02
tree3cdca459836918043e6c2fd078090b7321c6d8b4
parent895012191a29b8f0ec415bac65413e97a43bac3e
Netconn: when an encrypted connection is used, randomly set one or more of three unused NETFLAGs.

When AES encryption is enabled, this will then work around substring
matching in routers/IPS thanks to CBC and our method of IV selection.
See "startkeylogger". Note that this neither improves nor weakens
security - SSL e.g. has the very issue we're fixing here because it is
based on TCP, and thus resends always are identical payloads.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12023 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=d153dbd355a89226bca145dffa6a0d024b5ac8a7
netconn.c
netconn.h