From b160f574dee613598d3adcb46169d898ca45f252 Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Sat, 13 Oct 2007 20:45:11 +0000 Subject: [PATCH 1/1] fix doc and manpage wrt. MaxConnections, MaxConnectionsIP and MaxJoins values --- doc/sample-ngircd.conf | 10 +++++----- man/ngircd.conf.5.tmpl | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/doc/sample-ngircd.conf b/doc/sample-ngircd.conf index d99ad969..e17b0e60 100644 --- a/doc/sample-ngircd.conf +++ b/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] diff --git a/man/ngircd.conf.5.tmpl b/man/ngircd.conf.5.tmpl index b8630299..f2443671 100644 --- a/man/ngircd.conf.5.tmpl +++ b/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] -- 2.39.2