Once the ip_queue
module is gone, then you can't use libipq
, as it leverages that module directly; so no, there's no workaround unless you install an older kernel that still has the ip_queue
module.
That said, you've mentioned absolutely nothing about what you've actually tried. If you start from a basic libnetfilter_queue
example, when you're setting the verdict, you should be using nfq_set_verdict
, passing in the data_len
and buf
parameters containing the swizzled packet data.