]> de.git.xonotic.org Git - xonotic/darkplaces.git/commit
implemented connect flood blocking (100% effective on connect floods with an interval...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 23 Oct 2006 10:34:09 +0000 (10:34 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 23 Oct 2006 10:34:09 +0000 (10:34 +0000)
commit746b4235be6cc6db56036684fc9baf7ade52565b
tree46c7e1ab34e977c54ecbe1dbe3bb363181eab60c
parent87f3dcc2cc685e223e408d3438e6f204c11ce51a
implemented connect flood blocking (100% effective on connect floods with an interval of 5 seconds or less between connects from the same IP address, and limits connect floods slower than that to occupying 2 slots at once due to a 10 second timeout)
cleaned up connect packet handling code to be more readable and consistent
reenabled rejoin code (allowing players to resume the game if their client crashes crashes but comes back with the same port number - rather rare unless cl_port is used, but could help people who do use cl_port)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6609 d7cf8633-e32d-0410-b094-e92efae38249
netconn.c
server.h