From: Christian Theil <christiantheilhave@gmail.com>
To: netfilter-devel@lists.netfilter.org
Subject: Re: HElp with script execution!!
Date: Wed, 27 Jul 2005 12:05:06 +0000 [thread overview]
Message-ID: <33d4ee9405072705052bba8705@mail.gmail.com> (raw)
In-Reply-To: <9927912d05072704113d7e8707@mail.gmail.com>
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 <vishamr2000@gmail.com> wrote:
> Hi to all,
>
> 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?
>
> Thx in advance..
>
> Warm regards,
> Visham
>
>
next prev parent reply other threads:[~2005-07-27 12:05 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-27 11:11 HElp with script execution!! Visham Ramsurrun
2005-07-27 12:05 ` Christian Theil [this message]
2005-07-28 10:53 ` Bug Report: IPtables 1.2.* segfaulted by iptables 1.3.* Robert de Bath
2005-07-29 10:58 ` Harald Welte
2005-07-30 7:12 ` Bug Report: IPtables 1.2.* segfaulted by iptables 1.3.* [PATCH] Robert de Bath
2005-07-31 6:48 ` Harald Welte
2005-08-01 7:19 ` Bug Report: IPtables 1.2.* segfaulted by iptables 1.3.* Jan Engelhardt
2005-08-01 20:02 ` Harald Welte
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=33d4ee9405072705052bba8705@mail.gmail.com \
--to=christiantheilhave@gmail.com \
--cc=netfilter-devel@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.