Forge Home

ulogd

Manage user-space logging daemon

219 downloads

219 latest version

3.1 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 0.1.0 (latest)
released Sep 14th 2024
This version is compatible with:
  • Puppet Enterprise 2023.8.x, 2023.7.x, 2023.6.x, 2023.5.x, 2023.4.x, 2023.3.x, 2023.2.x, 2023.1.x, 2021.7.x
  • Puppet >= 7.24 < 9.0.0
  • , , , , , , ,

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'deric-ulogd', '0.1.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add deric-ulogd
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install deric-ulogd --version 0.1.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

deric/ulogd — version 0.1.0 Sep 14th 2024

puppet-ulogd

Puppet Forge Tests

ulogd is a userspace logging daemon into which you can feed netfilter data and have it log it in a flexible way, to multiple different formats and destinations.

Usage

include ulogd

Following config:

ulogd::config:
  global:
    stack: log2:NFLOG,base1:BASE,ifi1:IFINDEX,ip2str1:IP2STR,print1:PRINTPKT,emu1:LOGEMU
  log2:
    group: 2
  emu1:
    file: /var/log/firewall.log
    sync: 1

can be used to log iptables rules with -j NFLOG --nflog-group 2

-A INPUT -m limit --limit 1/s -p icmp -j NFLOG --nflog-group 2 --nflog-prefix "ICMP:"

nflog-group number needs to match log group in ulogd config.

Load only selected plugins:

ulogd::plugins:
  - ulogd_inppkt_NFLOG.so
  - ulogd_output_LOGEMU.so