On Tue, Aug 03, 2021 at 10:06:41AM +0100, Jeremy Sowden wrote: > > Right, take three. Firstly, use udata as I previously suggested, and > then use a new struct with a layout compatible with struct xt_nflog_info > just for printing and saving iptables-nft targets. > > Seems to work. Doesn't break iptables-legacy. > > Patches attached. > > J. Hey Jeremy, Thanks for writing in and helping with this, I appreciate it. I actually was trying to make this work last night in a similar way to how you've solved it but I gave up after a few hours. I'll go ahead and organize this together and send the patches in a separate thread. Kyle