@vpalmisano/throttler
    Preparing search index...

    Type Alias ThrottleConfig

    The network throttling rules. Specify multiple ThrottleRule with different at values to schedule network bandwidth/delay fluctuations during the test run, e.g.:

    {
    device: "eth0",
    sessions: "0-1",
    protocol: "udp",
    down: [
    { rate: 1000000, delay: 50, loss: 0, queue: 5 },
    { rate: 200000, delay: 100, loss: 5, queue: 5, at: 60},
    ],
    up: { rate: 100000, delay: 50, queue: 5 },
    capture: 'capture.pcap',
    }
    type ThrottleConfig = {
        capture?: string;
        device?: string;
        down?: ThrottleRule | ThrottleRule[];
        filter?: string;
        match?: string;
        protocol?: "udp" | "tcp";
        sessions?: string;
        skipDestinationPorts?: string;
        skipSourcePorts?: string;
        up?: ThrottleRule | ThrottleRule[];
    }
    Index

    Properties

    capture?: string

    If set, the packets matching the provided session and protocol will be captured at that file location.

    device?: string

    The network interface to throttle. If not specified, the default interface will be used.

    The downlink throttle rules.

    filter?: string

    An additional IPTables packet filter rule.

    match?: string

    An additional TC match expression used to filter packets (https://man7.org/linux/man-pages/man8/tc-ematch.8.html).

    protocol?: "udp" | "tcp"

    The protocol to throttle.

    sessions?: string

    The sessions to throttle. It could be a single index ("0"), a range ("0-2") or a comma-separated list ("0,3,4").

    skipDestinationPorts?: string

    A comma-separated list of destination ports that will not be throttled.

    skipSourcePorts?: string

    A comma-separated list of source ports that will not be throttled.

    The uplink throttle rules.