aboutsummaryrefslogtreecommitdiffstats
path: root/examples/source/ircproxy-oftc-6-bis/run
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2025-05-05 06:29:50 +0000
committerLaurent Bercot <ska@appnovation.com>2025-05-05 06:29:50 +0000
commite18d6958b2470a2e68cc637945ccf3a1dae5c0a2 (patch)
tree90e065e7b7422c2f2dbd5d924dfcd14a2866de39 /examples/source/ircproxy-oftc-6-bis/run
parent09ccd3128f2296d3a0cd1602e64caf06cf22c64f (diff)
downloads6-rc-e18d6958b2470a2e68cc637945ccf3a1dae5c0a2.tar.gz
Update examples
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'examples/source/ircproxy-oftc-6-bis/run')
-rwxr-xr-xexamples/source/ircproxy-oftc-6-bis/run12
1 files changed, 12 insertions, 0 deletions
diff --git a/examples/source/ircproxy-oftc-6-bis/run b/examples/source/ircproxy-oftc-6-bis/run
new file mode 100755
index 0000000..e4d610d
--- /dev/null
+++ b/examples/source/ircproxy-oftc-6-bis/run
@@ -0,0 +1,12 @@
+#!/command/execlineb -P
+fdmove -c 2 1
+s6-envdir /etc/env-network
+importas -uSi ETH0_IP6_BIS
+emptyenv -p
+s6-envuidgid irc
+export CADIR /etc/ssl/ca/hashed
+fdmove 1 3
+s6-tcpserver -v -1 -U -c 255 -- ${ETH0_IP6_BIS} 1000
+s6-tcpserver-access -DHl0 --
+s6-tcpclient -6 -v -l0 -- irc6.oftc.net. 6697
+s6-tlsc-io -k irc6.oftc.net -- 6 7