netfilter hooks for IFB device
From: François Delawarde <hidden>
Date: 2009-11-25 15:59:47
From: François Delawarde <hidden>
Date: 2009-11-25 15:59:47
Hi, I'm interested in adding optional netfilter hooks to the IFB device (enabled by module param), in order to have full IMQ functionality (to use CONNMARKs and others) without having to add any iptables or netfilter target. I'm aiming for something very simple inspired by this older IMQ implementation: http://pupa.da.ru/imq/imq.c The only thing is, I have no idea what to do in the callback function once the netfilter hooks are registered. How can I 'steal' the packet in the hook and make it pass through ifb_xmit to have it enqueued? Thanks, François.