~ubuntu-branches/ubuntu/precise/stunnel4/precise-security

« back to all changes in this revision

Viewing changes to tools/stunnel.conf-sample

  • Committer: Bazaar Package Importer
  • Author(s): Julien Lemoine
  • Date: 2005-04-20 21:07:50 UTC
  • mfrom: (1.1.1 upstream) (2.1.1 hoary)
  • Revision ID: james.westby@ubuntu.com-20050420210750-0vk5fj5vh75o4d00
Tags: 2:4.090-1
* New upstream release
* include better stunnel3 compability script from upstream, options 
  like -cd can now be use instead of -c -d ...
  (closes: #305259)
* Added depends on perl-modules to allow use of stunnel3 compatibilty script

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Sample stunnel configuration file
2
 
# Copyright by Michal Trojnara 2002
3
 
 
4
 
#cert = /etc/stunnel/mail.pem
5
 
#chroot = /var/run/stunnel/
6
 
# PID is created inside chroot jail
7
 
#pid = /var/run/stunnel4/stunnel.pid
8
 
#setuid = nobody
9
 
#setgid = nogroup
10
 
 
11
 
# Workaround for Eudora bug
12
 
#options = DONT_INSERT_EMPTY_FRAGMENTS
13
 
 
14
 
# Authentication stuff
15
 
#verify = 2
16
 
# don't forget about c_rehash CApath
17
 
# it is located inside chroot jail:
18
 
#CApath = /certs
19
 
# or simply use CAfile instead:
20
 
#CAfile = /etc/stunnel/certs.pem
21
 
# CRL path or file (inside chroot jail):
22
 
#CRLpath = /crls
23
 
# or simply use CAfile instead:
24
 
#CRLfile = /etc/stunnel/crls.pem
25
 
 
26
 
# Some debugging stuff
27
 
#debug = 7
28
 
#output = stunnel.log
29
 
 
30
 
# Use it for client mode
31
 
#client = yes
32
 
 
33
 
# Service-level configuration
34
 
 
35
 
#[pop3s]
36
 
#accept  = 995
37
 
#connect = 110
38
 
 
39
 
#[imaps]
40
 
#accept  = 993
41
 
#connect = 143
42
 
 
43
 
#[ssmtp]
44
 
#accept  = 465
45
 
#connect = 25
46
 
 
47
 
#[s1]
48
 
#accept  = 5000
49
 
#connect = mail.osw.pl:110
50
 
# delay = yes
51
 
 
52
 
#[s2]
53
 
#accept  = 5001
54
 
#connect = mail.osw.pl:25
55
 
 
56
 
#[https]
57
 
#accept  = 443
58
 
#connect = 80
59
 
#TIMEOUTclose = 0
60
 
 
61
 
#[ldaps]
62
 
#accept = 389
63
 
#connect = 10.1.3.8:636
64
 
 
65
 
## encrypted uucp over tcp
66
 
## for a very terse mini-HOWTO on how to set this up, see
67
 
## http://taz.net.au/postfix/uucp/
68
 
#[uucp]
69
 
## optionally run it on a different port, so you can run unencrypted uucp as
70
 
## well as encryped uucp:
71
 
## accept = 996
72
 
#accept = 540
73
 
#exec = /usr/sbin/uucico
74
 
#execargs = uucico -l