Forge Home

conntrackd

Manage Conntrackd, a netfilter connection tracking userspace daemon

6,443 downloads

5,861 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.

Support the Puppet Community by contributing to this module

You are welcome to contribute to this module by suggesting new features, currency updates, or fixes. Every contribution is valuable to help ensure that the module remains compatible with the latest Puppet versions and continues to meet community needs. Complete the following steps:

  1. Review the module’s contribution guidelines and any licenses. Ensure that your planned contribution aligns with the author’s standards and any legal requirements.
  2. Fork the repository on GitHub, make changes on a branch of your fork, and submit a pull request. The pull request must clearly document your proposed change.

For questions about updating the module, contact the module’s author.

Version information

  • 0.0.6 (latest)
  • 0.0.5 (deleted)
  • 0.0.4
  • 0.0.3
  • 0.0.2
  • 0.0.1
released Aug 14th 2017
This version is compatible with:
  • Puppet Enterprise 2018.1.x, 2017.3.x, 2017.2.x, 2016.4.x
  • Puppet >= 4.10.0 < 6.0.0
  • ,

Start using this module

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

Add this module to your Puppetfile:

mod 'm4ce-conntrackd', '0.0.6'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add m4ce-conntrackd
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install m4ce-conntrackd --version 0.0.6

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
Tags: conntrackd

Documentation

m4ce/conntrackd — version 0.0.6 Aug 14th 2017

Puppet module for Conntrackd

Table of Contents

  1. Overview
  2. Module Description - What the module does and why it is useful
  3. Setup - The basics of getting started with the conntrackd module
  4. Reference - Types reference and additional functionalities
  5. Hiera integration
  6. Contact

Overview

Module to manage Conntrackd configuration and runtime. All configuration can be driven via Hiera.

Module Description

The conntracd module allows to automate the configuration and deployment of the conntrackd daemon.

Setup

The include the main class as follows:

include conntrackd

Reference

Classes

conntrackd

conntrackd

include conntrackd
opts (optional)

Conntrackd options.

config_dir (optional)

Path to the configuration directory. Defaults to /etc/conntrackd.

config_dir_purge (optional)

Whether we should purge unmanaged resources under the conntrackd's configuration directory. Defaults to true.

config_file (optional)

Path to the conntrackd configuration file. Defaults to $config_dir/conntrackd.conf.

config_file_manage (optional)

Whether we should manage conntrackd's configuration file or not. Defaults to true.

packages (optional)

Installation packages for conntrackd.

Defaults to:

conntrackd::packages:
  "conntrackd": {}
service_name (optional)

Conntrackd service name. Defaults to conntrackd.

service_manage (optional)

Whether we should manage the service runtime or not. Defaults to true.

service_ensure (optional)

Whether the resource is running or not. Valid values are running, stopped. Defaults to running.

service_enable (optional)

Whether the service is onboot enabled or not. Defaults to true.

Hiera integration

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

Contact

Matteo Cerutti - matteo.cerutti@hotmail.co.uk