From: Pablo Neira Ayuso <pablo@netfilter.org>
To: AFT <aftnix@gmail.com>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: Netfilter Debugging tips
Date: Sat, 16 Jun 2012 11:55:59 +0200 [thread overview]
Message-ID: <20120616095559.GA18022@1984> (raw)
In-Reply-To: <aa04pt0d.fsf@s1.test.com>
On Fri, Jun 15, 2012 at 08:08:34PM +0600, AFT wrote:
>
> Hi,
>
> I have a working kernel dev setup with KGDB/KDB. Now as i'm going to
> develop a netfilte module, i need a good strategy to debug netfilter
> modules. During configuring the kernel i've bumped into a kernel config
> like following :
>
> CONFIG_NETFILTER_DEBUG
>
> But i've found no documentaion describing what actually this
> configuration will enable me to do.
>
> So anything regarding this config variable or any other general
> debugging strategy will be helpfull.
With this, the kernel will print debugging information on what the
Netfilter core infrastructure is doing. It also includes some
debugging messages from x_tables instances, ie. ebtables, arp_tables,
and so on.
It's been ages since I haven't used this for any useful purpose
(rather than making sure the kernel compilation does not break with it
enabled).
prev parent reply other threads:[~2012-06-16 9:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-15 14:08 Netfilter Debugging tips AFT
2012-06-16 9:55 ` 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=20120616095559.GA18022@1984 \
--to=pablo@netfilter.org \
--cc=aftnix@gmail.com \
--cc=netfilter-devel@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.