-
Notifications
You must be signed in to change notification settings - Fork 185
Open
Description
Hello
I am testing iptc on Rocky8. It seems the chain rules list is always empty:
# iptables -nL
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT tcp -- 192.168.10.11 0.0.0.0/0 tcp dpt:22
...
# python3.8
Python 3.8.12 (default, May 10 2022, 23:46:40)
[GCC 8.5.0 20210514 (Red Hat 8.5.0-10)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import iptc
>>> t=iptc.Table(iptc.Table.FILTER)
>>> c=iptc.Chain(t, 'INPUT')
>>> c.rules
[]
Any help is greatly appreciated.
Thanks
Metadata
Metadata
Assignees
Labels
No labels