Puppet Class: cis_security_hardening::rules::tftp_client

Defined in:
manifests/rules/tftp_client.pp

Summary

Ensure TFTP client is not installed

Overview

Trivial File Transfer Protocol (TFTP) is a simple protocol for ex changing files between two TCP/IP machines. TFTP servers allow connections from a TFTP Client for sending and receiving files.

Rationale: TFTP does not have built-in encryption, access control or authentication. This makes it very easy for an attacker to exploit TFTP to gain access to files.

Examples:

class { 'cis_security_hardening::rules::tftp_client':
  enforce => true,
}

Parameters:

  • enforce (Boolean) (defaults to: false)

    Enforce the rule.



20
21
22
23
24
25
26
27
28
# File 'manifests/rules/tftp_client.pp', line 20

class cis_security_hardening::rules::tftp_client (
  Boolean $enforce = false,
) {
  if $enforce {
    ensure_packages(['tftp'], {
        ensure => absent,
    })
  }
}