On Mon, Oct 08, 2012 at 04:36:56PM +0300, Katia Sarsempagieva wrote: > Hello everyone! > > I'm totally new to the iptables development sphere, so I would like > to kindly request for a favor... > > I have installed the iptables-dev package on my Debian Linux machine. > What I want to do is to write my very own program using the iptables > library to query the interface information > of various machines (queues, lost packets, total packets etc). > > But no matter how much I've tried to find a single tutorial or a > source code sample (with the compiler command, of cource) > I failed. > So, can any of you please help me out? Maybe give me a tip on where > to search or pass me a link to a tutorial page > or anything that could contain a program sample and compilation > instructions..? I don't think you'll find much information. The library that iptables provides is mostly internal. We know of people that has been tinkering with it in their projects, but the API has not been stable along years and it is not documented. I expect to solve this situation soon. I'm afraid that the only reference you have is the source code by now. Good luck. -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html