🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #282979

Re: Fail2Ban

#282979
From: Cornelis Tromp
Date: Tue, 31 May 2016 19:20
46 lines
2389 bytes
On Tue, 31 May 2016 18:10:09 +0100 (BST), you wrote:
>
> *** PGP SIGNATURE VERIFICATION ***
> *** Signature made 05/31/16 09:21:33 using RSA key ID 97C9642A
> *** Good signature from "HOLLAND (Remailer Admin) <remailer.uk@gmail.com>"
> *** WARNING: Using untrusted key!
> *** Verified 05/31/16 11:53:41
> *** BEGIN PGP VERIFIED MESSAGE ***
>
> I have been following the thread "Brute Forcing SSH From China 222.186.34.122"
> with interest. At "brabus" & "holland" I have been manually updating
> iptables regularly as a function of what's going on in /var/log/auth.log.
> Manual intervention can be tedious and at times consuming.
>
> I have moved brabus & holland away from port 22, and I will observe the results
> over
> the next few days.
>
> Is anyone using Fail2Ban? If so I would be interested to hear comments
> regarding practicality and effectiveness.
>
> Regards
> B

Here's an excellent tutorial on getting fail2ban setup on a Debian 
system.

<https://www.digitalocean.com/community/tutorials/how-to-protect-ssh-with-fail2ban-on-debian-7>

I've beeen using it on my server for a couple of years and like how 
it works. I have it setup:
ignoreip = 127.0.0.1/8 myserveripaddress 0.0.0.0
bantime = 18000
maxretry = 2

I'm using these filters:
ssh
apache-no404
apache
apache-noscript
apache-overflows
apache-badbots

These filters can be modified in the filter.d directory
I modified the apache-no404.conf to add a few things that were not 
in the default filter.
Technical Details
Message-ID: <10a58e6a23a98da8b8476cebc03b5417@anon.holland.remailer.nl>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!news.usenet.farm!..!..!not-for-mail
References: <45b9404667ac856ef28c9a3974761d39@anon.holland.remailer.nl>

Show Full Headers
Complete Article Headers
Message-ID: <10a58e6a23a98da8b8476cebc03b5417@anon.holland.remailer.nl>
Subject: Re: Fail2Ban
Date: Tue, 31 May 2016 19:20:40 +0000
From: Cornelis Tromp <nobody@holland.remailer.nl>
References: <45b9404667ac856ef28c9a3974761d39@anon.holland.remailer.nl>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!news.usenet.farm!..!..!not-for-mail
Comments: This message did not originate from the Sender address above.
 It was remailed automatically by anonymizing remailer software.
 Please report problems or inappropriate use to the
 remailer administrator at <abuse@holland.remailer.nl>.
Newsgroups: alt.privacy.anon-server
Injection-Info: mail2news.mixmin.net; mail-complaints-to=abuse@mixmin.net
Lines: 46