All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Alexandru Gheorghe <alghe.global@gmail.com>
Cc: netfilter@vger.kernel.org
Subject: Re: LKM with hook that catches iptables hits
Date: Wed, 25 Jun 2014 14:03:14 +0200	[thread overview]
Message-ID: <20140625120314.GA8655@localhost> (raw)
In-Reply-To: <53AA7C40.2010707@gmail.com>

On Wed, Jun 25, 2014 at 10:37:36AM +0300, Alexandru Gheorghe wrote:
> Hi guys. I am trying to think of an LKM which could have a general hook
> in the sense that whatever iptables defines from user space this hook
> will catch when a rule is hit (every rule) and will log it (KERN_INFO).

That sounds like the rule tracing feature (see the TRACE target).

      reply	other threads:[~2014-06-25 12:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-25  7:37 LKM with hook that catches iptables hits Alexandru Gheorghe
2014-06-25 12:03 ` Pablo Neira Ayuso [this message]

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=20140625120314.GA8655@localhost \
    --to=pablo@netfilter.org \
    --cc=alghe.global@gmail.com \
    --cc=netfilter@vger.kernel.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.