Hi, Le jeudi 28 décembre 2006 à 18:39 +0100, Pablo Neira Ayuso a écrit : > Eric Leblond wrote: > > I'm currently working on NuFW where I try to do iface conversion from > > integer to string to be able to filter "naturally" on interfaces. > Interesting question. Since this is related with the rtnetlink > subsystem, I'm unsure that this feature naturally belongs to > libnfnetlink nor to libnetfilter_queue. I agree that this does not seem to be the correct place. > However, IMO libnetfilter_queue should provide enough features to let > userspace apps implement filtering without requiring extra dependencies. > BTW, what are the benefits of dumping the index instead of the interface > name in this particular case? This is interesting ! I've looked at kernel code and the information was easy to add. I attach a small patch against kernel. It will add 4*IFNAMSIZ = 64 octets to each nfnetlink_queue message but this is not impressive as a part of the packet payload is usually sent. BR, -- Eric Leblond INL