commit b160f574dee613598d3adcb46169d898ca45f252 from: Florian Westphal date: Sat Oct 13 20:45:11 2007 UTC fix doc and manpage wrt. MaxConnections, MaxConnectionsIP and MaxJoins values commit - d223b587e4a3fc76ff8f8f1068c7a09dc6d9ac59 commit + b160f574dee613598d3adcb46169d898ca45f252 blob - d99ad969beba99db91f5ad8607d61da3a1f49a66 blob + e17b0e60690dd5b46a886985391acc7a083c3b9d --- doc/sample-ngircd.conf +++ doc/sample-ngircd.conf @@ -1,4 +1,4 @@ -# $Id: sample-ngircd.conf,v 1.40 2007/10/04 10:14:52 alex Exp $ +# $Id: sample-ngircd.conf,v 1.41 2007/10/13 20:45:11 fw Exp $ # # This is a sample configuration file for the ngIRCd, which must be adepted @@ -101,14 +101,14 @@ ;PredefChannelsOnly = no # Maximum number of simultaneous connection the server is allowed - # to accept (<=0: unlimited): - ;MaxConnections = -1 + # to accept (0: unlimited): + ;MaxConnections = 0 # Maximum number of simultaneous connections from a single IP address - # the server will accept (<=0: unlimited): + # the server will accept (0: unlimited): ;MaxConnectionsIP = 5 - # Maximum number of channels a user can be member of (<=0: no limit): + # Maximum number of channels a user can be member of (0: no limit): ;MaxJoins = 10 [Operator] blob - b86302995fb4b8d851b7fa2d8011fd505f5ea134 blob + f2443671b1bebc809f2c3eae3f06d4b1dc46b1ea --- man/ngircd.conf.5.tmpl +++ man/ngircd.conf.5.tmpl @@ -1,5 +1,5 @@ .\" -.\" $Id: ngircd.conf.5.tmpl,v 1.3 2007/06/28 05:15:14 fw Exp $ +.\" $Id: ngircd.conf.5.tmpl,v 1.4 2007/10/13 20:45:12 fw Exp $ .\" .TH ngircd.conf 5 "August 2005" ngircd "ngIRCd Manual" .SH NAME @@ -153,15 +153,15 @@ the config file. .TP \fBMaxConnections\fR Maximum number of simultaneous connection the server is allowed to accept -(<=0: unlimited). Default: -1. +(0: unlimited). Default: 0. .TP \fBMaxConnectionsIP\fR Maximum number of simultaneous connections from a single IP address that -the server will accept (<=0: unlimited). This configuration options lowers +the server will accept (0: unlimited). This configuration options lowers the risk of denial of service attacks (DoS). Default: 5. .TP \fBMaxJoins\fR -Maximum number of channels a user can be member of (<=0: no limit). +Maximum number of channels a user can be member of (0: no limit). Default: 10. .SH [OPERATOR] .I [Operator]