ts-mailcow-api
    Preparing search index...

    Interface Fail2BanEditRequest

    Fail2Ban edit request.

    interface Fail2BanEditRequest {
        attr: {
            ban_time: string;
            ban_time_increment: string;
            blacklist: string;
            max_attempts: string;
            max_ban_time: string;
            netban_ipv4: string;
            netban_ipv6: string;
            retry_window: string;
            whitelist: string;
        };
        items: string;
    }
    Index

    Properties

    Properties

    attr: {
        ban_time: string;
        ban_time_increment: string;
        blacklist: string;
        max_attempts: string;
        max_ban_time: string;
        netban_ipv4: string;
        netban_ipv6: string;
        retry_window: string;
        whitelist: string;
    }

    Configuration attributes to apply.

    Type declaration

    • ban_time: string

      Duration (in seconds) a ban should last.

    • ban_time_increment: string

      Whether to increment ban time on repeated offenses.

    • blacklist: string

      List of blacklisted IPs or CIDRs, comma separated.

    • max_attempts: string

      Maximum number of failed attempts before banning.

    • max_ban_time: string

      Maximum duration (in seconds) for a ban.

    • netban_ipv4: string

      Netban range for IPv4.

    • netban_ipv6: string

      Netban range for IPv6.

    • retry_window: string

      Time window (in seconds) for retry count.

    • whitelist: string

      List of whitelisted IPs or domains, comma separated.

    items: string

    Affected networks (use "all" for global update).