unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#43142] [PATCH] gnu: Add knockd.
       [not found] <861573269.1118153.1598909190486.ref@mail.yahoo.com>
@ 2020-08-31 21:26 ` Hendur Saga via Guix-patches via
  2020-09-02 15:17   ` bug#43142: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Hendur Saga via Guix-patches via @ 2020-08-31 21:26 UTC (permalink / raw)
  To: 43142


[-- 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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#43142: [PATCH] gnu: Add knockd.
  2020-08-31 21:26 ` [bug#43142] [PATCH] gnu: Add knockd Hendur Saga via Guix-patches via
@ 2020-09-02 15:17   ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2020-09-02 15:17 UTC (permalink / raw)
  To: Hendur Saga; +Cc: 43142-done

Hi,

Hendur Saga <hendursaga@yahoo.com> skribis:

> A patch for a port-knocker daemon. I might work on a knockd-service definition sometime.
> - Hendur Saga
> 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.

[...]

> +    (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))

Remove this last line and applied, thanks!

Ludo’.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-09-02 15:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <861573269.1118153.1598909190486.ref@mail.yahoo.com>
2020-08-31 21:26 ` [bug#43142] [PATCH] gnu: Add knockd Hendur Saga via Guix-patches via
2020-09-02 15:17   ` bug#43142: " Ludovic Courtès

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).