Hi ngIRC'ers!
we discussed the layout of ngircd.conf and the massive growth of variables in the [Global] section a few weeks (months!?) ago in irc://irc.barton.de/#ngircd -- today I published a patch restructuring ngircd.conf, please review it and let me know what you think:
https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=shortlog;h=refs/heads/newconfig
The new layout splits the variables from [Global] into the sections [Global], [Limits], and [Options]. Left in [Global] are only configuration options that most probably every ngIRCd administrator has to adjust; all the limits (MaxConnections, …) and timeouts (PING, PONG) are stored below [Limits]; and all (optional) features are move into the [Options] section.
All moved or renamed variables ("NoPAM = yes" -> "PAM = no") are still recognized in their old location in [Global], but marked as "deprecated" and will emit a warning message when starting ngIRCd or running "ngircd --configtest". So you should be able to use your old configuration file without loss of functionality.
There have been no changes to the handling of [Operator], [Server], or [Channel] blocks.
What do you think?
Regards Alex
PS.: this would be the new layout:
[GLOBAL] Name AdminInfo1 AdminInfo2 AdminEMail Info Listen MotdFile MotdPhrase Password PidFile Ports ServerGID ServerUID
[LIMITS] ConnectRetry MaxConnections MaxConnectionsIP MaxJoins MaxNickLength PingTimeout PongTimeout
[OPTIONS] AllowRemoteOper ChrootDir CloakHost CloakUserToNick ConnectIPv4 ConnectIPv6 DNS Ident NoticeAuth OperCanUseMode OperServerMode PAM PredefChannelsOnly RequireAuthPing SSLCertFile SSLDHFile SSLKeyFile SSLKeyFilePassword SSLPorts SyslogFacility WebircPassword
[Operator] …
[Server] …
[Channel] …