Optional
capture?: stringIf set, the packets matching the provided session and protocol will be captured at that file location.
Optional
device?: stringThe network interface to throttle. If not specified, the default interface will be used.
Optional
down?: ThrottleRule | ThrottleRule[]The downlink throttle rules.
Optional
filter?: stringAn additional IPTables packet filter rule.
Optional
match?: stringAn additional TC match expression used to filter packets (https://man7.org/linux/man-pages/man8/tc-ematch.8.html).
Optional
protocol?: "udp" | "tcp"The protocol to throttle.
Optional
sessions?: stringThe sessions to throttle. It could be a single index ("0"), a range ("0-2") or a comma-separated list ("0,3,4").
Optional
skipDestinationPorts?: stringA comma-separated list of destination ports that will not be throttled.
Optional
skipSourcePorts?: stringA comma-separated list of source ports that will not be throttled.
Optional
up?: ThrottleRule | ThrottleRule[]The uplink throttle rules.
The network throttling rules. Specify multiple ThrottleRule with different
at
values to schedule network bandwidth/delay fluctuations during the test run, e.g.: