From: Katia Sarsempagieva Subject: iptables-dev Source Example Date: Mon, 08 Oct 2012 16:36:56 +0300 Message-ID: <5072D6F8.2010707@iit.demokritos.gr> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit To: netfilter-devel@vger.kernel.org Return-path: Received: from zeus.iit.demokritos.gr ([143.233.226.2]:60336 "EHLO zeus.iit.demokritos.gr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751564Ab2JHNk0 (ORCPT ); Mon, 8 Oct 2012 09:40:26 -0400 Received: from localhost (localhost [127.0.0.1]) by zeus.iit.demokritos.gr (Postfix) with ESMTP id D42AC93C36 for ; Mon, 8 Oct 2012 16:40:24 +0300 (EEST) Received: from zeus.iit.demokritos.gr ([127.0.0.1]) by localhost (zeus.iit.demokritos.gr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2PdrqNHNraGV for ; Mon, 8 Oct 2012 16:40:22 +0300 (EEST) Received: from [10.143.0.197] (telcom-143-233-227-120.iit.demokritos.gr [143.233.227.120]) by zeus.iit.demokritos.gr (Postfix) with ESMTPA id AE4B493C32 for ; Mon, 8 Oct 2012 16:40:22 +0300 (EEST) Sender: netfilter-devel-owner@vger.kernel.org List-ID: 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..? Thank you very much, in advance