all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Hendur Saga via Guix-patches via <guix-patches@gnu.org>
To: 43142@debbugs.gnu.org
Subject: [bug#43142] [PATCH] gnu: Add knockd.
Date: Mon, 31 Aug 2020 21:26:30 +0000 (UTC)	[thread overview]
Message-ID: <861573269.1118153.1598909190486@mail.yahoo.com> (raw)
In-Reply-To: 861573269.1118153.1598909190486.ref@mail.yahoo.com


[-- Attachment #1.1: Type: text/plain, Size: 102 bytes --]

A patch for a port-knocker daemon. I might work on a knockd-service definition sometime.
- Hendur Saga

[-- Attachment #1.2: Type: text/html, Size: 384 bytes --]

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-knockd.patch --]
[-- Type: text/x-patch, Size: 1660 bytes --]

From 4d76736c3f64c674bd80f8fd2806ed6be202d5fa Mon Sep 17 00:00:00 2001
From: Hendursaga <hendursaga@yahoo.com>
Date: Mon, 31 Aug 2020 21:22:54 +0000
Subject: [PATCH] gnu: Add knockd.

* gnu/packages/networking.scm (knockd): New variable.
---
 gnu/packages/networking.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 1340bef8f0..10e66530df 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -379,6 +379,29 @@ sockets, and also some helper utilities around SCTP.")
       ;; Others.
       license:gpl2+))))
 
+(define-public knockd
+  (package
+    (name "knockd")
+    (version "0.7")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://www.zeroflux.org/proj/knock/files/knock-"
+                                  version ".tar.gz"))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "193qcpsy7v51c6awhg9652l5blyz8vp6n7y6fi7l4rhh6af4ff4r"))))
+    (build-system gnu-build-system)
+    (inputs
+     `(("libpcap" ,libpcap)))
+    (home-page "https://www.zeroflux.org/projects/knock")
+    (synopsis "Small port-knock daemon")
+    (description "@command{knockd} is a port-knock daemon.  It listens to all traffic on
+an ethernet or PPP interface, looking for special \"knock\" sequences of @dfn{port-hits}
+(UDP/TCP packets sent to a server port).  This port need not be open, since knockd listens
+at the link-layer level.")
+    (license license:gpl2+)))
+
 (define-public nng
   (package
     (name "nng")
-- 
2.28.0


       reply	other threads:[~2020-08-31 21:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <861573269.1118153.1598909190486.ref@mail.yahoo.com>
2020-08-31 21:26 ` Hendur Saga via Guix-patches via [this message]
2020-09-02 15:17   ` bug#43142: [PATCH] gnu: Add knockd Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=861573269.1118153.1598909190486@mail.yahoo.com \
    --to=guix-patches@gnu.org \
    --cc=43142@debbugs.gnu.org \
    --cc=hendursaga@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.