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 | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
LogConnectionInitialise |
Log a connection initialisation for the provided remote IPAddress.
| |
LogMalformedData |
Log a malformed data event for the provided remote IPAddress.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
RemoteIPAddressBanned |
Returns true if the provided IPAddress has been banned due to DOSProtection.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
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