Skip to contentSkip to conversation

libipq: a way to use various programs?

DISCUSSION Jvalencia 2 participants 2 messages Oct 22, 2004 – Oct 23, 2004 netfilter

lore
Share & tools
lore

Jvalencia

author
#0 lore raw

Hi again, i'm trying to use 2 libipq programs to handle packets, but it looks like only one catching them. Is there any way to allow more than one program handle packets, like a chain?

packet -> INPUT chain -> QUEUE target -> program 1 -> program 2 -> INPUT chain next target.

Thanks.

#1 lore raw
Quoted 2 lines · Jvalencia

Hi again, i'm trying to use 2 libipq programs to handle packets, but it looks like only one catching them. Is there any way to allow more than one program handle packets, like a chain?

You then need to pass the packet data among your programs in userspace.

ip_queue only supports a single "client" at a time.

Regards
Henrik