<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.iwillfearnoevil.com/mediawiki/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.iwillfearnoevil.com/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Fail2ban"/>
	<link rel="alternate" type="text/html" href="https://wiki.iwillfearnoevil.com/mediawiki/index.php?title=Fail2ban&amp;action=history"/>
	<updated>2026-05-06T23:23:57Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.2</generator>
	<entry>
		<id>https://wiki.iwillfearnoevil.com/mediawiki/index.php?title=Fail2ban&amp;diff=673&amp;oldid=prev</id>
		<title>Chubbard: Created page with &quot;===Fail2ban Notes=== There are a whole bunch of options and commands that I forget for fail2ban.  This is simply a list of things that can be done..  ==Ban IP== * sudo  fail2ban-client set JAIL banip 107.175.27.212  ==Status Jail== * sudo fail2ban-client status  ==UnBan IP== * sudo  fail2ban-client set JAIL unbanip 192.168.0.1  ==Testing Regex== * fail2ban-regex /var/log/haproxy.log 'haproxy(?:\[\d+\])?: &lt;HOST&gt;:\d+ \[.*\] default_ssl_http_in~ wiki/wiki01 .* &quot;GET /mediawi...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.iwillfearnoevil.com/mediawiki/index.php?title=Fail2ban&amp;diff=673&amp;oldid=prev"/>
		<updated>2025-08-27T16:56:08Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;===Fail2ban Notes=== There are a whole bunch of options and commands that I forget for fail2ban.  This is simply a list of things that can be done..  ==Ban IP== * sudo  fail2ban-client set JAIL banip 107.175.27.212  ==Status Jail== * sudo fail2ban-client status  ==UnBan IP== * sudo  fail2ban-client set JAIL unbanip 192.168.0.1  ==Testing Regex== * fail2ban-regex /var/log/haproxy.log &amp;#039;haproxy(?:\[\d+\])?: &amp;lt;HOST&amp;gt;:\d+ \[.*\] default_ssl_http_in~ wiki/wiki01 .* &amp;quot;GET /mediawi...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;===Fail2ban Notes===&lt;br /&gt;
There are a whole bunch of options and commands that I forget for fail2ban.  This is simply a list of things that can be done..&lt;br /&gt;
&lt;br /&gt;
==Ban IP==&lt;br /&gt;
* sudo  fail2ban-client set JAIL banip 107.175.27.212&lt;br /&gt;
&lt;br /&gt;
==Status Jail==&lt;br /&gt;
* sudo fail2ban-client status&lt;br /&gt;
&lt;br /&gt;
==UnBan IP==&lt;br /&gt;
* sudo  fail2ban-client set JAIL unbanip 192.168.0.1&lt;br /&gt;
&lt;br /&gt;
==Testing Regex==&lt;br /&gt;
* fail2ban-regex /var/log/haproxy.log 'haproxy(?:\[\d+\])?: &amp;lt;HOST&amp;gt;:\d+ \[.*\] default_ssl_http_in~ wiki/wiki01 .* &amp;quot;GET /mediawiki/index\.php\?title.*.RequestAccount.*$'&lt;br /&gt;
&lt;br /&gt;
==Ban Loops==&lt;br /&gt;
* for x in `grep mediawiki haproxy.log | grep -v 192.168.0.1 | grep Special | awk '{print $6}' | sed 's/:.*//g' | sort | uniq`;  do fail2ban-client set recidive banip $x ; done&lt;br /&gt;
&lt;br /&gt;
[[Category:fail2ban]]&lt;/div&gt;</summary>
		<author><name>Chubbard</name></author>
	</entry>
</feed>