292814 make QoSFilter and DoSFilter JMX manageable
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1914 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
parent
716b76fe5d
commit
4130f68f98
|
@ -0,0 +1,12 @@
|
|||
DoSFilter: Limit exposure to abuse from request flooding, whether malicious, or as a result of a misconfigured client.
|
||||
maxRequestsPerSec: maximum number of requests from a connection per second. Requests in excess of this are first delayed, then throttled.
|
||||
delayMs: delay (in milliseconds) that is applied to all requests over the rate limit, before they are considered at all, 0 - no delay, -1 - reject request.
|
||||
maxWaitMs: maximum amount of time (in milliseconds) the filter will blocking wait for the throttle semaphore.
|
||||
throttledRequests: number of requests over the rate limit able to be considered at once.
|
||||
throttleMs: amount of time (in milliseconds) to async wait for semaphore.
|
||||
maxRequestMs: maximum amount of time (in milliseconds) to allow the request to process.
|
||||
maxIdleTrackerMs: maximum amount of time (in milliseconds) to keep track of request rates for a connection, before deciding that the user has gone away, and discarding it.
|
||||
insertHeaders: insert the DoSFilter headers into the response.
|
||||
trackSessions: usage rate is tracked by session if a session exists.
|
||||
remotePort: usage rate is tracked by IP+port (effectively connection) if session tracking is not used.
|
||||
ipWhitelist: list of IP addresses that will not be rate limited.
|
|
@ -0,0 +1,4 @@
|
|||
QoSFilter: Quality of Service Filter.
|
||||
maxRequests: maximum number of requests allowed to be processedat the same time.
|
||||
waitMs: (short) amount of time (in milliseconds) that the filter would wait for the semaphore to become available before suspending a request.
|
||||
suspendMs: amount of time (in milliseconds) that the filter would suspend a request for while waiting for the semaphore to become available.
|
Loading…
Reference in New Issue