packages/net/stunnel/patches/105-stunnel-conf.patch

55 lines
887 B
Diff
Raw Normal View History

--- a/tools/stunnel.conf-sample.in
+++ b/tools/stunnel.conf-sample.in
@@ -7,7 +7,7 @@ cert = @sysconfdir@/stunnel/stunnel.pem
;key = @sysconfdir@/stunnel/stunnel.pem
; Protocol version (all, SSLv2, SSLv3, TLSv1)
-sslVersion = SSLv3
+sslVersion = all
; Some security enhancements for UNIX systems - comment them out on Win32
chroot = @localstatedir@
@@ -46,21 +46,26 @@ socket = r:TCP_NODELAY=1
; 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
+;[pop3s]
+;accept = 995
+;connect = 110
+
+;[imaps]
+;accept = 993
+;connect = 143
+
+;[ssmtp]
+;accept = 465
+;connect = 25
+
+[https]
+accept = 443
+connect = 80
+TIMEOUTclose = 0
+
+[chilli]
+accept = 3443
+connect = 3442
+TIMEOUTclose = 0
; vim:ft=dosini