From 83f7ffe7e5cb8110964209e86ce8e44b11f4088d Mon Sep 17 00:00:00 2001 From: michael Date: Wed, 16 Jan 2013 18:30:52 +0000 Subject: - Forward-port -r1750 [IMPORTANT: nick and topic lengths are now configurable via ircd.conf. A max_nick_length, as well as a max_topic_length configuration option can now be found in the serverinfo{} block] - OpenSSL 0.9.8s and higher is now required in order to enable ssl support git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1751 82007160-df01-0410-b94d-b575c5fd34c7 --- doc/example.conf | 13 +++++++++++++ doc/example.efnet.conf | 13 +++++++++++++ doc/example.quick.conf | 2 ++ 3 files changed, 28 insertions(+) (limited to 'doc') diff --git a/doc/example.conf b/doc/example.conf index 3251e8e..dc7671e 100644 --- a/doc/example.conf +++ b/doc/example.conf @@ -88,6 +88,19 @@ serverinfo { /* max_clients: the maximum number of clients allowed to connect */ max_clients = 512; + /* + * max_nick_length: only applies to local clients. Must be in the + * range of 9 to 30. Default is 9 if nothing else is specified. + */ + max_nick_length = 9; + + /* + * max_topic_length: only applies to topics set by local clients. + * Must be in the range of 80 to 300. Default is 80 if nothing + * else is specified. + */ + max_topic_length = 160; + /* * rsa_private_key_file: the path to the file containing our * rsa key for cryptlink. diff --git a/doc/example.efnet.conf b/doc/example.efnet.conf index dcff995..fc8b2d6 100644 --- a/doc/example.efnet.conf +++ b/doc/example.efnet.conf @@ -92,6 +92,19 @@ serverinfo { /* max_clients: the maximum number of clients allowed to connect */ max_clients = 512; + /* + * max_nick_length: only applies to local clients. Must be in the + * range of 9 to 30. Default is 9 if nothing else is specified. + */ + max_nick_length = 9; + + /* + * max_topic_length: only applies to topics set by local clients. + * Must be in the range of 80 to 300. Default is 80 if nothing + * else is specified. + */ + max_topic_length = 160; + /* * rsa_private_key_file: the path to the file containing our * rsa key for cryptlink. diff --git a/doc/example.quick.conf b/doc/example.quick.conf index 80e65ce..755a20c 100644 --- a/doc/example.quick.conf +++ b/doc/example.quick.conf @@ -46,6 +46,8 @@ serverinfo { #vhost = "192.169.0.1"; #vhost6 = "3ffe:80e8:546::2"; max_clients = 512; + max_nick_length = 9; + max_topic_length = 160; #rsa_private_key_file = "/usr/local/ircd/etc/rsa.key"; #ssl_certificate_file = "/usr/local/ircd/etc/cert.pem"; #ssl_server_method = tlsv1, sslv3; -- cgit