X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=doc%2Fsample-ngircd.conf.tmpl;h=7cfe08f7cc8000df1d3f5ec26c8e498833cd5c48;hb=71d8c371711f70e2d4b7ef9c908443a018cd6701;hp=c6dde60da6ac48db669bd0fe7219eb22de5d1dca;hpb=4a197638688d4e39d57f201ac735a38c9fc5a260;p=ngircd-alex.git diff --git a/doc/sample-ngircd.conf.tmpl b/doc/sample-ngircd.conf.tmpl index c6dde60d..7cfe08f7 100644 --- a/doc/sample-ngircd.conf.tmpl +++ b/doc/sample-ngircd.conf.tmpl @@ -24,6 +24,12 @@ # (".") and be unique in the IRC network. Required! Name = irc.the.net + # Set this hostname for every client instead of the real one + ;ClientHost = irc.the.net + + # Set every clients' user name to their nick name + ;ClientUserNick = yes + # Info text of the server. This will be shown by WHOIS and # LINKS requests for example. Info = Server Info Text @@ -51,16 +57,16 @@ ;SSLPorts = 6697, 9999 # SSL Server Key - ;SSLKeyFile = :ETCDIR:ssl/server-key.pem + ;SSLKeyFile = :ETCDIR:/ssl/server-key.pem # password to decrypt SSLKeyFile (OpenSSL only) ;SSLKeyFilePassword = secret # SSL Server Key Certificate - ;SSLCertFile = :ETCDIR:ssl/server-cert.pem + ;SSLCertFile = :ETCDIR:/ssl/server-cert.pem # Diffie-Hellman parameters - ;SSLDHFile = :ETCDIR:ssl/dhparams.pem + ;SSLDHFile = :ETCDIR:/ssl/dhparams.pem # comma separated list of IP addresses on which the server should # listen. Default values are: @@ -77,7 +83,7 @@ # Text file with the "message of the day" (MOTD). This message will # be shown to all users connecting to the server: - ;MotdFile = :ETCDIR:ngircd.motd + ;MotdFile = :ETCDIR:/ngircd.motd # A simple Phrase (<256 chars) if you don't want to use a motd file. ;MotdPhrase = "Hello world!" @@ -134,20 +140,6 @@ # Allow Pre-Defined Channels only (see Section [Channels]) ;PredefChannelsOnly = no - # Don't do any DNS lookups when a client connects to the server. - ;NoDNS = no - - # Don't do any IDENT lookups, even if ngIRCd has been compiled - # with support for it. - ;NoIdent = no - - # Don't use PAM, even if ngIRCd has been compiled with support for it. - ;NoPAM = no - - # Don't use ZeroConf service registration, even if ngIRCd has been - # compiled with support for it (e.g. Howl, Avahi, Mac OS X). - ;NoZeroConf = no - # try to connect to other irc servers using ipv4 and ipv6, if possible ;ConnectIPv6 = yes ;ConnectIPv4 = yes @@ -168,6 +160,16 @@ # maximum nick name length! ;MaxNickLength = 9 +[Features] + # Do any DNS lookups when a client connects to the server. + ;DNS = yes + + # Do any IDENT lookups if ngIRCd has been compiled with support for it. + ;Ident = yes + + # Use PAM if ngIRCd has been compiled with support for it. + ;PAM = no + [Operator] # [Operator] sections are used to define IRC Operators. There may be # more than one [Operator] block, one for each local operator. @@ -270,7 +272,7 @@ # Key file, syntax for each line: "::". # Default: none. - ;KeyFile = :ETCDIR:#chan.key + ;KeyFile = :ETCDIR:/#chan.key # maximum users per channel (mode l) ;MaxUsers = 23