From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Theil Subject: Re: HElp with script execution!! Date: Wed, 27 Jul 2005 12:05:06 +0000 Message-ID: <33d4ee9405072705052bba8705@mail.gmail.com> References: <9927912d05072704113d7e8707@mail.gmail.com> Reply-To: Christian Theil Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: To: netfilter-devel@lists.netfilter.org In-Reply-To: <9927912d05072704113d7e8707@mail.gmail.com> Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-devel-bounces@lists.netfilter.org Errors-To: netfilter-devel-bounces@lists.netfilter.org List-Id: netfilter-devel.vger.kernel.org You can definitely do this with the QUEUE target. You're going to need (to write) a userspace application that retrieves the packets using libipq. See "man libipq" for an example on how to do this. Regards, Christian Theil Have. On 7/27/05, Visham Ramsurrun wrote: > Hi to all, >=20 > I wanted to ask if it is possible to get a signal (i don't know from > where, maybe a function in the kernel or from the NIC) just before > every packet is sent out the NIC. The signal then causes a script to > execute. I basically want to execute a script on a per-packet basis. > But I don't know how to go about it. I thought about the QUEUE target > but i'm not sure. What things I should be looking at? >=20 > Thx in advance.. >=20 > Warm regards, > Visham >=20 >