All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Vladimir Nikishkin <lockywolf@gmail.com>
Cc: netfilter@vger.kernel.org
Subject: Re: What is the GPRINT output plugin for?
Date: Tue, 4 Jan 2022 12:24:57 +0100	[thread overview]
Message-ID: <YdQuiVS9DyNtMsCa@salvia> (raw)
In-Reply-To: <87y256gyti.fsf@laptop.lockywolf.net>

On Tue, Nov 30, 2021 at 10:30:17AM +0800, Vladimir Nikishkin wrote:
> Dear Netfilter users,
> 
> I have been recently trying to find out how to efficiently log
> suspicious packets passing through my firewall. While perusing ulogd2
> examples, as well as netfilter mailing list, I found about the existence
> of the GPRINT output plugin.
> 
> However, the basic stack suggested in ulogd.conf:
> ```
> stack=log4:NFLOG,gp1:GPRINT
> ```
> did not really work for me, ulogd was complaining about
> ```
> ulogd.c:854 type mismatch between GPRINT and NFLOG in stack

This is a bug:

https://patchwork.ozlabs.org/project/netfilter-devel/patch/20220104112056.4034-1-pablo@netfilter.org/

> ```
> And the log file was empty.
> 
> I haven't found any other documentation for GPRINT.
> What is it and what is it for?

Yet another output plugin which displays every field brought to you bu
the input plugin feeder.

      reply	other threads:[~2022-01-04 11:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-30  2:30 What is the GPRINT output plugin for? Vladimir Nikishkin
2022-01-04 11:24 ` 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=YdQuiVS9DyNtMsCa@salvia \
    --to=pablo@netfilter.org \
    --cc=lockywolf@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.