]> git.pld-linux.org Git - packages/stunnel.git/blob - stunnel-config.patch
- updated for 4.15
[packages/stunnel.git] / stunnel-config.patch
1 --- stunnel-4.15/tools/stunnel.conf-sample.in.orig      2006-01-07 14:58:50.000000000 +0100
2 +++ stunnel-4.15/tools/stunnel.conf-sample.in   2006-04-01 23:31:04.987918000 +0200
3 @@ -3,15 +3,16 @@
4  ; Please make sure you understand them (especially the effect of chroot jail)
5  
6  ; Certificate/key is needed in server mode and optional in client mode
7 -cert = @prefix@/etc/stunnel/mail.pem
8 -;key = @prefix@/etc/stunnel/mail.pem
9 +cert = /etc/stunnel/mail.pem
10 +;key = /etc/stunnel/mail.pem
11  
12  ; Some security enhancements for UNIX systems - comment them out on Win32
13 -chroot = @prefix@/var/lib/stunnel/
14 -setuid = nobody
15 -setgid = nogroup
16 +;chroot = @prefix@/var/lib/stunnel/
17 +setuid = stunnel
18 +setgid = stunnel
19  ; PID is created inside chroot jail
20 -pid = /stunnel.pid
21 +;pid = /stunnel.pid
22 +pid = /var/run/stunnel/stunnel.pid
23  
24  ; Some performance tunings
25  socket = l:TCP_NODELAY=1
26 @@ -43,17 +44,17 @@
27  
28  ; Service-level configuration
29  
30 -[pop3s]
31 -accept  = 995
32 -connect = 110
33 -
34 -[imaps]
35 -accept  = 993
36 -connect = 143
37 -
38 -[ssmtp]
39 -accept  = 465
40 -connect = 25
41 +;[pop3s]
42 +;accept  = 995
43 +;connect = 110
44 +
45 +;[imaps]
46 +;accept  = 993
47 +;connect = 143
48 +
49 +;[ssmtp]
50 +;accept  = 465
51 +;connect = 25
52  
53  ;[https]
54  ;accept  = 443
This page took 0.026595 seconds and 4 git commands to generate.