<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.bwt.com.de/index.php?action=history&amp;feed=atom&amp;title=Fail2Ban</id>
	<title>Fail2Ban - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.bwt.com.de/index.php?action=history&amp;feed=atom&amp;title=Fail2Ban"/>
	<link rel="alternate" type="text/html" href="https://wiki.bwt.com.de/index.php?title=Fail2Ban&amp;action=history"/>
	<updated>2026-05-13T20:47:11Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://wiki.bwt.com.de/index.php?title=Fail2Ban&amp;diff=367&amp;oldid=prev</id>
		<title>BrainwreckedTech: Made TOC float left and added description</title>
		<link rel="alternate" type="text/html" href="https://wiki.bwt.com.de/index.php?title=Fail2Ban&amp;diff=367&amp;oldid=prev"/>
		<updated>2019-12-11T08:11:04Z</updated>

		<summary type="html">&lt;p&gt;Made TOC float left and added description&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 04:11, 11 December 2019&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;div style=&quot;float:left; margin-right:0.5em; margin-bottom:0.5em;&quot;&amp;gt;__TOC__&amp;lt;/div&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Fail2ban protects computers from brute-force attacks like password guessing and exploit scanning.  Fail2ban monitors the system&#039;s log files for malicious incoming activity.  If detected, fail2ban can ban the IP, e-mail a notification, or any other arbitrary action.  Note that fail2ban is weak against DDoS attacks since it identifies activity by IP address, unless the individual IPs involved happen to trigger fail2ban on their own.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= Fail2Ban Setup =&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= Fail2Ban Setup =&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>BrainwreckedTech</name></author>
	</entry>
	<entry>
		<id>https://wiki.bwt.com.de/index.php?title=Fail2Ban&amp;diff=341&amp;oldid=prev</id>
		<title>BrainwreckedTech: Created page.</title>
		<link rel="alternate" type="text/html" href="https://wiki.bwt.com.de/index.php?title=Fail2Ban&amp;diff=341&amp;oldid=prev"/>
		<updated>2019-12-08T14:05:14Z</updated>

		<summary type="html">&lt;p&gt;Created page.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
= Fail2Ban Setup =&lt;br /&gt;
&lt;br /&gt;
== Main Configuration ==&lt;br /&gt;
&lt;br /&gt;
{{hc|/etc/fail2ban/jail.local|2=&lt;br /&gt;
[DEFAULT]&lt;br /&gt;
bantime         = 1d&lt;br /&gt;
destemail       = root@bwt.com.de&lt;br /&gt;
sender          = fail2ban@bwt.com.de&lt;br /&gt;
action          = %(action_mwl)s&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== SSHD Configuration ==&lt;br /&gt;
&lt;br /&gt;
{{hc|/etc/fail2ban/jail.d/sshd.local|2=&lt;br /&gt;
[sshd]&lt;br /&gt;
enabled         = true&lt;br /&gt;
filter          = sshd&lt;br /&gt;
banaction       = iptables&lt;br /&gt;
backend         = systemd&lt;br /&gt;
maxretry        = 5&lt;br /&gt;
findtime        = 1d&lt;br /&gt;
bantime         = 2w&lt;br /&gt;
ignoreip        = 127.0.0.1/8&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Postfix-ISPmail Configuration ==&lt;br /&gt;
&lt;br /&gt;
{{hc|/etc/fail2ban/jail.d/postfix-ispmail.local|2=&lt;br /&gt;
[postfix-ispmail]&lt;br /&gt;
enabled         = true&lt;br /&gt;
filter          = postfix&lt;br /&gt;
port            = smtp,submission&lt;br /&gt;
banaction       = iptables&lt;br /&gt;
backend         = systemd&lt;br /&gt;
maxretry        = 5&lt;br /&gt;
findtime        = 1d&lt;br /&gt;
bantime         = 2w&lt;br /&gt;
ignoreip        = 192.99.246.231/32&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{hc|/etc/fail2ban/filter.d/postfix-ispmail.conf|2=&lt;br /&gt;
&amp;lt;nowiki&amp;gt;[INCLUDES]&lt;br /&gt;
before = common.conf&lt;br /&gt;
&lt;br /&gt;
[Definition]&lt;br /&gt;
_daemon = postfix(-\w+)?/(?:submission/|smtps/)?smtp[ds]&lt;br /&gt;
failregex = ^%(__prefix_line)slost connection after AUTH from \S+\[&amp;lt;HOST&amp;gt;\]$&lt;br /&gt;
ignoreregex =&lt;br /&gt;
&lt;br /&gt;
[Init]&lt;br /&gt;
journalmatch = _SYSTEMD_UNIT=postfix.service&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>BrainwreckedTech</name></author>
	</entry>
</feed>