Documentation
    Preparing search index...

    Interface FirewallConfig

    Complete firewall configuration — immutable container.

    All mutations (setPolicy, setRateLimit, addMatcher) return a new FirewallConfig; the original is never modified. Mirrors AclState's immutable-container shape.

    Per-napplet rule map keyed by dTag.

    Ordered list of content matchers (first-match wins).

    Global init-burst guard applied to all napplets.

    Global default token-bucket rate applied when no napplet-specific rule matches.

    Fractional multiplier (e.g. 0.25) that tightens rate budgets for unfocused napplets (FOCUS-02). Focus alone NEVER hard-blocks; it only scales tokens.

    interface FirewallConfig {
        burstGuard: BurstGuard;
        defaultRate: RateLimit;
        matchers: readonly ContentMatcher[];
        napplets: Readonly<Record<string, NappletRules>>;
        unfocusedMultiplier: number;
    }
    Index

    Properties

    burstGuard: BurstGuard
    defaultRate: RateLimit
    matchers: readonly ContentMatcher[]
    napplets: Readonly<Record<string, NappletRules>>
    unfocusedMultiplier: number