From c8affe7502d5f8851205547874ca09a7421a081d Mon Sep 17 00:00:00 2001 From: Thuban <thuban@yeuxdelibad.net> Date: Sat, 08 Dec 2018 16:32:31 +0000 Subject: [PATCH] update example --- README.md | 33 +++++++++++++++++++++++---------- 1 files changed, 23 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 2c90965..7f612e4 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,24 @@ -# vilain +vilain +====== + Mimic fail2ban with pf for OpenBSD. Inspired from http://www.vincentdelft.be/post/post_20161106 + +Installation : +--------------- + +Download the repository, then run + + make install + +This will put `vilain` script in /usr/local/bin, `vilain.py` in +/usr/local/sbin and add a rc script. + +Install python-3.* + + pkg_add python-3.6.2 + In pf.conf, add according to your configuration : @@ -17,14 +34,10 @@ pfctl -t vilain_bruteforce -T show -To start vilain at boot, add this in ``/etc/rc.local`` +Run vilain +--------------- -``` -/usr/bin/tmux new -s vilain -d /usr/local/bin/vilain -``` +Run vilain manually or via rc script : -Then, to attach to the tmux session, run : - -``` -tmux a -t vilain -``` + rcctl enable vilain + rcctl start vilain -- Gitblit v1.9.3