Skip to contentSkip to conversation

What is the GPRINT output plugin for?

DISCUSSION Vladimir Nikishkin 2 participants 2 messages Nov 30, 2021 – Jan 4, 2022

lore
Share & tools
lore
#0 lore raw

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
```

And the log file was empty.

I haven't found any other documentation for GPRINT. What is it and what is it for?

Signature · 3 lines
Your sincerely,
Vladimir Nikishkin (MiEr, lockywolf)
(Laptop)
#1 lore raw
Quoted 7 lines · Vladimir Nikishkin

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.

Quoted 7 lines

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/[email protected]/

Quoted 5 lines

```
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.