From b14b1aec85e38cf517a082f53617277c0b385b3d Mon Sep 17 00:00:00 2001 From: Thuban <thuban@yeuxdelibad.net> Date: Thu, 30 Mar 2017 18:56:10 +0000 Subject: [PATCH] stupid fork --- README.md | 18 +++++++++++------- 1 files changed, 11 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 821e44e..2c90965 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,9 @@ # vilain - - Mimic fail2ban with pf for OpenBSD. Inspired from http://www.vincentdelft.be/post/post_20161106 -This repository is just for work. -See here for last vilain "stable" version : http://git.yeuxdelibad.net/vilain/ - - -In pf.conf, add : +In pf.conf, add according to your configuration : table <vilain_bruteforce> persist block quick from <vilain_bruteforce> @@ -23,4 +17,14 @@ pfctl -t vilain_bruteforce -T show +To start vilain at boot, add this in ``/etc/rc.local`` +``` +/usr/bin/tmux new -s vilain -d /usr/local/bin/vilain +``` + +Then, to attach to the tmux session, run : + +``` +tmux a -t vilain +``` -- Gitblit v1.9.3