The DOSProtection type exposes the following members.
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
![]() | DOSProtection |
Initialise a new instance of DOS protection.
|
Methods
Name | Description | |
---|---|---|
![]() | ![]() | (Inherited from ![]() |
![]() | ![]() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from ![]() |
![]() | ![]() | Serves as a hash function for a particular type. (Inherited from ![]() |
![]() | ![]() | Gets the (Inherited from ![]() ![]() |
![]() | LogConnectionInitialise |
Log a connection initialisation for the provided remote IPAddress.
|
![]() | LogMalformedData |
Log a malformed data event for the provided remote IPAddress.
|
![]() | ![]() | Creates a shallow copy of the current (Inherited from ![]() ![]() |
![]() | RemoteIPAddressBanned |
Returns true if the provided IPAddress has been banned due to DOSProtection.
|
![]() | ![]() | Returns a string that represents the current object. (Inherited from ![]() |
Properties
Name | Description | |
---|---|---|
![]() | BanTimeout |
The timeout after which time a banned IPAddress may have access again. Default is 10 minutes.
|
![]() | ConnectionInitialiseCountInIntervalBeforeBan |
The number of connection initialises to log within LogInterval before an IPAddress is banned. Default is 100
|
![]() | Enabled |
The current state of DOS protection
|
![]() | LogInterval |
The time within which if MalformedCountInIntervalBeforeBan or ConnectionInitialiseCountInIntervalBeforeBan
is reached a peer will be banned. Default is 5 minutes.
|
![]() | MalformedCountInIntervalBeforeBan |
The number of malformed data counts to log within LogInterval before an IPAddress is banned. Default is 2.
|
See Also