<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>Fail2ban on Nico Maas</title>
        <link>https://www.nico-maas.de/tags/fail2ban/</link>
        <description>Recent content in Fail2ban on Nico Maas</description>
        <generator>Hugo -- gohugo.io</generator>
        <language>en-us</language>
        <lastBuildDate>Wed, 17 Feb 2021 10:22:00 +0000</lastBuildDate><atom:link href="https://www.nico-maas.de/tags/fail2ban/index.xml" rel="self" type="application/rss+xml" /><item>
            <title>fail2ban Cheat Sheet</title>
            <link>https://www.nico-maas.de/posts/2021-02-17-fail2ban-cheat-sheet/</link>
            <pubDate>Wed, 17 Feb 2021 10:22:00 +0000</pubDate>
            <guid>https://www.nico-maas.de/posts/2021-02-17-fail2ban-cheat-sheet/</guid>
            <description>&lt;p&gt;Just the commands I always need to look up, because I forgot again&amp;hellip;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Overview over fail2ban status and jails&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;fail2ban-client status&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;ul&gt;&#xA;&lt;li&gt;See which e.g. IPs are banned for sshd jail&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;fail2ban-client status sshd&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;ul&gt;&#xA;&lt;li&gt;Unban an IP from sshd jail&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;fail2ban-client set sshd unbanip IPADDRESSHERE&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;ul&gt;&#xA;&lt;li&gt;See which systems are actually banned&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;zgrep &amp;#39;Ban&amp;#39; /var/log/fail2ban.log*&#xA;&lt;/code&gt;&lt;/pre&gt;</description>
        </item></channel>
</rss>
