]> arthur.barton.de Git - ngircd-alex.git/blob - doc/SSL.txt
Added documentation for SSL support.
[ngircd-alex.git] / doc / SSL.txt
1
2                      ngIRCd - Next Generation IRC Server
3
4                       (c)2001-2004 by Alexander Barton,
5                     alex@barton.de, http://www.barton.de/
6
7                ngIRCd is free software and published under the
8                    terms of the GNU General Public License.
9
10                                  -- SSL.txt --
11
12
13 ngIRCd actually doesn't support secure connections for client-server or
14 server-server links using SSL, the Secure Socket Layer, by itself. But you can
15 use the stunnel() command to make this work.
16
17 Stefan Sperling (stefan at binarchy dot net) mailed me the following text as a
18 short "how-to", thanks Stefan!
19
20
21 === snip ===
22     ! This guide applies to stunnel 4.x !
23
24     Put this in your stunnel.conf:
25
26         [ircs]
27         accept = 6667
28         connect = 6668
29
30     This makes stunnel listen for incoming connections
31     on port 6667 and forward decrypted data to port 6668.
32     We call the connection 'ircs'. Stunnel will use this
33     name when logging connection attempts via syslog.
34     You can also use the name in /etc/hosts.{allow,deny}
35     if you run tcp-wrappers.
36
37     To make sure ngircd is listening on the port where
38     the decrypted data arrives, set
39
40         Ports = 6668
41
42     in your ngircd.conf.
43
44     Start stunnel and restart ngircd.
45
46     That's it.
47     Don't forget to activate ssl support in your irc client ;)
48 === snip ===
49
50
51 Probably ngIRCd will include support for SSL in the future ...
52
53
54 -- 
55 $Id: SSL.txt,v 1.1 2004/12/27 01:04:35 alex Exp $