Node CrowdSec Client
    Preparing search index...

    Interface ICrowdSecHTTPBouncerLiveOptions

    interface ICrowdSecHTTPBouncerLiveOptions {
        cleanCacheMax?: number;
        cleanCacheTtl?: number;
        enabled?: boolean;
        errorBackoffTtl?: number;
        errorBehavior?: LiveCheckErrorBehavior;
        maxConcurrentChecks?: number;
        watchdog?: boolean;
    }
    Index
    cleanCacheMax?: number

    max number of "clean" verdicts kept in memory ( LRU ). Default: maxIpCache ?? 50000

    cleanCacheTtl?: number

    how long ( in seconds ) a "clean" verdict is trusted before re-checking. Default: 60

    enabled?: boolean

    enable the live mode : on a local cache miss, check the IP against the LAPI in the background and block it from the next request on. Default: false

    errorBackoffTtl?: number

    how long ( in seconds ) a failed check is remembered ( backoff ). Default: 10

    errorBehavior?: LiveCheckErrorBehavior

    what to do when a live check fails. Default: failOpen

    maxConcurrentChecks?: number

    max number of concurrent live checks against the LAPI. Default: 100

    watchdog?: boolean

    periodically scan the index and remove expired decisions even if the LAPI is unreachable and the stream deleted events stop coming. Applies in stream mode too (a safety net on top of the stream deleted events). Default: true