Merge branch 'master' of sourcecode.confdroid.com:12ww1160/cd_fail2ban into HEAD
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>
|
||||
Documentation by YARD 0.9.9
|
||||
Documentation by YARD 0.9.16
|
||||
|
||||
</title>
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
|
||||
<div id="content"><h1 class="noborder title">Documentation by YARD 0.9.9</h1>
|
||||
<div id="content"><h1 class="noborder title">Documentation by YARD 0.9.16</h1>
|
||||
<div id="listing">
|
||||
<h1 class="alphaindex">Alphabetic Index</h1>
|
||||
|
||||
@@ -115,6 +115,8 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2>File Listing</h2>
|
||||
<ul id="files" class="index_inline_list">
|
||||
|
||||
@@ -132,9 +134,7 @@
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Mon Oct 9 17:39:06 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -245,6 +245,7 @@ ul.toplevel { list-style: none; padding-left: 0; font-size: 1.1em; }
|
||||
|
||||
dl.constants { margin-left: 10px; }
|
||||
dl.constants dt { font-weight: bold; font-size: 1.1em; margin-bottom: 5px; }
|
||||
dl.constants.compact dt { display: inline-block; font-weight: normal }
|
||||
dl.constants dd { width: 75%; white-space: pre; font-family: monospace; margin-bottom: 18px; }
|
||||
dl.constants .docstring .note:first-child { margin-top: 5px; }
|
||||
|
||||
@@ -326,13 +327,9 @@ ul.summary a, ul.summary a:visited {
|
||||
text-decoration: none; font-size: 1.1em;
|
||||
}
|
||||
ul.summary li { margin-bottom: 5px; }
|
||||
.summary .summary_signature {
|
||||
padding: 4px 8px;
|
||||
background: #f8f8f8;
|
||||
border: 1px solid #f0f0f0;
|
||||
border-radius: 5px;
|
||||
}
|
||||
.summary_signature { padding: 4px 8px; background: #f8f8f8; border: 1px solid #f0f0f0; border-radius: 5px; }
|
||||
.summary_signature:hover { background: #CFEBFF; border-color: #A4CCDA; cursor: pointer; }
|
||||
.summary_signature.deprecated { background: #ffe5e5; border-color: #e9dada; }
|
||||
ul.summary.compact li { display: inline-block; margin: 0px 5px 0px 0px; line-height: 2.6em;}
|
||||
ul.summary.compact .summary_signature { padding: 5px 7px; padding-right: 4px; }
|
||||
#content .summary_signature:hover a,
|
||||
@@ -484,6 +481,13 @@ pre.code .rubyid_backref,
|
||||
pre.code .rubyid_nth_ref { color: #6D79DE; }
|
||||
pre.code .regexp, .dregexp { color: #036A07; }
|
||||
pre.code a { border-bottom: 1px dotted #bbf; }
|
||||
/* inline code */
|
||||
*:not(pre) > code {
|
||||
padding: 1px 3px 1px 3px;
|
||||
border: 1px solid #E1E1E8;
|
||||
background: #F7F7F9;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
/* Color fix for links */
|
||||
#content .summary_desc pre.code .id > .object_link a, /* identifier */
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
File: README
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.16
|
||||
|
||||
</title>
|
||||
|
||||
@@ -58,12 +58,8 @@
|
||||
</div>
|
||||
|
||||
<div id="content"><div id='filecontents'>
|
||||
<p>|Repo Name| version | Build
|
||||
Status|
|
||||
|---|---|---|---|
|
||||
|<code>cd_fail2ban</code>| 0.0.0.9 | <a
|
||||
href="https://jenkins.confdroid.com/buildStatus/icon?job=cd_fail2ban">{Build
|
||||
Status</a>/]|</p>
|
||||
<p><a href="https://pipelines.confdroid.com/job/cd_fail2ban/"><img
|
||||
src="https://pipelines.confdroid.com/buildStatus/icon?job=cd_fail2ban"></a></p>
|
||||
|
||||
<h3 id="label-Synopsis">Synopsis</h3>
|
||||
|
||||
@@ -85,57 +81,50 @@ production!!! __**</code></p>
|
||||
|
||||
<h3 id="label-Table+of+Contents">Table of Contents</h3>
|
||||
<ul><li>
|
||||
<p><a href="#features">Features</a></p>
|
||||
<p><a href="#label-Features">Features</a></p>
|
||||
</li><li>
|
||||
<p><a
|
||||
href="https://gitlab.puppetsoft.com/12WW1160/cd_fail2ban/blob/master/REPOSTRUCTURE.md">Repo
|
||||
href="https://sourcecode.confdroid.com/12WW1160/cd_fail2ban/blob/master/REPOSTRUCTURE.md">Repo
|
||||
Structure</a></p>
|
||||
</li><li>
|
||||
<p><a href="#repo-documentation"> Repo Documentation</a></p>
|
||||
<p><a href="#label-Repo+documentation"> Repo Documentation</a></p>
|
||||
</li><li>
|
||||
<p><a href="#dependencies">Dependencies</a></p>
|
||||
<p><a href="#label-Dependencies">Dependencies</a></p>
|
||||
</li><li>
|
||||
<p><a href="#deployment">Deployment</a></p>
|
||||
<p><a href="#label-Deployment">Deployment</a></p>
|
||||
</li><li>
|
||||
<p><a href="#native-puppet-deployment">native Puppet deployment</a></p>
|
||||
<p><a href="#label-Native+puppet+deployment">native Puppet deployment</a></p>
|
||||
</li><li>
|
||||
<p><a href="#through-foreman">through Foreman</a></p>
|
||||
<p><a href="#label-Through+foreman">through Foreman</a></p>
|
||||
</li><li>
|
||||
<p><a href="#parameters">Parameters</a></p>
|
||||
<p><a href="#label-Parameters">Parameters</a></p>
|
||||
</li><li>
|
||||
<p><a href="#mandatory-parameters">Mandatory Parameters</a></p>
|
||||
<p><a href="#label-Mandatory+parameters">Mandatory Parameters</a></p>
|
||||
</li><li>
|
||||
<p><a href="#optional-parameters">Optional Parameters</a></p>
|
||||
<p><a href="#label-Optional+parameters">Optional Parameters</a></p>
|
||||
</li><li>
|
||||
<p><a href="#selinux">SELINUX</a></p>
|
||||
<p><a href="#label-Selinux">SELINUX</a></p>
|
||||
</li><li>
|
||||
<p><a href="#known-problems">Known Problems</a></p>
|
||||
<p><a href="#label-Known+problems">Known Problems</a></p>
|
||||
</li><li>
|
||||
<p><a href="#support">Support</a></p>
|
||||
<p><a href="#label-Support">Support</a></p>
|
||||
</li><li>
|
||||
<p><a href="#tests">Tests</a></p>
|
||||
</li><li>
|
||||
<p><a
|
||||
href="https://gitlab.puppetsoft.com/12WW1160/cd_fail2ban/blob/master/CHANGELOG.md">Changelog</a></p>
|
||||
<p><a href="#label-Tests">Tests</a></p>
|
||||
</li><li>
|
||||
<p><a href="https://confdroid.com/contact/">Contact Us</a></p>
|
||||
</li><li>
|
||||
<p><a href="#disclaimer">Disclaimer</a></p>
|
||||
<p><a href="#label-Disclaimer">Disclaimer</a></p>
|
||||
</li></ul>
|
||||
|
||||
<h3 id="label-Features">Features</h3>
|
||||
|
||||
<p>Installation
|
||||
* install required binaries</p>
|
||||
<p>Installation * install required binaries</p>
|
||||
|
||||
<p>Configuration
|
||||
* manage directory structure (file system permissions,
|
||||
selinux context)
|
||||
* manage configration files (file system permissions,
|
||||
<p>Configuration * manage directory structure (file system permissions,
|
||||
selinux context) * manage configration files (file system permissions,
|
||||
selinux context, content based on parameters)</p>
|
||||
|
||||
<p>Service
|
||||
* manage service status (running or stopped)</p>
|
||||
<p>Service * manage service status (running or stopped)</p>
|
||||
|
||||
<h3 id="label-Repo+Structure">Repo Structure</h3>
|
||||
|
||||
@@ -159,7 +148,7 @@ selinux context, content based on parameters)</p>
|
||||
include cd_puppetdb
|
||||
}</code></pre>
|
||||
|
||||
<h4 id="label-through+Foreman%3A">through Foreman:</h4>
|
||||
<h4 id="label-through+Foreman-3A">through Foreman:</h4>
|
||||
|
||||
<p>In order to apply parameters through Foreman,
|
||||
<strong>cd_fail2ban::params</strong> must be added to the host or hostgroup
|
||||
@@ -200,9 +189,9 @@ by yum.</p>
|
||||
|
||||
<h3 id="label-Support">Support</h3>
|
||||
<ul><li>
|
||||
<p>OS: CentOS 6, 7</p>
|
||||
<p>OS: CentOS 7</p>
|
||||
</li><li>
|
||||
<p>Puppet 3.x</p>
|
||||
<p>Puppet 5.x</p>
|
||||
</li></ul>
|
||||
|
||||
<h3 id="label-Tests">Tests</h3>
|
||||
@@ -243,17 +232,14 @@ with PuppetDB (see tests/UTF_Files)</p>
|
||||
|
||||
<p>ConfDroid as entity is entirely independent from Puppet. We provide custom
|
||||
configuration modules, written for specific purposes and specific
|
||||
environments.
|
||||
The modules are tested and supported only as documented, and
|
||||
environments. The modules are tested and supported only as documented, and
|
||||
require testing in designated environments (i.e. lab or development
|
||||
environments) for parameter tuning etc. before deploying into production
|
||||
environments.</p>
|
||||
</div></div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Mon Oct 9 17:39:07 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Documentation by YARD 0.9.9</title>
|
||||
<title>Documentation by YARD 0.9.16</title>
|
||||
</head>
|
||||
<script type="text/javascript" charset="utf-8">
|
||||
var match = unescape(window.location.hash).match(/^#!(.+)/);
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
File: README
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.16
|
||||
|
||||
</title>
|
||||
|
||||
@@ -58,12 +58,8 @@
|
||||
</div>
|
||||
|
||||
<div id="content"><div id='filecontents'>
|
||||
<p>|Repo Name| version | Build
|
||||
Status|
|
||||
|---|---|---|---|
|
||||
|<code>cd_fail2ban</code>| 0.0.0.9 | <a
|
||||
href="https://jenkins.confdroid.com/buildStatus/icon?job=cd_fail2ban">{Build
|
||||
Status</a>/]|</p>
|
||||
<p><a href="https://pipelines.confdroid.com/job/cd_fail2ban/"><img
|
||||
src="https://pipelines.confdroid.com/buildStatus/icon?job=cd_fail2ban"></a></p>
|
||||
|
||||
<h3 id="label-Synopsis">Synopsis</h3>
|
||||
|
||||
@@ -85,57 +81,50 @@ production!!! __**</code></p>
|
||||
|
||||
<h3 id="label-Table+of+Contents">Table of Contents</h3>
|
||||
<ul><li>
|
||||
<p><a href="#features">Features</a></p>
|
||||
<p><a href="#label-Features">Features</a></p>
|
||||
</li><li>
|
||||
<p><a
|
||||
href="https://gitlab.puppetsoft.com/12WW1160/cd_fail2ban/blob/master/REPOSTRUCTURE.md">Repo
|
||||
href="https://sourcecode.confdroid.com/12WW1160/cd_fail2ban/blob/master/REPOSTRUCTURE.md">Repo
|
||||
Structure</a></p>
|
||||
</li><li>
|
||||
<p><a href="#repo-documentation"> Repo Documentation</a></p>
|
||||
<p><a href="#label-Repo+documentation"> Repo Documentation</a></p>
|
||||
</li><li>
|
||||
<p><a href="#dependencies">Dependencies</a></p>
|
||||
<p><a href="#label-Dependencies">Dependencies</a></p>
|
||||
</li><li>
|
||||
<p><a href="#deployment">Deployment</a></p>
|
||||
<p><a href="#label-Deployment">Deployment</a></p>
|
||||
</li><li>
|
||||
<p><a href="#native-puppet-deployment">native Puppet deployment</a></p>
|
||||
<p><a href="#label-Native+puppet+deployment">native Puppet deployment</a></p>
|
||||
</li><li>
|
||||
<p><a href="#through-foreman">through Foreman</a></p>
|
||||
<p><a href="#label-Through+foreman">through Foreman</a></p>
|
||||
</li><li>
|
||||
<p><a href="#parameters">Parameters</a></p>
|
||||
<p><a href="#label-Parameters">Parameters</a></p>
|
||||
</li><li>
|
||||
<p><a href="#mandatory-parameters">Mandatory Parameters</a></p>
|
||||
<p><a href="#label-Mandatory+parameters">Mandatory Parameters</a></p>
|
||||
</li><li>
|
||||
<p><a href="#optional-parameters">Optional Parameters</a></p>
|
||||
<p><a href="#label-Optional+parameters">Optional Parameters</a></p>
|
||||
</li><li>
|
||||
<p><a href="#selinux">SELINUX</a></p>
|
||||
<p><a href="#label-Selinux">SELINUX</a></p>
|
||||
</li><li>
|
||||
<p><a href="#known-problems">Known Problems</a></p>
|
||||
<p><a href="#label-Known+problems">Known Problems</a></p>
|
||||
</li><li>
|
||||
<p><a href="#support">Support</a></p>
|
||||
<p><a href="#label-Support">Support</a></p>
|
||||
</li><li>
|
||||
<p><a href="#tests">Tests</a></p>
|
||||
</li><li>
|
||||
<p><a
|
||||
href="https://gitlab.puppetsoft.com/12WW1160/cd_fail2ban/blob/master/CHANGELOG.md">Changelog</a></p>
|
||||
<p><a href="#label-Tests">Tests</a></p>
|
||||
</li><li>
|
||||
<p><a href="https://confdroid.com/contact/">Contact Us</a></p>
|
||||
</li><li>
|
||||
<p><a href="#disclaimer">Disclaimer</a></p>
|
||||
<p><a href="#label-Disclaimer">Disclaimer</a></p>
|
||||
</li></ul>
|
||||
|
||||
<h3 id="label-Features">Features</h3>
|
||||
|
||||
<p>Installation
|
||||
* install required binaries</p>
|
||||
<p>Installation * install required binaries</p>
|
||||
|
||||
<p>Configuration
|
||||
* manage directory structure (file system permissions,
|
||||
selinux context)
|
||||
* manage configration files (file system permissions,
|
||||
<p>Configuration * manage directory structure (file system permissions,
|
||||
selinux context) * manage configration files (file system permissions,
|
||||
selinux context, content based on parameters)</p>
|
||||
|
||||
<p>Service
|
||||
* manage service status (running or stopped)</p>
|
||||
<p>Service * manage service status (running or stopped)</p>
|
||||
|
||||
<h3 id="label-Repo+Structure">Repo Structure</h3>
|
||||
|
||||
@@ -159,7 +148,7 @@ selinux context, content based on parameters)</p>
|
||||
include cd_puppetdb
|
||||
}</code></pre>
|
||||
|
||||
<h4 id="label-through+Foreman%3A">through Foreman:</h4>
|
||||
<h4 id="label-through+Foreman-3A">through Foreman:</h4>
|
||||
|
||||
<p>In order to apply parameters through Foreman,
|
||||
<strong>cd_fail2ban::params</strong> must be added to the host or hostgroup
|
||||
@@ -200,9 +189,9 @@ by yum.</p>
|
||||
|
||||
<h3 id="label-Support">Support</h3>
|
||||
<ul><li>
|
||||
<p>OS: CentOS 6, 7</p>
|
||||
<p>OS: CentOS 7</p>
|
||||
</li><li>
|
||||
<p>Puppet 3.x</p>
|
||||
<p>Puppet 5.x</p>
|
||||
</li></ul>
|
||||
|
||||
<h3 id="label-Tests">Tests</h3>
|
||||
@@ -243,17 +232,14 @@ with PuppetDB (see tests/UTF_Files)</p>
|
||||
|
||||
<p>ConfDroid as entity is entirely independent from Puppet. We provide custom
|
||||
configuration modules, written for specific purposes and specific
|
||||
environments.
|
||||
The modules are tested and supported only as documented, and
|
||||
environments. The modules are tested and supported only as documented, and
|
||||
require testing in designated environments (i.e. lab or development
|
||||
environments) for parameter tuning etc. before deploying into production
|
||||
environments.</p>
|
||||
</div></div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Mon Oct 9 17:39:06 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -120,6 +120,49 @@ function summaryToggle() {
|
||||
} else { localStorage.summaryCollapsed = "expand"; }
|
||||
}
|
||||
|
||||
function constantSummaryToggle() {
|
||||
$('.constants_summary_toggle').click(function(e) {
|
||||
e.preventDefault();
|
||||
localStorage.summaryCollapsed = $(this).text();
|
||||
$('.constants_summary_toggle').each(function() {
|
||||
$(this).text($(this).text() == "collapse" ? "expand" : "collapse");
|
||||
var next = $(this).parent().parent().nextAll('dl.constants').first();
|
||||
if (next.hasClass('compact')) {
|
||||
next.toggle();
|
||||
next.nextAll('dl.constants').first().toggle();
|
||||
}
|
||||
else if (next.hasClass('constants')) {
|
||||
var list = $('<dl class="constants compact" />');
|
||||
list.html(next.html());
|
||||
list.find('dt').each(function() {
|
||||
$(this).addClass('summary_signature');
|
||||
$(this).text( $(this).text().split('=')[0]);
|
||||
if ($(this).has(".deprecated").length) {
|
||||
$(this).addClass('deprecated');
|
||||
};
|
||||
});
|
||||
// Add the value of the constant as "Tooltip" to the summary object
|
||||
list.find('pre.code').each(function() {
|
||||
console.log($(this).parent());
|
||||
var dt_element = $(this).parent().prev();
|
||||
var tooltip = $(this).text();
|
||||
if (dt_element.hasClass("deprecated")) {
|
||||
tooltip = 'Deprecated. ' + tooltip;
|
||||
};
|
||||
dt_element.attr('title', tooltip);
|
||||
});
|
||||
list.find('.docstring, .tags, dd').remove();
|
||||
next.before(list);
|
||||
next.toggle();
|
||||
}
|
||||
});
|
||||
return false;
|
||||
});
|
||||
if (localStorage.summaryCollapsed == "collapse") {
|
||||
$('.constants_summary_toggle').first().click();
|
||||
} else { localStorage.summaryCollapsed = "expand"; }
|
||||
}
|
||||
|
||||
function generateTOC() {
|
||||
if ($('#filecontents').length === 0) return;
|
||||
var _toc = $('<ol class="top"></ol>');
|
||||
@@ -241,6 +284,7 @@ $(document).ready(function() {
|
||||
searchFrameButtons();
|
||||
linkSummaries();
|
||||
summaryToggle();
|
||||
constantSummaryToggle();
|
||||
generateTOC();
|
||||
mainFocus();
|
||||
});
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Puppet Class: cd_fail2ban
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.16
|
||||
|
||||
</title>
|
||||
|
||||
@@ -78,40 +78,29 @@
|
||||
<div class="docstring">
|
||||
<div class="discussion">
|
||||
|
||||
<p>cd_fail2ban::init.pp
|
||||
Module name: cd_fail2ban
|
||||
Author: Arne Teuke
|
||||
(arne_teuke@confdroid.com)
|
||||
License:
|
||||
This file is part of cd_fail2ban.</p>
|
||||
<p>cd_fail2ban::init.pp Module name: cd_fail2ban Author: Arne Teuke
|
||||
(arne_teuke@confdroid.com) License: This file is part of cd_fail2ban.</p>
|
||||
|
||||
<p>cd_fail2ban is used for providing automatic configuration of Fail2Ban
|
||||
|
||||
Copyright (C) 2017 confdroid (copyright@confdroid.com)
|
||||
This program is
|
||||
free software: you can redistribute it and/or modify
|
||||
it under the terms of
|
||||
the GNU General Public License as published by
|
||||
the Free Software
|
||||
Foundation, either version 3 of the License, or
|
||||
(at your option) any later
|
||||
<p>cd_fail2ban is used for providing automatic configuration of Fail2Ban
|
||||
Copyright (C) 2017 confdroid (copyright@confdroid.com) This program is
|
||||
free software: you can redistribute it and/or modify it under the terms of
|
||||
the GNU General Public License as published by the Free Software
|
||||
Foundation, either version 3 of the License, or (at your option) any later
|
||||
version.</p>
|
||||
|
||||
<p>This program is distributed in the hope that it will be useful,
|
||||
but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY
|
||||
or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License
|
||||
<p>This program is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
for more details.</p>
|
||||
|
||||
<p>You should have received a copy of the GNU General Public License
|
||||
along
|
||||
<p>You should have received a copy of the GNU General Public License along
|
||||
with this program. If not, see <a
|
||||
href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="tags">
|
||||
|
||||
|
||||
@@ -139,9 +128,7 @@ class cd_fail2ban {
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Mon Oct 9 17:39:07 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Puppet Class: cd_fail2ban::main::config
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.16
|
||||
|
||||
</title>
|
||||
|
||||
@@ -84,40 +84,29 @@ cd_fail2ban.
|
||||
<div class="docstring">
|
||||
<div class="discussion">
|
||||
|
||||
<p>cd_fail2ban::main::config.pp
|
||||
Module name: cd_fail2ban
|
||||
Author: Arne Teuke
|
||||
(arne_teuke@confdroid.com)
|
||||
License:
|
||||
This file is part of cd_fail2ban.</p>
|
||||
<p>cd_fail2ban::main::config.pp Module name: cd_fail2ban Author: Arne Teuke
|
||||
(arne_teuke@confdroid.com) License: This file is part of cd_fail2ban.</p>
|
||||
|
||||
<p>cd_fail2ban is used for providing automatic configuration of Fail2Ban
|
||||
|
||||
Copyright (C) 2017 confdroid (copyright@confdroid.com)
|
||||
This program is
|
||||
free software: you can redistribute it and/or modify
|
||||
it under the terms of
|
||||
the GNU General Public License as published by
|
||||
the Free Software
|
||||
Foundation, either version 3 of the License, or
|
||||
(at your option) any later
|
||||
<p>cd_fail2ban is used for providing automatic configuration of Fail2Ban
|
||||
Copyright (C) 2017 confdroid (copyright@confdroid.com) This program is
|
||||
free software: you can redistribute it and/or modify it under the terms of
|
||||
the GNU General Public License as published by the Free Software
|
||||
Foundation, either version 3 of the License, or (at your option) any later
|
||||
version.</p>
|
||||
|
||||
<p>This program is distributed in the hope that it will be useful,
|
||||
but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY
|
||||
or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License
|
||||
<p>This program is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
for more details.</p>
|
||||
|
||||
<p>You should have received a copy of the GNU General Public License
|
||||
along
|
||||
<p>You should have received a copy of the GNU General Public License along
|
||||
with this program. If not, see <a
|
||||
href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="tags">
|
||||
|
||||
|
||||
@@ -153,9 +142,7 @@ class cd_fail2ban::main::config (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Mon Oct 9 17:39:08 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Puppet Class: cd_fail2ban::main::dirs
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.16
|
||||
|
||||
</title>
|
||||
|
||||
@@ -83,40 +83,29 @@
|
||||
<div class="docstring">
|
||||
<div class="discussion">
|
||||
|
||||
<p>cd_fail2ban::main::dirs.pp
|
||||
Module name: cd_fail2ban
|
||||
Author: Arne Teuke
|
||||
(arne_teuke@confdroid.com)
|
||||
License:
|
||||
This file is part of cd_fail2ban.</p>
|
||||
<p>cd_fail2ban::main::dirs.pp Module name: cd_fail2ban Author: Arne Teuke
|
||||
(arne_teuke@confdroid.com) License: This file is part of cd_fail2ban.</p>
|
||||
|
||||
<p>cd_fail2ban is used for providing automatic configuration of Fail2Ban
|
||||
|
||||
Copyright (C) 2017 confdroid (copyright@confdroid.com)
|
||||
This program is
|
||||
free software: you can redistribute it and/or modify
|
||||
it under the terms of
|
||||
the GNU General Public License as published by
|
||||
the Free Software
|
||||
Foundation, either version 3 of the License, or
|
||||
(at your option) any later
|
||||
<p>cd_fail2ban is used for providing automatic configuration of Fail2Ban
|
||||
Copyright (C) 2017 confdroid (copyright@confdroid.com) This program is
|
||||
free software: you can redistribute it and/or modify it under the terms of
|
||||
the GNU General Public License as published by the Free Software
|
||||
Foundation, either version 3 of the License, or (at your option) any later
|
||||
version.</p>
|
||||
|
||||
<p>This program is distributed in the hope that it will be useful,
|
||||
but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY
|
||||
or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License
|
||||
<p>This program is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
for more details.</p>
|
||||
|
||||
<p>You should have received a copy of the GNU General Public License
|
||||
along
|
||||
<p>You should have received a copy of the GNU General Public License along
|
||||
with this program. If not, see <a
|
||||
href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="tags">
|
||||
|
||||
|
||||
@@ -350,9 +339,7 @@ class cd_fail2ban::main::dirs (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Mon Oct 9 17:39:08 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Puppet Class: cd_fail2ban::main::files
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.16
|
||||
|
||||
</title>
|
||||
|
||||
@@ -83,40 +83,29 @@
|
||||
<div class="docstring">
|
||||
<div class="discussion">
|
||||
|
||||
<p>cd_fail2ban::main::files.pp
|
||||
Module name: cd_fail2ban
|
||||
Author: Arne Teuke
|
||||
(arne_teuke@confdroid.com)
|
||||
License:
|
||||
This file is part of cd_fail2ban.</p>
|
||||
<p>cd_fail2ban::main::files.pp Module name: cd_fail2ban Author: Arne Teuke
|
||||
(arne_teuke@confdroid.com) License: This file is part of cd_fail2ban.</p>
|
||||
|
||||
<p>cd_fail2ban is used for providing automatic configuration of Fail2Ban
|
||||
|
||||
Copyright (C) 2017 confdroid (copyright@confdroid.com)
|
||||
This program is
|
||||
free software: you can redistribute it and/or modify
|
||||
it under the terms of
|
||||
the GNU General Public License as published by
|
||||
the Free Software
|
||||
Foundation, either version 3 of the License, or
|
||||
(at your option) any later
|
||||
<p>cd_fail2ban is used for providing automatic configuration of Fail2Ban
|
||||
Copyright (C) 2017 confdroid (copyright@confdroid.com) This program is
|
||||
free software: you can redistribute it and/or modify it under the terms of
|
||||
the GNU General Public License as published by the Free Software
|
||||
Foundation, either version 3 of the License, or (at your option) any later
|
||||
version.</p>
|
||||
|
||||
<p>This program is distributed in the hope that it will be useful,
|
||||
but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY
|
||||
or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License
|
||||
<p>This program is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
for more details.</p>
|
||||
|
||||
<p>You should have received a copy of the GNU General Public License
|
||||
along
|
||||
<p>You should have received a copy of the GNU General Public License along
|
||||
with this program. If not, see <a
|
||||
href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="tags">
|
||||
|
||||
|
||||
@@ -316,9 +305,7 @@ class cd_fail2ban::main::files (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Mon Oct 9 17:39:08 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Puppet Class: cd_fail2ban::main::install
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.16
|
||||
|
||||
</title>
|
||||
|
||||
@@ -84,40 +84,29 @@ cd_fail2ban
|
||||
<div class="docstring">
|
||||
<div class="discussion">
|
||||
|
||||
<p>cd_fail2ban::main::install.pp
|
||||
Module name: cd_fail2ban
|
||||
Author: Arne Teuke
|
||||
(arne_teuke@confdroid.com)
|
||||
License:
|
||||
This file is part of cd_fail2ban.</p>
|
||||
<p>cd_fail2ban::main::install.pp Module name: cd_fail2ban Author: Arne Teuke
|
||||
(arne_teuke@confdroid.com) License: This file is part of cd_fail2ban.</p>
|
||||
|
||||
<p>cd_fail2ban is used for providing automatic configuration of Fail2Ban
|
||||
|
||||
Copyright (C) 2017 confdroid (copyright@confdroid.com)
|
||||
This program is
|
||||
free software: you can redistribute it and/or modify
|
||||
it under the terms of
|
||||
the GNU General Public License as published by
|
||||
the Free Software
|
||||
Foundation, either version 3 of the License, or
|
||||
(at your option) any later
|
||||
<p>cd_fail2ban is used for providing automatic configuration of Fail2Ban
|
||||
Copyright (C) 2017 confdroid (copyright@confdroid.com) This program is
|
||||
free software: you can redistribute it and/or modify it under the terms of
|
||||
the GNU General Public License as published by the Free Software
|
||||
Foundation, either version 3 of the License, or (at your option) any later
|
||||
version.</p>
|
||||
|
||||
<p>This program is distributed in the hope that it will be useful,
|
||||
but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY
|
||||
or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License
|
||||
<p>This program is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
for more details.</p>
|
||||
|
||||
<p>You should have received a copy of the GNU General Public License
|
||||
along
|
||||
<p>You should have received a copy of the GNU General Public License along
|
||||
with this program. If not, see <a
|
||||
href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="tags">
|
||||
|
||||
|
||||
@@ -159,9 +148,7 @@ class cd_fail2ban::main::install (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Mon Oct 9 17:39:08 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Puppet Class: cd_fail2ban::main::service
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.16
|
||||
|
||||
</title>
|
||||
|
||||
@@ -83,40 +83,29 @@
|
||||
<div class="docstring">
|
||||
<div class="discussion">
|
||||
|
||||
<p>cd_fail2ban::main::service.pp
|
||||
Module name: cd_fail2ban
|
||||
Author: Arne Teuke
|
||||
(arne_teuke@confdroid.com)
|
||||
License:
|
||||
This file is part of cd_fail2ban.</p>
|
||||
<p>cd_fail2ban::main::service.pp Module name: cd_fail2ban Author: Arne Teuke
|
||||
(arne_teuke@confdroid.com) License: This file is part of cd_fail2ban.</p>
|
||||
|
||||
<p>cd_fail2ban is used for providing automatic configuration of Fail2Ban
|
||||
|
||||
Copyright (C) 2017 confdroid (copyright@confdroid.com)
|
||||
This program is
|
||||
free software: you can redistribute it and/or modify
|
||||
it under the terms of
|
||||
the GNU General Public License as published by
|
||||
the Free Software
|
||||
Foundation, either version 3 of the License, or
|
||||
(at your option) any later
|
||||
<p>cd_fail2ban is used for providing automatic configuration of Fail2Ban
|
||||
Copyright (C) 2017 confdroid (copyright@confdroid.com) This program is
|
||||
free software: you can redistribute it and/or modify it under the terms of
|
||||
the GNU General Public License as published by the Free Software
|
||||
Foundation, either version 3 of the License, or (at your option) any later
|
||||
version.</p>
|
||||
|
||||
<p>This program is distributed in the hope that it will be useful,
|
||||
but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY
|
||||
or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License
|
||||
<p>This program is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
for more details.</p>
|
||||
|
||||
<p>You should have received a copy of the GNU General Public License
|
||||
along
|
||||
<p>You should have received a copy of the GNU General Public License along
|
||||
with this program. If not, see <a
|
||||
href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="tags">
|
||||
|
||||
|
||||
@@ -166,9 +155,7 @@ class cd_fail2ban::main::service (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Mon Oct 9 17:39:08 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Puppet Class: cd_fail2ban::params
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.16
|
||||
|
||||
</title>
|
||||
|
||||
@@ -96,44 +96,32 @@ inherited by all classes except defines.
|
||||
<div class="docstring">
|
||||
<div class="discussion">
|
||||
|
||||
<p>cd_fail2ban::params.pp
|
||||
Module name: cd_fail2ban
|
||||
Author: Arne Teuke
|
||||
(arne_teuke@confdroid.com)
|
||||
License:
|
||||
This file is part of cd_fail2ban.</p>
|
||||
<p>cd_fail2ban::params.pp Module name: cd_fail2ban Author: Arne Teuke
|
||||
(arne_teuke@confdroid.com) License: This file is part of cd_fail2ban.</p>
|
||||
|
||||
<p>cd_fail2ban is used for providing automatic configuration of Fail2Ban
|
||||
|
||||
Copyright (C) 2017 confdroid (copyright@confdroid.com)
|
||||
This program is
|
||||
free software: you can redistribute it and/or modify
|
||||
it under the terms of
|
||||
the GNU General Public License as published by
|
||||
the Free Software
|
||||
Foundation, either version 3 of the License, or
|
||||
(at your option) any later
|
||||
<p>cd_fail2ban is used for providing automatic configuration of Fail2Ban
|
||||
Copyright (C) 2017 confdroid (copyright@confdroid.com) This program is
|
||||
free software: you can redistribute it and/or modify it under the terms of
|
||||
the GNU General Public License as published by the Free Software
|
||||
Foundation, either version 3 of the License, or (at your option) any later
|
||||
version.</p>
|
||||
|
||||
<p>This program is distributed in the hope that it will be useful,
|
||||
but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY
|
||||
or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License
|
||||
<p>This program is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
for more details.</p>
|
||||
|
||||
<p>You should have received a copy of the GNU General Public License
|
||||
along
|
||||
<p>You should have received a copy of the GNU General Public License along
|
||||
with this program. If not, see <a
|
||||
href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.
|
||||
<code>CRITICAL</code>,<code>ERROR</code>,<code>WARNING</code>,<code>NOTICE</code>,<code>INFO</code>
|
||||
and <code>DEBUG</code>.
|
||||
@param [string] Report ban via badips.com, and use
|
||||
and <code>DEBUG</code>. @param [string] Report ban via badips.com, and use
|
||||
as blacklist</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="tags">
|
||||
<p class="tag_title">Parameters:</p>
|
||||
<ul class="param">
|
||||
@@ -152,8 +140,27 @@ as blacklist</p>
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>which <a href="https://confdroid.com/2017/05/puppet-type-package/">package
|
||||
type</a>
|
||||
to choose, i.e. <code>latest</code> or <code>present</code>.</p>
|
||||
type</a> to choose, i.e. <code>latest</code> or <code>present</code>.</p>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
<span class='name'>reqpackages</span>
|
||||
|
||||
|
||||
<span class='type'>(<tt>array</tt>)</span>
|
||||
|
||||
|
||||
<em class="default">(defaults to: <tt>['fail2ban','fail2ban-firewalld',
|
||||
'fail2ban-sendmail','fail2ban-server.noarch',
|
||||
'whois']</tt>)</em>
|
||||
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>the packages to install.</p>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
@@ -171,10 +178,8 @@ to choose, i.e. <code>latest</code> or <code>present</code>.</p>
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>Whether to manage the fail2ban
|
||||
configuration files. If set to false,
|
||||
fail2ban will be installed, but the
|
||||
configuration will not be managed.</p>
|
||||
<p>Whether to manage the fail2ban configuration files. If set to false,
|
||||
fail2ban will be installed, but the configuration will not be managed.</p>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
@@ -192,8 +197,7 @@ configuration will not be managed.</p>
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>Whether to enable/start or disable/stop
|
||||
the fail2ban service. Valid options
|
||||
<p>Whether to enable/start or disable/stop the fail2ban service. Valid options
|
||||
are <code>running</code> or <code>stopped</code>.</p>
|
||||
</div>
|
||||
|
||||
@@ -230,8 +234,7 @@ are <code>running</code> or <code>stopped</code>.</p>
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>Set the log target. This could be a file,
|
||||
SYSLOG, STDERR or STDOUT. Only
|
||||
<p>Set the log target. This could be a file, SYSLOG, STDERR or STDOUT. Only
|
||||
one log target can be specified.</p>
|
||||
</div>
|
||||
|
||||
@@ -250,10 +253,8 @@ one log target can be specified.</p>
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>Set the syslog socket file. Only used when
|
||||
logtarget is SYSLOG. auto uses
|
||||
platform.system() to determine predefined
|
||||
paths Valid options: [ auto |
|
||||
<p>Set the syslog socket file. Only used when logtarget is SYSLOG. auto uses
|
||||
platform.system() to determine predefined paths Valid options: [ auto |
|
||||
FILE ].</p>
|
||||
</div>
|
||||
|
||||
@@ -290,8 +291,7 @@ FILE ].</p>
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>Set the PID file to store the process ID of the
|
||||
fail2ban server.</p>
|
||||
<p>Set the PID file to store the process ID of the fail2ban server.</p>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
@@ -309,13 +309,9 @@ fail2ban server.</p>
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>file for the fail2ban persistent data to be stored.
|
||||
A value of
|
||||
":memory:" means database is only stored in memory
|
||||
and data is
|
||||
lost when fail2ban is stopped.
|
||||
A value of "None" disables the
|
||||
database.</p>
|
||||
<p>file for the fail2ban persistent data to be stored. A value of “:memory:”
|
||||
means database is only stored in memory and data is lost when fail2ban is
|
||||
stopped. A value of “None” disables the database.</p>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
@@ -333,8 +329,7 @@ database.</p>
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>age in seconds at which bans should be purged
|
||||
from the database.</p>
|
||||
<p>age in seconds at which bans should be purged from the database.</p>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
@@ -352,10 +347,8 @@ from the database.</p>
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>can be an IP address, a CIDR mask or a DNS host.
|
||||
Fail2ban will not ban a
|
||||
host which matches an address in this list. Several
|
||||
addresses can be
|
||||
<p>can be an IP address, a CIDR mask or a DNS host. Fail2ban will not ban a
|
||||
host which matches an address in this list. Several addresses can be
|
||||
defined using space (and/or comma) separator.</p>
|
||||
</div>
|
||||
|
||||
@@ -374,10 +367,8 @@ defined using space (and/or comma) separator.</p>
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>External command that will take an
|
||||
tagged arguments to ignore, e.g.
|
||||
<ip>,and return true if the IP is to be
|
||||
ignored. False otherwise.</p>
|
||||
<p>External command that will take an tagged arguments to ignore, e.g.
|
||||
<ip>,and return true if the IP is to be ignored. False otherwise.</p>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
@@ -413,9 +404,8 @@ ignored. False otherwise.</p>
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>A host is banned if it has generated “maxretry”
|
||||
during the last
|
||||
"findtime" seconds.</p>
|
||||
<p>A host is banned if it has generated “maxretry” during the last “findtime”
|
||||
seconds.</p>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
@@ -451,30 +441,16 @@ during the last
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>specifies the backend used to get files
|
||||
modification. options are
|
||||
"pyinotify", "gamin", "polling",
|
||||
"systemd" and
|
||||
"auto".
|
||||
pyinotify: requires pyinotify (a
|
||||
file alteration monitor) to be installed.
|
||||
If pyinotify is not installed,
|
||||
Fail2ban will use auto.
|
||||
gamin: requires Gamin (a file alteration monitor)
|
||||
to be installed.
|
||||
If Gamin is not installed, Fail2ban will use
|
||||
auto.
|
||||
polling: uses a polling algorithm which does not require external
|
||||
libraries.
|
||||
systemd: uses systemd python library to access the systemd
|
||||
journal.
|
||||
Specifying "logpath" is not valid for this backend.
|
||||
|
||||
See "journalmatch" in the jails associated filter config
|
||||
auto:
|
||||
will try to use the following backends, in order:
|
||||
pyinotify, gamin,
|
||||
polling.</p>
|
||||
<p>specifies the backend used to get files modification. options are
|
||||
“pyinotify”, “gamin”, “polling”, “systemd” and “auto”. pyinotify: requires
|
||||
pyinotify (a file alteration monitor) to be installed. If pyinotify is not
|
||||
installed, Fail2ban will use auto. gamin: requires Gamin (a file alteration
|
||||
monitor) to be installed. If Gamin is not installed, Fail2ban will use
|
||||
auto. polling: uses a polling algorithm which does not require external
|
||||
libraries. systemd: uses systemd python library to access the systemd
|
||||
journal. Specifying “logpath” is not valid for this backend. See
|
||||
“journalmatch” in the jails associated filter config auto: will try to use
|
||||
the following backends, in order: pyinotify, gamin, polling.</p>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
@@ -492,21 +468,13 @@ polling.</p>
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>specifies if jails should trust hostnames in logs,
|
||||
warn when DNS lookups
|
||||
are performed, or ignore all hostnames in logs
|
||||
yes: if a hostname is
|
||||
encountered, a DNS lookup will be performed.
|
||||
warn: if a hostname is
|
||||
encountered, a DNS lookup will be performed,
|
||||
but it will be logged as a
|
||||
warning.
|
||||
no: if a hostname is encountered, will not be used for banning,
|
||||
|
||||
but it will be logged as info.
|
||||
raw: use raw value (no hostname), allow use
|
||||
it for no-host filters/actions
|
||||
(example user)</p>
|
||||
<p>specifies if jails should trust hostnames in logs, warn when DNS lookups
|
||||
are performed, or ignore all hostnames in logs yes: if a hostname is
|
||||
encountered, a DNS lookup will be performed. warn: if a hostname is
|
||||
encountered, a DNS lookup will be performed, but it will be logged as a
|
||||
warning. no: if a hostname is encountered, will not be used for banning,
|
||||
but it will be logged as info. raw: use raw value (no hostname), allow use
|
||||
it for no-host filters/actions (example user)</p>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
@@ -524,11 +492,8 @@ it for no-host filters/actions
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>specifies the encoding of the log files
|
||||
handled by the jail This is used to
|
||||
decode the lines from the log file.
|
||||
Typical examples: "ascii",
|
||||
"utf-8"
|
||||
<p>specifies the encoding of the log files handled by the jail This is used to
|
||||
decode the lines from the log file. Typical examples: “ascii”, “utf-8”
|
||||
auto: will use the system locale setting</p>
|
||||
</div>
|
||||
|
||||
@@ -547,14 +512,10 @@ auto: will use the system locale setting</p>
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>enables the jails.
|
||||
By default all jails are disabled, and it should stay
|
||||
this way.
|
||||
Enable only relevant to your setup jails in your .local or
|
||||
jail.d/*.conf
|
||||
true: jail will be enabled and log files will get monitored
|
||||
for changes
|
||||
false: jail is not enabled</p>
|
||||
<p>enables the jails. By default all jails are disabled, and it should stay
|
||||
this way. Enable only relevant to your setup jails in your .local or
|
||||
jail.d/*.conf true: jail will be enabled and log files will get monitored
|
||||
for changes false: jail is not enabled</p>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
@@ -572,8 +533,7 @@ false: jail is not enabled</p>
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>defines the filter to use by the jail.
|
||||
By default jails have names matching
|
||||
<p>defines the filter to use by the jail. By default jails have names matching
|
||||
their filter name</p>
|
||||
</div>
|
||||
|
||||
@@ -592,8 +552,7 @@ their filter name</p>
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>Destination email address used solely for the
|
||||
interpolations in
|
||||
<p>Destination email address used solely for the interpolations in
|
||||
jail.conf,local,d/* configuration files.</p>
|
||||
</div>
|
||||
|
||||
@@ -630,10 +589,8 @@ jail.conf,local,d/* configuration files.</p>
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>E-mail action. Since 0.8.1 Fail2Ban uses sendmail MTA
|
||||
for the mailing.
|
||||
Change mta configuration parameter to mail if you want to
|
||||
revert to
|
||||
<p>E-mail action. Since 0.8.1 Fail2Ban uses sendmail MTA for the mailing.
|
||||
Change mta configuration parameter to mail if you want to revert to
|
||||
conventional 'mail'.</p>
|
||||
</div>
|
||||
|
||||
@@ -670,8 +627,7 @@ conventional 'mail'.</p>
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>Specify chain where jumps would need to be added in
|
||||
iptables-* actions.</p>
|
||||
<p>Specify chain where jumps would need to be added in iptables-* actions.</p>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
@@ -709,8 +665,7 @@ iptables-* actions.</p>
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>Format of user-agent
|
||||
<a
|
||||
<p>Format of user-agent <a
|
||||
href="https://tools.ietf.org/html/rfc7231#section-5.5.3">tools.ietf.org/html/rfc7231#section-5.5.3</a></p>
|
||||
</div>
|
||||
|
||||
@@ -784,8 +739,7 @@ href="https://tools.ietf.org/html/rfc7231#section-5.5.3">tools.ietf.org/html/rfc
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>ban & send an e-mail with whois report to the
|
||||
destemail.</p>
|
||||
<p>ban & send an e-mail with whois report to the destemail.</p>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
@@ -804,8 +758,7 @@ destemail.</p>
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>ban & send an e-mail with whois report and
|
||||
relevant log lines</p>
|
||||
<p>ban & send an e-mail with whois report and relevant log lines</p>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
@@ -824,8 +777,7 @@ relevant log lines</p>
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>ban & send a xarf e-mail to abuse contact of
|
||||
IP address and include
|
||||
<p>ban & send a xarf e-mail to abuse contact of IP address and include
|
||||
relevant log lines.</p>
|
||||
</div>
|
||||
|
||||
@@ -845,8 +797,7 @@ relevant log lines.</p>
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>ban IP on CloudFlare & send an e-mail with
|
||||
whois report and relevant
|
||||
<p>ban IP on CloudFlare & send an e-mail with whois report and relevant
|
||||
log lines.</p>
|
||||
</div>
|
||||
|
||||
@@ -865,8 +816,7 @@ log lines.</p>
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>Report block via blocklist.de fail2ban
|
||||
reporting service API</p>
|
||||
<p>Report block via blocklist.de fail2ban reporting service API</p>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
@@ -907,6 +857,19 @@ reporting service API</p>
|
||||
<p>Choose default action.</p>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
<span class='name'>fn_extra_repo_url</span>
|
||||
|
||||
|
||||
<span class='type'>(<tt>Any</tt>)</span>
|
||||
|
||||
|
||||
<em class="default">(defaults to: <tt>'http://repo.okay.com.mx/centos/latest/x86_64/release/okay-release-1-3.el8.noarch.rpm'</tt>)</em>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li>
|
||||
@@ -932,7 +895,6 @@ reporting service API</p>
|
||||
<pre class="lines">
|
||||
|
||||
|
||||
121
|
||||
122
|
||||
123
|
||||
124
|
||||
@@ -1031,11 +993,17 @@ reporting service API</p>
|
||||
217</pre>
|
||||
</td>
|
||||
<td>
|
||||
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 121</span>
|
||||
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 122</span>
|
||||
|
||||
class cd_fail2ban::params (
|
||||
|
||||
# installation
|
||||
$pkg_ensure = 'latest',
|
||||
$reqpackages = ['fail2ban','fail2ban-firewalld',
|
||||
'fail2ban-sendmail','fail2ban-server.noarch',
|
||||
'whois'],
|
||||
# urls
|
||||
$fn_extra_repo_url = 'http://repo.okay.com.mx/centos/latest/x86_64/release/okay-release-1-3.el8.noarch.rpm',
|
||||
|
||||
$fn_manage_config = true,
|
||||
$fn_enable_service = 'running',
|
||||
@@ -1087,13 +1055,6 @@ $fn_default_action = 'action_',
|
||||
|
||||
) {
|
||||
|
||||
# installation section
|
||||
$reqpackages = $::operatingsystem ? {
|
||||
/(?i-mx:centos|fedora|redhat)/ => ['fail2ban','fail2ban-firewalld',
|
||||
'fail2ban-sendmail',
|
||||
'fail2ban-server.noarch','whois'],
|
||||
}
|
||||
|
||||
$fn_jail_paths = $::operatingsystem ? {
|
||||
/(?i-mx:centos|fedora|redhat)/ => 'fedora',
|
||||
}
|
||||
@@ -1137,9 +1098,7 @@ $fn_paths_common_erb = 'cd_fail2ban/paths_common_conf.erb'
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Mon Oct 9 17:39:08 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Top Level Namespace
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.16
|
||||
|
||||
</title>
|
||||
|
||||
@@ -90,9 +90,7 @@
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Mon Oct 9 17:39:07 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user