From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 4KEeHmaRHF+cbAAA0tVLHw (envelope-from ) for ; Sat, 25 Jul 2020 20:09:10 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id GHYgGmaRHF/UNQAAB5/wlQ (envelope-from ) for ; Sat, 25 Jul 2020 20:09:10 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 0DF929403A0 for ; Sat, 25 Jul 2020 20:09:10 +0000 (UTC) Received: from localhost ([::1]:47828 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jzQTl-000470-0N for larch@yhetil.org; Sat, 25 Jul 2020 16:09:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47980) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jzQTe-00045b-3v for guix-patches@gnu.org; Sat, 25 Jul 2020 16:09:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39677) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jzQTd-0007Qi-Pe for guix-patches@gnu.org; Sat, 25 Jul 2020 16:09:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jzQTd-0002JC-Ly for guix-patches@gnu.org; Sat, 25 Jul 2020 16:09:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#39136] [PATCH] gnu: services: Add endlessh. Resent-From: Oleg Pykhalov Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 25 Jul 2020 20:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39136 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: anothersms@gmail.com (=?UTF-8?Q?Nicol=C3=B2?= Balzarotti) Cc: 39136@debbugs.gnu.org Received: via spool by 39136-submit@debbugs.gnu.org id=B39136.15957077358862 (code B ref 39136); Sat, 25 Jul 2020 20:09:01 +0000 Received: (at 39136) by debbugs.gnu.org; 25 Jul 2020 20:08:55 +0000 Received: from localhost ([127.0.0.1]:51223 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jzQTX-0002Is-6K for submit@debbugs.gnu.org; Sat, 25 Jul 2020 16:08:55 -0400 Received: from mail-lj1-f169.google.com ([209.85.208.169]:35362) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jzQTV-0002IX-Pw for 39136@debbugs.gnu.org; Sat, 25 Jul 2020 16:08:54 -0400 Received: by mail-lj1-f169.google.com with SMTP id q4so13337927lji.2 for <39136@debbugs.gnu.org>; Sat, 25 Jul 2020 13:08:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=YlsGf/6tUQEbCjhz+rRJY6MsIxTjTcrGPc8aDV9CTVo=; b=V4TqgogwNu5maVvz/ohf6IwclaBDiEbGdgwWN5AEWc/a6u67ul+XrcOe32F6Vs6wdO 31uMQ1AJmiqEhR27yA3XhIUPGpVtKJot78mvq/pVkAbaZ489Sz/+UnRfW58C/5E4U64E m9yyZSJyyhtlqkrfBsFE8Vv3YvI+d7kSX5KYNAdI5KHxrcy1IW8g9RUF6MteWE+O63AC ODkl7GLx5PLgi7HmLl7u/dZUo1ztM9rplp9s9P4fY9EKKcVC9FA4yTQg6SoHdhdiTz4o 9PYp+RGEjMXk6iUa4OH1UwnluZ1R0hOpYiLNwAnL0zuzi5Rv49am1VfHWF5VIGGgvuHQ Uv/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=YlsGf/6tUQEbCjhz+rRJY6MsIxTjTcrGPc8aDV9CTVo=; b=YfIk5YBPaEaXtWtSF9EVjy+5Vye0pJaNTLTAn3D6sFVQTcUAOK2lnQqLEcUyenGcsk cdeNfaH26npNJt38v40Nzz2PLjshO8NqYALPrcN1y8b2fRGXTzoFgeLLasIRIejtIP1S d8RYo1at3C+d5KLXnIiQg0UEzXsgMDF0ztsftuohFE6ncQgpj6owiQVNvy0XDV2C+PmG 4U6TiVHuDr53nQ6Uu0r8uT6Yrz83GhUyLyWpgbfmC9EFVPRvxNYZP3SIYHa5Cead0VBs 4ZaunJ3oVulb/vyU1VgQtYW+OxUcB6w0uY7V0TiRxHyOwDKNjzTd+eJkjBfb11R+LFEA VE8w== X-Gm-Message-State: AOAM533rjCB5KPodzroSFOVrm8BZhVPu1VItp4M+a9f/4GWzUYqA/c65 DECEM0ul8zbvDnJ0e0SbOgoobohw X-Google-Smtp-Source: ABdhPJwl+rNSZErxLfj3AEUSaLAy0fNA80ySiloRVY7hohLJJTrBeGgmb/lUcVhxE9SVBJGkWZDj+g== X-Received: by 2002:a05:651c:1134:: with SMTP id e20mr2066962ljo.40.1595707727552; Sat, 25 Jul 2020 13:08:47 -0700 (PDT) Received: from guixsd (ppp91-122-98-213.pppoe.avangarddsl.ru. [91.122.98.213]) by smtp.gmail.com with ESMTPSA id m26sm211705ljc.129.2020.07.25.13.08.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Jul 2020 13:08:46 -0700 (PDT) From: Oleg Pykhalov References: <874kwx91k6.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me> Date: Sat, 25 Jul 2020 23:08:44 +0300 In-Reply-To: <874kwx91k6.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me> ("=?UTF-8?Q?Nicol=C3=B2?= Balzarotti"'s message of "Tue, 14 Jan 2020 22:21:29 +0100") Message-ID: <87365fl5mb.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=V4Tqgogw; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: -2.01 X-TUID: 6JmDYz5bbs0b --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, That patch was forgotten for some reason, but we still have a succeeded to build =E2=80=98endlessh=E2=80=99 package which missing a service! :-) anothersms@gmail.com (Nicol=C3=B2 Balzarotti) writes: > This is my first service :) I know I still miss documentation and tests, > but before diving into it I wanted a general feedback on it (so that if > we decide to change something I don't have to adjust the docs and the > tests twice). Tests are appreciated ;-) > Endlessh is already in the repo, but for those who don't know: it's a > fake ssh server; it should be used to prevent bruteforce attacks and the > like by "freezing" the connection on the standard port (while the real > ssh server is on another non-standard port). So, I don't know if as > default port should be 22 or, as it is now, 2222 (program's default). 2222 is OK. But we need this be documented in =E2=80=98doc/guix.texi=E2=80= =99. Could you take a look on this, please? > My second doubt is regarding the place; it's an ssh server, but its main > purpose is for security? Maybe should go under admin.scm? I'm not sure I think gnu/services/ssh.scm is good. [=E2=80=A6] > +(define-record-type* > + endlessh-configuration make-endlessh-configuration > + endlessh-configuration? > + ;; list of two symbols, allowed values are ipv4, ipv6 or both > + (bind-family endlessh-configuration-bind-family (default '(ipv4 ipv6))) Please, move =E2=80=98(default =E2=80=A6)=E2=80=99 things on a separate lin= e. [=E2=80=A6] Otherwise LGTM. Could you send an update with a documented service? Thanks, Oleg. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEcjhxI46s62NFSFhXFn+OpQAa+pwFAl8ckUwACgkQFn+OpQAa +px84Q//cThaNKqntgDxuutVSS1XIFeUFFgpcWmUHtJOnvz+9PxQ1gZDzJY5R9xO GHERkNjoZopFfrt59owcIoBmnickxUembFYKQjssZscedr9prbX6oGjYgN5znKpk xN2lAcS11XsKMecv+M5UJvGvRGsXHcFQJl7nafyyIhlF3qbQmcgUO5r1PfjPSgrU uK8AyEvbdgYYQbvZTrboFPBn/frj+mIQ8HdXwaBtBBHuR8AcYderFCfD9fabWB8G Tb4Qh3dpF3W2FhY8x8FpYxEsZA4RR8YoHAHX8TLcqtRb/7IVscYb78L+TUEs53bs yb2o6RGpTsmRl7Muiw6Q4gGn7fdM9v28lgddILD6OB5dLImlP72YT9V6sTQ/Wev6 WFikCwH5ulrvhREP+cbYQPwV9XxgUj0EuXvd+Ya77ggG6x3Y6WnGRxEwL9Haykqi +HuRkj0k5GB5kWxjpNtmMd6QRV58SXRr7Zq5jrJvbPU+4Xa7joeLUOeKjmJ7PeXN SmGVgmiIKmflxGFI0DrXBP6e88XLwJkRKbeej+t8AlUffe5LXBH0ZS2+I6yhdDtr +uDTPIR2r7RL45CHeyO9E16umSXhyZU0RjhXVQ+lg83wjZgBajU3R4bmNYQQK85P 6ZZjZ6uLaHTSfkzGnD8t3GIusFzbEk11XD/QviSZC2j38pK5SOg= =XbGN -----END PGP SIGNATURE----- --=-=-=--