Can't find libiptc or iptables-legacy in Rocky 10

We’re compiling some software that requires libiptc.h, which in Rocky 8 was provided by the iptables-devel package.

As best I can tell, libiptc hasn’t been part of iptable-devel since Rocky 9 when it was moved to iptables-legacy in the EPEL, at least according to Google search. There was a discussion about removing it from RHEL here:

If it was available in iptables-legacy in the EPEL that would be fine for us, but for Rocky 10 at least there doesn’t seem to be any iptables-legacy package in the EPEL.

Can anyone help us answer the question of whether and where libiptc might be available for Rocky 10? Thanks in advance!

You can also get the iptables source rpm from Fedora 42 which is the same version in EL10 and it should be possible to build that using mock.

See: iptables-1.8.11-8.fc42 | Build Info | koji for the source rpms. Otherwise, it will require as @Ritov has suggested by making a package request to EPEL so that they build it. For a one-off, I’d probably try building myself, but sometimes it doesn’t always work due to lack of dependencies or whatnot.

Thanks everyone! It’s not a one-off build so I’ve opened a request for an EPEL package:

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.