[Lunar-commits] <moonbase> knock: initial import

Auke Kok sofar at foo-projects.org
Thu Nov 20 22:56:54 CET 2008


commit b5428c500f3d97b1a7fe40c93ad0c60788fbbe2b
Author: Christian Riggenbach <criggenbach at magahugu.net>
Date:   Thu Nov 20 22:56:54 2008 +0100

    knock: initial import
    
    "knockd" is a port-knock-daemon. Post-knocking is a technology to open ports
    after receifing a couple of packages on defined key-ports.
    In this package, there is also a program to generate such knocks: "knock"
---
 zbeta/knock/DETAILS       |   20 ++++++++++++++++++++
 zbeta/knock/init.d/knockd |   12 ++++++++++++
 2 files changed, 32 insertions(+), 0 deletions(-)

diff --git a/zbeta/knock/DETAILS b/zbeta/knock/DETAILS
new file mode 100644
index 0000000..ea3f2d2
--- /dev/null
+++ b/zbeta/knock/DETAILS
@@ -0,0 +1,20 @@
+          MODULE=knock
+         VERSION=0.5
+          SOURCE=${MODULE}-${VERSION}.tar.gz
+      SOURCE_URL=http://www.zeroflux.org/proj/knock/files/
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE-$VERSION
+      SOURCE_VFY=sha1:26f3b2f2d698bc6978390ef6e93c628361605059
+        WEB_SITE="http://www.zeroflux.org/cgi-bin/cvstrac.cgi/knock/wiki"
+         ENTERED=20081109
+         UPDATED=20081109
+           SHORT="a port-knock server"
+cat <<EOF
+knockd is a port-knock server. It listens to all traffic on an
+ethernet (or PPP) interface, looking for special "knock" sequences of
+port-hits. A client makes these port-hits by sending a TCP (or UDP)
+packet to a port on the server. This port need not be open -- since
+knockd listens at the link-layer level, it sees all traffic even if
+it's destined for a closed port. When the server detects a specific
+sequence of port-hits, it runs a command defined in its configuration
+file. This can be used to open up holes in a firewall for quick access.
+EOF
diff --git a/zbeta/knock/init.d/knockd b/zbeta/knock/init.d/knockd
new file mode 100644
index 0000000..bbd9043
--- /dev/null
+++ b/zbeta/knock/init.d/knockd
@@ -0,0 +1,12 @@
+#!/bin/bash
+#
+# knockd	Port-knock Daemon
+#
+# chkconfig: 345 85 15
+# description: port-knock daemon
+# processname: knockd
+# config:      /etc/konckd.conf
+ARGS="-d"
+
+. /lib/lsb/init-functions
+


More information about the Lunar-commits mailing list