- Overview
- Module Description - What the module does and why it is useful
- Setup - The basics of getting started with the conntrackd module
- Reference - Types reference and additional functionalities
- Hiera integration
- Contact
Module to manage Conntrackd configuration and runtime. All configuration can be driven via Hiera.
The conntracd module allows to automate the configuration and deployment of the conntrackd daemon.
The include the main class as follows:
include conntrackd
conntrackd
include conntrackd
Conntrackd options.
Path to the configuration directory. Defaults to /etc/conntrackd
.
Whether we should purge unmanaged resources under the conntrackd's configuration directory. Defaults to true
.
Path to the conntrackd configuration file. Defaults to $config_dir/conntrackd.conf
.
Whether we should manage conntrackd's configuration file or not. Defaults to true
.
Installation packages for conntrackd.
Defaults to:
conntrackd::packages:
"conntrackd": {}
Conntrackd service name. Defaults to conntrackd
.
Whether we should manage the service runtime or not. Defaults to true
.
Whether the resource is running or not. Valid values are running
, stopped
. Defaults to running
.
Whether the service is onboot enabled or not. Defaults to true
.
You should define your configuration in Hiera. See the example below.
conntrackd::opts:
"Sync":
"Mode FTFW":
"DisableExternalCache": false
"CommitTimeout": 1800
"PurgeTimeout": 5
"UDP":
"IPv4_address": "10.0.0.1"
"IPv4_Destination_Address": "10.0.0.2"
"Port": 3780
"Interface": "eth2"
"SndSocketBuffer": 1249280
"RcvSocketBuffer": 1249280
"Checksum": true
"General":
"Nice": -20
"HashSize": 32768
"HashLimit": 131072
"LogFile": true
"Syslog": true
"LockFile": "/var/lock/conntrack.lock"
"UNIX":
"Path": "/var/run/conntrackd.ctl"
"Backlog" 20
"NetlinkBufferSize": 2097152
"NetlinkBufferSizeMaxGrowth": 8388608
"Filter From Userspace":
"Protocol Accept":
- TCP
- UDP
- ICMP
"Address Ignore":
"IPv4_address":
- 127.0.0.1
Matteo Cerutti - [email protected]