LimitMatch

class LimitMatch[source]

Match against a rate limit with a maximum burst

burst() BurstCriterion[source]

Compare with the burst limit

limit() RateLimitCriterion[source]

Compare with the rate limit

to_iptables_args() List[str][source]

Returns iptables(8) arguments for this match


RateLimitCriterion

class RateLimitCriterion(match: Match)[source]

Compare with a rate limit

The comparison value is an integer


BurstCriterion

class BurstCriterion(match: Match)[source]

Compare with the burst limit

The comparison value is an integer