QUEUE question

James Morris jmorris@intercode.com.au
Fri, 28 Apr 2000 17:56:00 +1000 (EST)


On Fri, 28 Apr 2000, Maliosz Markosz wrote:
> Hi,
> 
> > Set CONFIG_DEVFS_FS=y and add "devfs=mount" to your boot options.
> > Be sure to read:
> > http://www.atnf.csiro.au/~rgooch/linux/docs/devfs.html
> 
> I made all the things working with devfs.
> But what is the name of the device, which I can use for iptables QUEUEing???
> And where is it?
> I still have not found any device with major nr 36.

While technically possible, using the netlink character device with 
ip_queue is not recommended.  Instead, you should normally use the native
netlink sockets interface via libipq (please look at intercept.c in the
testsuite as an example).

Updates to the userspace queuing API and documentation are being worked
on, although I'm not sure where this would fit best with the current 
iptables distribution.

Rusty & Marc, what do you think of the idea of creating a separate package
for the userspace queuing components?  This would contain the library,
headers, docs and sample apps.  Down the track, this may also be home to
more substantial extensions such as language bindings.

One requirement would be that a stable version of the library is always
available for the testsuite, although this should not be difficult (any
currently working version of the library should continue to work unless
the kernel code changes significantly, and there are no existing plans 
for that).

I am volunteering to maintain this if needed.


- James
--
James Morris
<jmorris@intercode.com.au>