]> de.git.xonotic.org Git - xonotic/darkplaces.git/commit - netconn.c
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)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 11 Oct 2013 14:43:19 +0000 (14:43 +0000)
commitd153dbd355a89226bca145dffa6a0d024b5ac8a7
tree3cdca459836918043e6c2fd078090b7321c6d8b4
parent35be66cc83cf7bdd767b35e10814c037e5754839
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
netconn.c
netconn.h