Hello,

you just installed the software. Fail2ban in itself does not protect
your computer from attacks, it is just a tool to parse the logfiles
generated on your server to watch for possible break in attempts. You
want to have fail2ban adjust your firewall rules in case of a found
happening. For this you have to define or use predefined jails, filters
and actions  matching your actual demand, to get this to real use.

Please have a look at "/usr/local/etc/fail2ban/jail.conf" to see the
default config you get after installing the tool.

And finaly you need to make sure fail2ban is actualy started to scan
your logfiles.

    sudo brew services start fail2ban

You find more details how to use fail2ban on a MacOS System at
"https://www.fail2ban.org/wiki/index.php/HOWTO_Mac_OS_X_Server_(10.5)"

Regards
Jürgen
> Christian Buser <mailto:mac-christ...@gmx.ch>
> 24. April 2018 um 10:27
> Hi all
>
> I have a Mac Mini running MacOS X 10.12.6 (Sierra). On this, I have
> installed CommuniGate Pro 6.2.3 (from Stalker Software) for running
> two mailing lists. This computer can be reached from outside my home
> network (an "exposed host" in the router settings).
>
> To prevent brute force attacks where the attackers try to use some
> very common user names, I was advised to install fail2ban, which I did
> according to these instructions:
>
>  1. Press |Command+Space| and type */Terminal/* and press
>     */enter/return/* key.
>  2. Run in Terminal app:
>     |ruby -e "$(curl -fsSL
>     https://raw.githubusercontent.com/Homebrew/install/master/install)" <
>     /dev/null 2> /dev/null|
>     and press */enter/return/* key.
>     If the screen prompts you to enter a password, please enter your
>     Mac's user password to continue. When you type the password, it
>     won't be displayed on screen, but the system would accept it. So
>     just type your password and press ENTER/RETURN key. Then wait for
>     the command to finish.
>  3. Run:
>     |brew install fail2ban|
>
> No problem, everything fine - but I do not see any effect on the
> number of attacks. Is it possible that I missed some necessary steps
> to make fail2ban active? Or what should I do now? I did not find any
> useful information in the "man pages" after having installed fail2ban.
>
> If fail2ban would not work for my purposes - how would I uninstall it?
>
> Thank you, Christian
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Fail2ban-users mailing list
> Fail2ban-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fail2ban-users

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Fail2ban-users mailing list
Fail2ban-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fail2ban-users

Reply via email to