gods

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

commit f5850f6611e4669aab969ec02e6ade80e7edb7d4
parent 8f400ac7290a4cc89b5a42e78077ac7d4c490808
Author: Naveen Narayanan <zerous@nocebo.space>
Date:   Thu, 30 Sep 2021 19:33:16 +0200

Fix bug

Use time of attack parsed from the log file
instead of calling time().

Diffstat:
Mmain.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main.c b/main.c @@ -42,7 +42,7 @@ init(struct attacker *a) { strcpy(a->ip, ip); a->nban = -1; - a->last = time(NULL); + a->last = attack; } int