X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/fa6495b47f0cce2f187b29fff92bb6012630bc39..5323ec7352c35bfdb7e9144aceff357904a0918e:/doc/reference.conf diff --git a/doc/reference.conf b/doc/reference.conf index 81c0942..539ee69 100755 --- a/doc/reference.conf +++ b/doc/reference.conf @@ -4,7 +4,7 @@ * Copyright (C) 2002-2005 ircd-ratbox development team * Copyright (C) 2005-2006 charybdis development team * - * Written by ejb, wcampbel, db, leeh and others + * Written by ejb, wcampbel, db, leeh, Taros, jdhore and others * * $Id: reference.conf 3582 2007-11-17 21:55:48Z jilles $ */ @@ -74,6 +74,7 @@ * /olist - see all channels in /list, oper only -- m_olist.so * /okick - kick users without having ops, oper only -- m_okick.so * /forcejoin - force join users, admin only -- m_force.so + * roleplay commands - send msgs from fake users -- m_roleplay.so * Opers cannot be invisible (umode +i) -- no_oper_invis.so * Far connection notices (snomask +F) -- sno_farconnect.so * Remote k/d/x line active notices -- sno_globalkline.so @@ -109,6 +110,7 @@ loadmodule "extensions/m_webirc.so"; #loadmodule "extensions/m_olist.so"; #loadmodule "extensions/m_okick.so"; #loadmodule "extensions/m_force.so"; +#loadmodule "extensions/m_roleplay.so"; #loadmodule "extensions/no_oper_invis.so"; loadmodule "extensions/sno_farconnect.so"; loadmodule "extensions/sno_globalkline.so"; @@ -164,10 +166,10 @@ serverinfo { #vhost6 = "3ffe:80e8:546::2"; /* ssl_private_key: our ssl private key */ - ssl_private_key = "etc/test.key"; + ssl_private_key = "etc/ssl.key"; /* ssl_cert: certificate for our ssl server */ - ssl_cert = "etc/test.cert"; + ssl_cert = "etc/ssl.cert"; /* ssl_dh_params: DH parameters, generate with openssl dhparam -out dh.pem 1024 */ ssl_dh_params = "etc/dh.pem"; @@ -340,6 +342,15 @@ auth { user = "*@172.16.0.0/12"; user = "*test@123D:B567:*"; + /* auth_user: The username (authenticated via SASL or PASS) allowed + * to connect. You are able to put multiple auth_user lines. If people + * are authenticating via SASL in this way, it is recommended to comment + * out the password option below. You will also *NEED* to specify a user + * line above auth_user, this can safely be "*@*", however. + */ + auth_user = "jilles"; + auth_user = "jdhore"; + /* password: an optional password that is required to use this block. * By default this is not encrypted, specify the flag "encrypted" in * flags = ...; below if it is. @@ -390,20 +401,20 @@ auth { /* Example WEBIRC authblock */ auth { - /* user: webirc@IP.OF.YOUR.WEBIRC . the webirc@ part is required */ - user = "webirc@192.168.1.1"; - - /* password: password the webirc client sends in the WEBIRC command. - * You can use a encrypted password here (see above auth block). - */ - password = ""; - - /* spoof: This is required to keep it what it is currently if you - * want the webirc client to show the users' real host as their - * host on IRC. - */ - spoof = "webirc."; - class = "users"; + /* user: webirc@IP.OF.YOUR.WEBIRC . the webirc@ part is required */ + user = "webirc@192.168.1.1"; + + /* password: password the webirc client sends in the WEBIRC command. + * You can use a encrypted password here (see above auth block). + */ + password = ""; + + /* spoof: This is required to keep it what it is currently if you + * want the webirc client to show the users' real host as their + * host on IRC. + */ + spoof = "webirc."; + class = "users"; }; auth { @@ -740,11 +751,27 @@ exempt { /* The channel block contains options pertaining to channels */ channel { + /* disabledmodes: Modes that will be disabled, users will not be + * able to set them. This is only read on startup, you need to + * restart the ircd for this to have any effect. This only prevents + * local users/opers from setting these modes. This does not prevent + * remote servers/users (ex: services) from setting them. Make sure + * your services and remote servers are properly configured when + * using this option! + * Valid parameters are: CLPFQITDENGJKMrczgqefj + */ + #disabledmodes = "ME"; + /* autochanmodes: Modes that will be set on a unregistered channel * when the first user joins it. */ autochanmodes = "nt"; + /* admin_on_channel_create: If set to yes, users joining new channels + * will be given +ao instead of just +o. Requires use_admin. + */ + admin_on_channel_create = no; + /* exemptchanops: Channel modes that any form of channel ops (+aoh) * will be exempt from. Even if the mode is set, it will not apply to the * channel ops if it is listed in this option. Valid modes are cCDTNGK. @@ -771,30 +798,6 @@ channel { */ use_admin = yes; - /* invex: Enable/disable channel mode +I, a n!u@h list of masks - * that can join a +i channel without an invite. Disabling this option - * via rehash will leave all previously set invexes hanging around, - * though they will not do anything. For this reason, you may want to - * restart to disable this option. - */ - use_invex = yes; - - /* except: Enable/disable channel mode +e, a n!u@h list of masks - * that can join a channel through a ban (+b). Disabling this option - * via rehash will leave all previously set excepts hanging around, - * though they will not do anything. For this reason, you may want to - * restart to disable this option. - */ - use_except = yes; - - /* forward: Enable/disable channel mode +f, which allows you to set - * a channel to forward users to if they can't join because of +i etc. - * Disabling this option via rehash will leave all previously set - * forwards hanging around, though they will not do anything. For - * this reason, you may want to restart to disable this option. - */ - use_forward = yes; - /* knock: Allows users to request an invite to a channel that * is locked somehow (+ikl). If the channel is +p or you are banned * the knock will not be sent. @@ -821,7 +824,7 @@ channel { max_chans_per_user = 15; /* max bans: maximum number of +b/e/I/q modes in a channel */ - max_bans = 25; + max_bans = 100; /* max bans: maximum number of +b/e/I/q modes in a +L channel */ max_bans_large = 500; @@ -893,10 +896,11 @@ channel { */ resv_forcepart = yes; - /* kick_no_rejoin_time: the amount of time that a user cannot - * rejoin for after being kicked out of a +J channel. + /* channel target change: restrict how many channels users can + * message per unit of time. IRC operators, channel operators and + * voiced users are exempt. */ - kick_no_rejoin_time = 30 seconds; + channel_target_change = yes; }; @@ -904,7 +908,7 @@ channel { serverhide { /* flatten links: this option will hide various routing information * and make all servers in /links appear that they are linked to - * this server. + * this server. This option also disallows non-opers from using /map */ flatten_links = no; @@ -948,6 +952,9 @@ serverhide { * See for more information. */ blacklist { + host = "rbl.efnetrbl.org"; + reject_reason = "${nick}, your IP (${ip}) is listed in EFnet's RBL. For assistance, see http://efnetrbl.org/?i=${ip}"; + host = "dnsbl.dronebl.org"; reject_reason = "${nick}, your IP (${ip}) is listed in DroneBL. For assistance, see http://dronebl.org/lookup_branded.do?ip=${ip}&network=${network-name}"; @@ -994,6 +1001,14 @@ alias "BotServ" { target = "BotServ"; }; +alias "InfoServ" { + target = "InfoServ"; +}; + +alias "GroupServ" { + target = "GroupServ"; +}; + alias "NS" { target = "NickServ"; }; @@ -1018,6 +1033,14 @@ alias "BS" { target = "BotServ"; }; +alias "IS" { + target = "InfoServ"; +}; + +alias "GS" { + target = "GroupServ"; +}; + /* The general block contains many of the options that were once compiled * in options in config.h. The general block is read at start time. */ @@ -1085,6 +1108,12 @@ general { */ disable_fake_channels = no; + /* hide_channel_below_users: Amount of users a channel must have in it + * before it is shown in a standard LIST. This can be overridden by + * invoking LIST like: /LIST <3 + */ + hide_channel_below_users = 3; + /* tkline_expire_notices: give a notice to opers when a tkline * expires */