Show / Hide Table of Contents

    Interface IDoSDefender

    Interface for a DoS defender service.

    Namespace: Fibula.Security.Contracts
    Assembly: Fibula.Security.Contracts.dll
    Syntax
    public interface IDoSDefender

    Methods

    | Improve this Doc View Source

    BlockAddress(String)

    Blocks a given address.

    Declaration
    void BlockAddress(string addressStr)
    Parameters
    Type Name Description
    System.String addressStr

    The address to block.

    | Improve this Doc View Source

    IsBlocked(String)

    Checks if a given address is blocked.

    Declaration
    bool IsBlocked(string addressStr)
    Parameters
    Type Name Description
    System.String addressStr

    The address to check for.

    Returns
    Type Description
    System.Boolean

    True if the address is blocked, false otherwise.

    | Improve this Doc View Source

    LogConnectionAttempt(String)

    Logs a connection attempt.

    Declaration
    void LogConnectionAttempt(string addressStr)
    Parameters
    Type Name Description
    System.String addressStr

    The address from which the connection attempt took place.

    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.