gods

a simple blocklist for ssh
Log | Files | Refs | README | LICENSE

commit 6572693ae7605700d0bd87be9f614d610cbe0738
parent b34126e279dc0553bfbc4e6de836427697b51866
Author: Naveen Narayanan <zerous@nocebo.space>
Date:   Mon, 27 Sep 2021 22:08:42 +0200

Unban expired attackers

Ensure that attackers whose ban period is expired
get unbanned at the end of the loop.

Diffstat:
Mmain.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/main.c b/main.c @@ -108,6 +108,8 @@ main(int argc, char **argv) } } + unban(NULL, &head); + if (c == EOF) break; }