summaryrefslogtreecommitdiff
path: root/examples/source/sshd-4
diff options
context:
space:
mode:
Diffstat (limited to 'examples/source/sshd-4')
-rw-r--r--examples/source/sshd-4/data/rules/ip4/0.0.0.0_0/deny0
-rw-r--r--examples/source/sshd-4/data/rules/ip4/192.168.0.0_22/allow0
-rw-r--r--examples/source/sshd-4/dependencies1
-rw-r--r--examples/source/sshd-4/logger1
-rw-r--r--examples/source/sshd-4/notification-fd1
-rwxr-xr-xexamples/source/sshd-4/run7
-rw-r--r--examples/source/sshd-4/type1
7 files changed, 11 insertions, 0 deletions
diff --git a/examples/source/sshd-4/data/rules/ip4/0.0.0.0_0/deny b/examples/source/sshd-4/data/rules/ip4/0.0.0.0_0/deny
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/examples/source/sshd-4/data/rules/ip4/0.0.0.0_0/deny
diff --git a/examples/source/sshd-4/data/rules/ip4/192.168.0.0_22/allow b/examples/source/sshd-4/data/rules/ip4/192.168.0.0_22/allow
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/examples/source/sshd-4/data/rules/ip4/192.168.0.0_22/allow
diff --git a/examples/source/sshd-4/dependencies b/examples/source/sshd-4/dependencies
new file mode 100644
index 0000000..6daf05b
--- /dev/null
+++ b/examples/source/sshd-4/dependencies
@@ -0,0 +1 @@
+init-lan
diff --git a/examples/source/sshd-4/logger b/examples/source/sshd-4/logger
new file mode 100644
index 0000000..f103f82
--- /dev/null
+++ b/examples/source/sshd-4/logger
@@ -0,0 +1 @@
+sshd-4-log
diff --git a/examples/source/sshd-4/notification-fd b/examples/source/sshd-4/notification-fd
new file mode 100644
index 0000000..00750ed
--- /dev/null
+++ b/examples/source/sshd-4/notification-fd
@@ -0,0 +1 @@
+3
diff --git a/examples/source/sshd-4/run b/examples/source/sshd-4/run
new file mode 100755
index 0000000..2667ecf
--- /dev/null
+++ b/examples/source/sshd-4/run
@@ -0,0 +1,7 @@
+#!/command/execlineb -P
+fdmove -c 2 1
+import -ui ETH0_IP4
+fdmove 1 3
+s6-tcpserver4 -v 2 -1 -- ${ETH0_IP4} 22
+s6-tcpserver-access -v 2 -DRl0 -t 5000 -i data/rules --
+dropbear -i -K 60
diff --git a/examples/source/sshd-4/type b/examples/source/sshd-4/type
new file mode 100644
index 0000000..5883cff
--- /dev/null
+++ b/examples/source/sshd-4/type
@@ -0,0 +1 @@
+longrun