I need to be able to programmatically kill tracked connection states in the nf_conntrack
table. I believe the correct way to do this is using the conntrack
tool. But, this is not part of the standard RutOS install.
I found that I can install it using
opkg -e /etc/opkg/openwrt/distfeeds.conf install conntrack
This generates some error output:
# opkg -e /etc/opkg/openwrt/distfeeds.conf install conntrack
Package conntrack (1.4.6-3) installed in root is up to date.
Collected errors:
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.4.143-1-d04d8d4d6f3bad7588be7c9e49004fda) for kmod-nfnetlink
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.4.143-1-d04d8d4d6f3bad7588be7c9e49004fda) for kmod-nf-reject
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.4.143-1-d04d8d4d6f3bad7588be7c9e49004fda) for kmod-nf-ipt
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.4.143-1-d04d8d4d6f3bad7588be7c9e49004fda) for kmod-ipt-core
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.4.143-1-d04d8d4d6f3bad7588be7c9e49004fda) for kmod-nf-conntrack
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.4.143-1-d04d8d4d6f3bad7588be7c9e49004fda) for kmod-ipt-conntrack
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.4.143-1-d04d8d4d6f3bad7588be7c9e49004fda) for kmod-nf-conntrack-netlink
…which I ignore. But then I do have the tool. Is this “correct” or is there a better way to get this tool? RutOS 7.10.2, thank you