From 4cff02aa60aabf47eb34da0f4f313c9793d0caa2 Mon Sep 17 00:00:00 2001 From: Ashish SHUKLA Date: Wed, 24 Jul 2024 09:17:18 +0000 Subject: [PATCH] gnu: Add sshguard. * gnu/packages/admin.scm (sshguard): New variable. Change-Id: I551771ff49af3e852322f2518f0758494aaedee3 Signed-off-by: Nicolas Goaziou --- gnu/packages/admin.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index 73d1b68855..5b6467dd05 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -6349,3 +6349,26 @@ (define-public rdfind their content instead of their file names. It is useful for compressing backup directories or just finding duplicate files.") (license license:gpl2+))) + +(define-public sshguard + (package + (name "sshguard") + (version "2.4.3") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://bitbucket.org/sshguard/sshguard") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 (base32 "1dkijr287zpwdz1bjdchxzmwf1sk6vzpkycz1skm25lkaba6nd9r")))) + (build-system gnu-build-system) + (native-inputs + (list autoconf automake bison flex python-docutils)) + (home-page "https://sshguard.net/") + (synopsis "Daemon to blocks SSH brute-force attacks") + (description + "SSHGuard protects hosts from brute-force attacks against SSH and other +services. It aggregates system logs and blocks repeat offenders using one of +several firewall backends.") + (license license:isc)))