X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=blobdiff_plain;f=doc%2Fsample-ngircd.conf.tmpl;h=85917597c543e7d0fdc368ccd733cbd8b448cbe6;hp=c6dde60da6ac48db669bd0fe7219eb22de5d1dca;hb=25dd193e9b49b38db39cf549f94df4ba11812fe9;hpb=4a197638688d4e39d57f201ac735a38c9fc5a260 diff --git a/doc/sample-ngircd.conf.tmpl b/doc/sample-ngircd.conf.tmpl index c6dde60d..85917597 100644 --- a/doc/sample-ngircd.conf.tmpl +++ b/doc/sample-ngircd.conf.tmpl @@ -51,16 +51,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 +77,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 +134,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 +154,22 @@ # maximum nick name length! ;MaxNickLength = 9 + # 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 + +[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