gnu: Add sshguard.

* gnu/packages/admin.scm (sshguard): New variable.

Change-Id: I551771ff49af3e852322f2518f0758494aaedee3
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
Ashish SHUKLA 2024-07-24 09:17:18 +00:00 committed by Nicolas Goaziou
parent 91b69f154d
commit 4cff02aa60
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -6349,3 +6349,26 @@ versions of @command{find}, including POSIX, GNU, and *BSD find.")
their content instead of their file names. It is useful for compressing their content instead of their file names. It is useful for compressing
backup directories or just finding duplicate files.") backup directories or just finding duplicate files.")
(license license:gpl2+))) (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)))