aabouzaid / ulog-formula

SaltStack formula to install and configure ulogd.

Home Page:http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ulog

Install and configure ulogd the userspace logging daemon for netfilter/iptables related logging.

Available states

ulog

Installs and configures ulogd service.

Configuration

You need to configure a stack inside sections to make the "stack" use it inside /etc/ulogd.conf.

For example, this will create a stack to log "iptables" connection tracking events.

ulog:

  sections:

    iptables:

      stack:
        - "base1:BASE"
        - "ifi1:IFINDEX"
        - "ip2str1:IP2STR"
        - "print1:PRINTPKT"

      config:
        input01:
          plugin: NFLOG
          vars:
            group: 30

        output01:
          plugin: LOGEMU
          vars:
            file: /var/log/iptables.log

About

SaltStack formula to install and configure ulogd.

http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html

License:Apache License 2.0


Languages

Language:HTML 49.9%Language:SaltStack 44.1%Language:Ruby 6.1%