Skip to contentSkip to conversation

libnetfilter-queue

DISCUSSION Oscar Mechanic 1 participant 1 message May 3, 2007 netfilter

lore
Share & tools
lore
#0 lore raw

Hi

can anyone point me in the right direction for how to learn how to
rewrite the packet using libnetfilter and then inject it. Is it as simple as grabbing the buffer from "nfq_get_payload" changing this and then setting the verdict, surely not. I know the checksums have to be changed then.

If someone has an example that would be great. I have been all around netfilter/google/sourceforge/freshmeat and I still could not find any info.

Thanks
Oscar