aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers/HttpServer/XmlRpcBasicDOSProtector.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * Add a session concurrency option per key. Allows developer/config to ↵teravus2013-10-091-2/+5
| | | | specify number of concurrent requests on a service.
* * Refactorteravus2013-10-071-139/+16
| | | | * Break out common BasicDOSProtector code into separate class.
* * Added a Basic DOS protection container/base object for the most common ↵teravus2013-10-071-0/+211
HTTP Server handlers. XMLRPC Handler, GenericHttpHandler and <Various>StreamHandler * Applied the XmlRpcBasicDOSProtector.cs to the login service as both an example, and good practice. * Applied the BaseStreamHandlerBasicDOSProtector.cs to the friends service as an example of the DOS Protector on StreamHandlers * Added CircularBuffer, used for CPU and Memory friendly rate monitoring. * DosProtector has 2 states, 1. Just Check for blocked users and check general velocity, 2. Track velocity per user, It only jumps to 2 if it's getting a lot of requests, and state 1 is about as resource friendly as if it wasn't even there.