Skip to contentSkip to conversation

ip_queue question

DISCUSSION Ahmad Almulhem 2 participants 2 messages Feb 20, 2004 – Feb 22, 2004 netfilter

lore
Share & tools
lore
#0 lore raw

Hi all,

I am trying to run 2 program to use ip_queue module at the same time.

I basically start the first program and it runs fine receiving packets correctly. I then run the second program, which prints the following error:

"Received error message 16"

and keeps running without receiving any packets!

The two programs that I am running are snort inline and my code based on the sample which comes with libipq(3). Both programs runs fine when run alone. I only get this problem when I try to run them together.

My question: does libipq module support more than one program at one time? is there any options I should set when modprobe ip_queue?

thank u for ur help,

ahamd

__________________________________
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools

#1 lore raw
Quoted 2 lines · Ahmad Almulhem

I am trying to run 2 program to
use ip_queue module at the same time.

There can only be one program accepting ip_queue packets at a time. This since there is no way for the kernel to indicate which of the two should get the packet or be allowed to set the verdict so it is limited to one program.

Quoted 1 line

"Received error message 16"

EBUSY 16 /* Device or resource busy */

If you have a different opinion on how ip_queue should operate to support more than one queue handler then please elaborate on how you think this should work.

Regards
Henrik