aboutsummaryrefslogtreecommitdiffstats
path: root/testing/stunnel/stunnel.conf
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-05-28 06:51:25 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-05-28 07:19:29 +0000
commit978b7d0426de9969be878d98a8fd4ab5a67e7a0c (patch)
tree1a35f68bd55ebaa17fb3a9a2726ec0744ae8effb /testing/stunnel/stunnel.conf
parent17d84baf11e5dc0ad41efa1dd9057f44da3e2065 (diff)
downloadaports-978b7d0426de9969be878d98a8fd4ab5a67e7a0c.tar.bz2
aports-978b7d0426de9969be878d98a8fd4ab5a67e7a0c.tar.xz
testing/stunnel: upgrade to 5.01 and add init.d script
Diffstat (limited to 'testing/stunnel/stunnel.conf')
-rw-r--r--testing/stunnel/stunnel.conf61
1 files changed, 61 insertions, 0 deletions
diff --git a/testing/stunnel/stunnel.conf b/testing/stunnel/stunnel.conf
new file mode 100644
index 0000000000..4aa8b8c525
--- /dev/null
+++ b/testing/stunnel/stunnel.conf
@@ -0,0 +1,61 @@
+# Sample stunnel configuration file by Michal Trojnara 2002-2005
+# Some options used here may not be adequate for your particular configuration
+# Please make sure you understand them (especially the effect of chroot jail)
+
+# Certificate/key is needed in server mode and optional in client mode
+# cert = /etc/stunnel/stunnel.pem
+# key = /etc/stunnel/stunnel.pem
+
+# Some security enhancements for UNIX systems - comment them out on Win32
+# chroot = /chroot/stunnel/
+setuid = stunnel
+setgid = stunnel
+# PID is created inside chroot jail
+pid = /var/run/stunnel/stunnel.pid
+
+# Some performance tunings
+socket = l:TCP_NODELAY=1
+socket = r:TCP_NODELAY=1
+#compression = rle
+
+# Workaround for Eudora bug
+#options = DONT_INSERT_EMPTY_FRAGMENTS
+
+# Authentication stuff
+#verify = 2
+# Don't forget to c_rehash CApath
+# CApath is located inside chroot jail:
+#CApath = /certs
+# It's often easier to use CAfile:
+#CAfile = /etc/stunnel/certs.pem
+# Don't forget to c_rehash CRLpath
+# CRLpath is located inside chroot jail:
+#CRLpath = /crls
+# Alternatively you can use CRLfile:
+#CRLfile = /etc/stunnel/crls.pem
+
+# Some debugging stuff useful for troubleshooting
+#debug = 7
+#output = stunnel.log
+
+# Use it for client mode
+#client = yes
+
+# Service-level configuration
+
+#[pop3s]
+#accept = 995
+#connect = 110
+
+#[imaps]
+#accept = 993
+#connect = 143
+
+#[ssmtp]
+#accept = 465
+#connect = 25
+
+#[https]
+#accept = 443
+#connect = 80
+#TIMEOUTclose = 0