Skip to content

wrapper of module fail2ban with some customization for IspConfig2 environment

Notifications You must be signed in to change notification settings

softecspa/puppet-ispconfig_fail2ban

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

puppet-ispconfig_fail2ban

wrapper of module fail2ban with some customization for IspConfig2 environment

####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 [Modulename]
  1. Usage - Configuration options and additional functionality

##Overview this module is a wrapper of puppet-fail2ban module. It configure fail2ban for a IspConfig2 environment

##Module Description Module add in default whitelist ip and network address taken from global variables. Also it add in same way a default mailto

##Setup include ispconfig_fail2ban

If you want to add IPs or network in whitelist, or another email address:

class {'ispconfig_fail2ban':
  mailto    => 'another@emailaddress.com',
  whitelist => [
    'x.x.x.x,
    'y.y.y.y/zz',
    'example.com',
  ]
}

###Setup Requirements

  • softecspa/puppet-fail2ban module

By default module uses this two global variables to set default whitelist and mailto:

  • $::subnet_softec_array
  • $::notifyemail

##Usage Actually only apache2 and ssh jails are managed by this module. By default both jails are enabled. If you want to disable one or more jails:

class {'ispconfig_fail2ban':
  apache2 => false,
}

About

wrapper of module fail2ban with some customization for IspConfig2 environment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages