CommentMatch

class CommentMatch[source]

Provide a way to add a comment to a rule

comment() CommentCriterion[source]

The rule comment

to_iptables_args() List[str][source]

Returns iptables(8) arguments for this match


CommentCriterion

class CommentCriterion(match: Match)[source]

Not really a criterion.

The comparison value is a string.