From unknown Tue Jun 24 05:11:17 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#37984] [PATCH] gnu: Add endlessh. Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 29 Oct 2019 19:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 37984 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 37984@debbugs.gnu.org Cc: Efraim Flashner X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.157237816816749 (code B ref -1); Tue, 29 Oct 2019 19:43:01 +0000 Received: (at submit) by debbugs.gnu.org; 29 Oct 2019 19:42:48 +0000 Received: from localhost ([127.0.0.1]:48636 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iPXO7-0004Lx-KC for submit@debbugs.gnu.org; Tue, 29 Oct 2019 15:42:48 -0400 Received: from lists.gnu.org ([209.51.188.17]:48430) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iPXO2-0004Ln-PT for submit@debbugs.gnu.org; Tue, 29 Oct 2019 15:42:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59997) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iPXNy-00072A-W7 for guix-patches@gnu.org; Tue, 29 Oct 2019 15:42:38 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iPXNw-0008JT-PS for guix-patches@gnu.org; Tue, 29 Oct 2019 15:42:34 -0400 Received: from flashner.co.il ([178.62.234.194]:53426) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iPXNu-0008HW-Ou for guix-patches@gnu.org; Tue, 29 Oct 2019 15:42:30 -0400 Received: from localhost (unknown [141.226.13.108]) by flashner.co.il (Postfix) with ESMTPSA id BCF86401BE; Tue, 29 Oct 2019 19:42:29 +0000 (UTC) From: Efraim Flashner Date: Tue, 29 Oct 2019 21:42:26 +0200 Message-Id: <20191029194226.20634-1-efraim@flashner.co.il> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 178.62.234.194 X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) * gnu/packages/ssh.scm (endlessh): New variable. --- gnu/packages/ssh.scm | 36 +++++++++++++++++++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm index f626e0e5f6..f6559f4578 100644 --- a/gnu/packages/ssh.scm +++ b/gnu/packages/ssh.scm @@ -2,7 +2,7 @@ ;;; Copyright =C2=A9 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019 Ludo= vic Court=C3=A8s ;;; Copyright =C2=A9 2013, 2014 Andreas Enge ;;; Copyright =C2=A9 2014, 2015, 2016 Mark H Weaver -;;; Copyright =C2=A9 2015, 2016, 2018 Efraim Flashner +;;; Copyright =C2=A9 2015, 2016, 2018, 2019 Efraim Flashner ;;; Copyright =C2=A9 2016, 2019 Leo Famulari ;;; Copyright =C2=A9 2016 Nicolas Goaziou ;;; Copyright =C2=A9 2016 Christopher Allan Webber @@ -741,3 +741,37 @@ optimized execution algorithms, as well as gathering= results and merging identical outputs, or retrieving return codes. ClusterShell takes advan= tage of existing remote shell facilities such as SSH.") (license license:lgpl2.1+))) + +(define-public endlessh + (package + (name "endlessh") + (version "1.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/skeeto/endlessh/releases= /" + "download/" version "/endlessh-" version ".t= ar.xz")) + (sha256 + (base32 + "0hhsr65hzrcb7ylskmxyr92svzndhks8hqzn8hvg7f7j89rkvq5k")))) + (build-system gnu-build-system) + (arguments + '(#:make-flags (list (string-append "PREFIX=3D" (assoc-ref %outputs= "out")) + "CC=3Dgcc") + #:tests? #f ; no test target + #:phases + (modify-phases %standard-phases + (delete 'configure)))) ; no configure script + (home-page "https://github.com/skeeto/endlessh") + (synopsis "SSH tarpit that slowly sends an endless banner") + (description + "Endlessh is an SSH tarpit that very slowly sends an endless, rando= m SSH +banner. It keeps SSH clients locked up for hours or even days at a time= . The +purpose is to put your real SSH server on another port and then let the = script +kiddies get stuck in this tarpit instead of bothering a real server. + +Since the tarpit is in the banner before any cryptographic exchange occu= rs, this +program doesn't depend on any cryptographic libraries. It's a simple, +single-threaded, standalone C program. It uses @code{poll()} to trap mu= ltiple +clients at a time.") + (license license:unlicense))) --=20 2.23.0 From unknown Tue Jun 24 05:11:17 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Efraim Flashner Subject: bug#37984: closed (Re: [PATCH] gnu: Add endlessh.) Message-ID: References: <20191103183136.GA372@E5400> <20191029194226.20634-1-efraim@flashner.co.il> X-Gnu-PR-Message: they-closed 37984 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 37984@debbugs.gnu.org Date: Sun, 03 Nov 2019 18:32:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1572805922-26228-1" This is a multi-part message in MIME format... ------------=_1572805922-26228-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #37984: [PATCH] gnu: Add endlessh. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 37984@debbugs.gnu.org. --=20 37984: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D37984 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1572805922-26228-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 37984-done) by debbugs.gnu.org; 3 Nov 2019 18:31:45 +0000 Received: from localhost ([127.0.0.1]:35090 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iRKfA-0006oW-Sg for submit@debbugs.gnu.org; Sun, 03 Nov 2019 13:31:45 -0500 Received: from flashner.co.il ([178.62.234.194]:44126) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iRKf9-0006oG-8j for 37984-done@debbugs.gnu.org; Sun, 03 Nov 2019 13:31:43 -0500 Received: from localhost (unknown [141.226.13.108]) by flashner.co.il (Postfix) with ESMTPSA id 1D733402C3 for <37984-done@debbugs.gnu.org>; Sun, 3 Nov 2019 18:31:37 +0000 (UTC) Date: Sun, 3 Nov 2019 20:31:36 +0200 From: Efraim Flashner To: 37984-done@debbugs.gnu.org Subject: Re: [PATCH] gnu: Add endlessh. Message-ID: <20191103183136.GA372@E5400> References: <20191029194226.20634-1-efraim@flashner.co.il> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="J2SCkAp4GZ/dPZZf" Content-Disposition: inline In-Reply-To: <20191029194226.20634-1-efraim@flashner.co.il> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 User-Agent: Mutt/1.12.2 (2019-09-21) X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 37984-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --J2SCkAp4GZ/dPZZf Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Patch pushed --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --J2SCkAp4GZ/dPZZf Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl2/HQcACgkQQarn3Mo9 g1F2Ng/+PzQWBIpWzxoTkCe5Zr2Atjq25kDnKTXFJAybIryTJL8/E2Tzdn+DYO0T pF7La3MZP1qpNo9DeUSR+TDKL6hS8W6PayfMJzPS5jufPFW7NiBv5n1WP+yPYKzx +peHdjbKcMZVRAWpSlXSvS98idr0i3iCCIRRIcltahJpxWoxrJxG5/i1YKuS/L7a uL/tW8MZi7yGuT+KKezkfy3yWTo2jgSf9eZngbSR/9xOenzINseQcW41bqm5XNLe NW0Ih73s3HfJKOmfRIyR9QylPHfNLf+vWs7ST6JiKHTlE1XMlYxboRzehXF+A4hW McxBQKrFmzDwmvRRwNxXZwfP7h9Li+AiORa0nfge8GXAJUtps3CGtW0FD2eDcdgq 3vohEuF3GZZsBdNbYaDJe5ofykJpebzTPJOpiyr2r4kNVutZN3P29Gsp+QNVrpq/ e2yrgqAkJfZdrG4ChUn1gPk73CZQR8vgr1UytKrOI+xhA+f+E8p/yqm6cyPTZf9t JQcUMMl9XxOQIegFXhpKTkVVA6Pyn52cvk+PeV9lCaTvteBLSEThi0hulymxH4O3 1Oz4p5qErm85RtNiDuTNx9fFzFE1Iynhz3uH3qKs2zXxG8xykFlc8BpHaYmL1vyV 7/qZnIwzPa2YYBFIzeS93nOvC9b+V2vGYRcA0mR2VpPm1UzlWvc= =vS+T -----END PGP SIGNATURE----- --J2SCkAp4GZ/dPZZf-- ------------=_1572805922-26228-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 29 Oct 2019 19:42:48 +0000 Received: from localhost ([127.0.0.1]:48636 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iPXO7-0004Lx-KC for submit@debbugs.gnu.org; Tue, 29 Oct 2019 15:42:48 -0400 Received: from lists.gnu.org ([209.51.188.17]:48430) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iPXO2-0004Ln-PT for submit@debbugs.gnu.org; Tue, 29 Oct 2019 15:42:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59997) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iPXNy-00072A-W7 for guix-patches@gnu.org; Tue, 29 Oct 2019 15:42:38 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iPXNw-0008JT-PS for guix-patches@gnu.org; Tue, 29 Oct 2019 15:42:34 -0400 Received: from flashner.co.il ([178.62.234.194]:53426) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iPXNu-0008HW-Ou for guix-patches@gnu.org; Tue, 29 Oct 2019 15:42:30 -0400 Received: from localhost (unknown [141.226.13.108]) by flashner.co.il (Postfix) with ESMTPSA id BCF86401BE; Tue, 29 Oct 2019 19:42:29 +0000 (UTC) From: Efraim Flashner To: guix-patches@gnu.org Subject: [PATCH] gnu: Add endlessh. Date: Tue, 29 Oct 2019 21:42:26 +0200 Message-Id: <20191029194226.20634-1-efraim@flashner.co.il> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 178.62.234.194 X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Efraim Flashner X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) * gnu/packages/ssh.scm (endlessh): New variable. --- gnu/packages/ssh.scm | 36 +++++++++++++++++++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm index f626e0e5f6..f6559f4578 100644 --- a/gnu/packages/ssh.scm +++ b/gnu/packages/ssh.scm @@ -2,7 +2,7 @@ ;;; Copyright =C2=A9 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019 Ludo= vic Court=C3=A8s ;;; Copyright =C2=A9 2013, 2014 Andreas Enge ;;; Copyright =C2=A9 2014, 2015, 2016 Mark H Weaver -;;; Copyright =C2=A9 2015, 2016, 2018 Efraim Flashner +;;; Copyright =C2=A9 2015, 2016, 2018, 2019 Efraim Flashner ;;; Copyright =C2=A9 2016, 2019 Leo Famulari ;;; Copyright =C2=A9 2016 Nicolas Goaziou ;;; Copyright =C2=A9 2016 Christopher Allan Webber @@ -741,3 +741,37 @@ optimized execution algorithms, as well as gathering= results and merging identical outputs, or retrieving return codes. ClusterShell takes advan= tage of existing remote shell facilities such as SSH.") (license license:lgpl2.1+))) + +(define-public endlessh + (package + (name "endlessh") + (version "1.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/skeeto/endlessh/releases= /" + "download/" version "/endlessh-" version ".t= ar.xz")) + (sha256 + (base32 + "0hhsr65hzrcb7ylskmxyr92svzndhks8hqzn8hvg7f7j89rkvq5k")))) + (build-system gnu-build-system) + (arguments + '(#:make-flags (list (string-append "PREFIX=3D" (assoc-ref %outputs= "out")) + "CC=3Dgcc") + #:tests? #f ; no test target + #:phases + (modify-phases %standard-phases + (delete 'configure)))) ; no configure script + (home-page "https://github.com/skeeto/endlessh") + (synopsis "SSH tarpit that slowly sends an endless banner") + (description + "Endlessh is an SSH tarpit that very slowly sends an endless, rando= m SSH +banner. It keeps SSH clients locked up for hours or even days at a time= . The +purpose is to put your real SSH server on another port and then let the = script +kiddies get stuck in this tarpit instead of bothering a real server. + +Since the tarpit is in the banner before any cryptographic exchange occu= rs, this +program doesn't depend on any cryptographic libraries. It's a simple, +single-threaded, standalone C program. It uses @code{poll()} to trap mu= ltiple +clients at a time.") + (license license:unlicense))) --=20 2.23.0 ------------=_1572805922-26228-1--