Distinct QUEUE targets

Emmanuel Lety Emmanuel.Lety@UDcast.com
Wed, 17 Oct 2001 17:53:01 +0200


Hi all,

Is it possible to create "several distinct QUEUEs" using iptables ?

Reasons for that would be to have several processes running at userland, 
each of them reading a specific kind of traffic (as defined in the QUEUE rules).

Exemples of what I would like to do :

iptables -A OUTPUT -p icmp -j QUEUE -q 1 
iptables -A INPUT -p icmp -j QUEUE -q 2

In P1.c :

ipq_create_handle(1);  
=> return an handle for the Netlink socket associated with QUEUE1

In P2.c :

ipq_create_handle(2);
=> return an handle for the Netlink socket associated with QUEUE2

Is there a way to do somethink "like this" so that a single process does not receive all
the traffic matching the different QUEUE target rules ? 

Is it something which will/could be available in future release and is anybody already
working on that ?

Thanks,

Emmanuel.

-- 
UDcast: Full IP over Broadcast Media

Tel:    (+33) (0)4 93 00 16 69
Fax:    (+33) (0)4 93 00 16 61                  http://www.UDcast.com