Closed
Description
Hi,
I think I've found a bug regarding target "NOTRACK"
I'm attempting to produce a test rule to untrack SCTP protocol
# iptables -t raw -A PREROUTING -p 132 -j NOTRACK
The problem is that the target is not handled properly and yields the following:
# iptables -t raw -S PREROUTING
-P PREROUTING ACCEPT
-P OUTPUT ACCEPT
-A PREROUTING -p sctp -j CT
Steps to reproduce:
import iptc
rule = iptc.Rule()
rule.protocol = "132"
rule.target = iptc.Target(rule, "NOTRACK")
chain = iptc.Chain(iptc.Table(iptc.Table.RAW), "PREROUTING")
chain.insert_rule(rule)
Any help would be appreciated!
Thanks!
Metadata
Metadata
Assignees
Labels
No labels