All of lore.kernel.org
 help / color / mirror / Atom feed
From: pablo neira <pablo@eurodev.net>
To: netfilter-devel@lists.netfilter.org
Subject: sending event to user space
Date: Wed, 03 Dec 2003 15:23:39 +0100	[thread overview]
Message-ID: <3FCDF1EB.1070803@eurodev.net> (raw)

Hi list!

I programmed a dummy module for netfilter which tries to match a packet 
and if it does, it will do nothing (NF_ACCEPT) but I would want it to 
send an event to a program in user space to do something, how can I do that?

So something like:

a) packet gets my hook and do NF_ACCEPT.
b) modules sends an event to user space.
c) program in user space does something.

Thanks!
Pablo

P.S: thanks for this great piece of code!!

             reply	other threads:[~2003-12-03 14:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-03 14:23 pablo neira [this message]
2003-12-04 11:49 ` sending event to user space 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=3FCDF1EB.1070803@eurodev.net \
    --to=pablo@eurodev.net \
    --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.