Show / Hide Table of Contents

    Class SimpleDosDefenderOptions

    Class that represents options for the login listener.

    Inheritance
    System.Object
    SimpleDosDefenderOptions
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Fibula.Security
    Assembly: Fibula.Security.dll
    Syntax
    public class SimpleDosDefenderOptions

    Properties

    | Improve this Doc View Source

    BlockAtCount

    Gets or sets the count to reach before blocking an IP address, within a timeframe.

    Declaration
    [Required(ErrorMessage = "A value at which to block requests must be speficied.")]
    [Range(5, 10000, ErrorMessage = "The value of BlockAtCount must be in the range [5, 10000].")]
    public uint BlockAtCount { get; set; }
    Property Value
    Type Description
    System.UInt32
    | Improve this Doc View Source

    ListSizeLimit

    Gets or sets the maximum of IP addresses to block.

    Declaration
    [Range(100, 2147483647, ErrorMessage = "The value of ListSizeLimit must be in the range [100, 2147483647].")]
    public uint ListSizeLimit { get; set; }
    Property Value
    Type Description
    System.UInt32
    | Improve this Doc View Source

    TimeframeInSeconds

    Gets or sets the number of seconds per timeframe.

    Declaration
    [Required(ErrorMessage = "A time frame duration (in seconds) must be speficied.")]
    [Range(1, 3600, ErrorMessage = "The value of TimeframeInSeconds must be in the range [1, 3600].")]
    public int TimeframeInSeconds { get; set; }
    Property Value
    Type Description
    System.Int32

    Extension Methods

    ObjectExtensions.YieldSingleItem<T>(T)
    ObjectExtensions.GetPropertyValue(Object, String)
    Validate.ThrowIfNull(Object, String)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2018-2020 | The Fibula Project
    Generated using DocFX | Jose L. Nuñez de Caceres et al.