{"id":12,"date":"2015-02-17T05:02:42","date_gmt":"2015-02-17T05:02:42","guid":{"rendered":"http:\/\/www.mbcs.ca\/?p=12"},"modified":"2015-02-17T05:03:39","modified_gmt":"2015-02-17T05:03:39","slug":"fail2ban-and-squirrelmail","status":"publish","type":"post","link":"https:\/\/www.mbcs.ca\/?p=12","title":{"rendered":"Fail2Ban and Squirrelmail"},"content":{"rendered":"<p>With the help of <a href=\"http:\/\/squirrelmail.org\/plugin_view.php?id=52\">squirrel logger<\/a> I now have Fail2Ban banning IPs from attempted logins of my webmail interface.\u00a0 Configuring squirrel logger was a breeze.\u00a0 I simple send it to syslog, where it is picked up by my mail.info log.\u00a0 I created my own squirrelmail.conf for fail2ban which is below.<\/p>\n<p># Fail2Ban configuration file<br \/>\n#<br \/>\n[Definition]<\/p>\n<p># Option: failregex<br \/>\nfailregex =\u00a0 0: Failed webmail login: by.*\\(.*\\) at &lt;HOST&gt; on.*$<\/p>\n<p>ignoreregex =<\/p>\n","protected":false},"excerpt":{"rendered":"<p>With the help of squirrel logger I now have Fail2Ban banning IPs from attempted logins of my webmail interface.\u00a0 Configuring squirrel logger was a breeze.\u00a0 I simple send it to syslog, where it is picked up by my mail.info log.\u00a0 I created my own squirrelmail.conf for fail2ban which is below. # Fail2Ban configuration file # &hellip; <a href=\"https:\/\/www.mbcs.ca\/?p=12\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Fail2Ban and Squirrelmail<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-12","post","type-post","status-publish","format-standard","hentry","category-firewallingsecurity"],"_links":{"self":[{"href":"https:\/\/www.mbcs.ca\/index.php?rest_route=\/wp\/v2\/posts\/12","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mbcs.ca\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mbcs.ca\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mbcs.ca\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mbcs.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=12"}],"version-history":[{"count":1,"href":"https:\/\/www.mbcs.ca\/index.php?rest_route=\/wp\/v2\/posts\/12\/revisions"}],"predecessor-version":[{"id":13,"href":"https:\/\/www.mbcs.ca\/index.php?rest_route=\/wp\/v2\/posts\/12\/revisions\/13"}],"wp:attachment":[{"href":"https:\/\/www.mbcs.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=12"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mbcs.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=12"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mbcs.ca\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=12"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}