DOSProtection MembersNetworkComms.Net Help
The DOSProtection type exposes the following members.

Public methodDOSProtection
Initialise a new instance of DOS protection.
Back to Top

Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Public methodLogConnectionInitialise
Log a connection initialisation for the provided remote IPAddress.
Public methodLogMalformedData
Log a malformed data event for the provided remote IPAddress.
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodRemoteIPAddressBanned
Returns true if the provided IPAddress has been banned due to DOSProtection.
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Back to Top

Public propertyBanTimeout
The timeout after which time a banned IPAddress may have access again. Default is 10 minutes.
Public propertyConnectionInitialiseCountInIntervalBeforeBan
The number of connection initialises to log within LogInterval before an IPAddress is banned. Default is 100
Public propertyEnabled
The current state of DOS protection
Public propertyLogInterval
The time within which if MalformedCountInIntervalBeforeBan or ConnectionInitialiseCountInIntervalBeforeBan is reached a peer will be banned. Default is 5 minutes.
Public propertyMalformedCountInIntervalBeforeBan
The number of malformed data counts to log within LogInterval before an IPAddress is banned. Default is 2.
Back to Top
See Also