Ability to listen on raw and TLS sockets simultaneously

This commit is contained in:
Sergey Matveev 2014-08-14 18:46:21 +04:00
parent 4f5fa51327
commit b35f6e7b3c
2 changed files with 45 additions and 31 deletions

9
README
View file

@ -56,11 +56,18 @@ Just execute goircd daemon. It has following optional arguments:
* -statedir: directory where all channels states will be saved and
loaded during startup. If omitted, then states will be
lost after daemon termination
* -tls_key/-tls_cert: enable TLS and specify key and certificate file
* -tlsbind/-tlskey/-tlscert: enable TLS, specify address to listen on,
certificate and key files
* -passwords: enable client authentication and specify path to
passwords file
* -verbose: increase log messages verbosity
TLS
If you specify -bind and -tlsbind simultaneously, then you will have
both raw and encrypted listening sockets. You can use -bind "" to
disable raw socket.
AUTHENTICATION
You can turn on optional client authentication by preparing passwords