Here is my python script for calling IPtables and I need SQLite output to make a rule (df2)
subprocess.run(["/usr/sbin/iptables", "-A", "INPUT", "-p", "udp", "-m", "udp", "--dport 5060", "-m" "string",
"--string" , "/home/as/Documents/mydf.csv", "-algo", "bm", "--to 655535", "-j" ,"REJECT"])
Error I am getting
iptables v 1.8.4v(legacy): unknown option --string