diff --git a/doc/example.conf b/doc/example.conf index 1d49aa40..68957548 100755 --- a/doc/example.conf +++ b/doc/example.conf @@ -139,8 +139,8 @@ listen { /* Listen on IPv6 (if you used host= above). */ #host = "3ffe:1234:a:b:c::d"; - #port = 5000, 6665 .. 6669; - #sslport = 9999; + #port = 5000, 6665 .. 6669; + #sslport = 9999; }; /* auth {}: allow users to connect to the ircd (OLD I:) @@ -168,7 +168,7 @@ auth { * specify a host or a user@host to spoof to. This is free-form, * just do everyone a favour and dont abuse it. (OLD I: = flag) */ - spoof = "I.still.hate.packets"; + spoof = "I.still.hate.packets"; /* Possible flags in auth: * @@ -182,8 +182,8 @@ auth { * jupe_exempt | exempt this user from generating * warnings joining juped channels * resv_exempt | exempt this user from resvs - * flood_exempt | exempt this user from flood limits - * USE WITH CAUTION. + * flood_exempt | exempt this user from flood limits + * USE WITH CAUTION. * no_tilde (old - flag) | don't prefix ~ to username if no ident * need_ident (old + flag) | require ident for user in this class * need_ssl | require SSL/TLS for user in this class @@ -270,7 +270,7 @@ operator "god" { * * encrypted: the password above is encrypted [DEFAULT] * need_ssl: must be using SSL/TLS to oper up - */ + */ flags = encrypted; /* privset: privileges set to grant */ @@ -330,8 +330,8 @@ channel { knock_delay = 5 minutes; knock_delay_channel = 1 minute; max_chans_per_user = 15; - max_bans = 100; - max_bans_large = 500; + max_bans = 100; + max_bans_large = 500; default_split_user_count = 0; default_split_server_count = 0; no_create_on_split = no; @@ -347,7 +347,7 @@ channel { serverhide { flatten_links = yes; links_delay = 5 minutes; - hidden = no; + hidden = no; disable_hidden = no; }; @@ -450,18 +450,18 @@ general { default_adminstring = "is a Server Administrator"; servicestring = "is a Network Service"; disable_fake_channels = no; - tkline_expire_notices = no; - default_floodcount = 10; + tkline_expire_notices = no; + default_floodcount = 10; failed_oper_notice = yes; dots_in_ident=2; min_nonwildcard = 4; min_nonwildcard_simple = 3; - max_accept = 100; + max_accept = 100; max_monitor = 100; anti_nick_flood = yes; max_nick_time = 20 seconds; max_nick_changes = 5; - anti_spam_exit_message_time = 5 minutes; + anti_spam_exit_message_time = 5 minutes; ts_warn_delta = 30 seconds; ts_max_delta = 5 minutes; client_exit = yes; @@ -484,7 +484,7 @@ general { stats_P_oper_only=no; stats_i_oper_only=masked; stats_k_oper_only=masked; - map_oper_only = no; + map_oper_only = no; operspy_admin_only = no; operspy_dont_care_user_info = no; caller_id_wait = 1 minute; @@ -498,11 +498,11 @@ general { no_oper_flood = yes; max_targets = 4; client_flood_max_lines = 20; - use_whois_actually = no; + use_whois_actually = no; oper_only_umodes = operwall, locops, servnotice; oper_umodes = locops, servnotice, operwall, wallop; oper_snomask = "+s"; - burst_away = yes; + burst_away = yes; nick_delay = 0 seconds; # 15 minutes if you want to enable this reject_ban_time = 1 minute; reject_after_count = 3; diff --git a/doc/reference.conf b/doc/reference.conf index bed0a284..5855c305 100755 --- a/doc/reference.conf +++ b/doc/reference.conf @@ -205,20 +205,20 @@ class "users" { */ ping_time = 2 minutes; - /* number per ident: the number of users per user@host networkwide - * allowed to connect. Unidented connections are classified as - * the same ident. - */ - number_per_ident = 2; + /* number per ident: the number of users per user@host networkwide + * allowed to connect. Unidented connections are classified as + * the same ident. + */ + number_per_ident = 2; /* number per ip: the number of local users per host allowed */ number_per_ip = 3; - /* number per ip global: the number of network wide connections - * per host allowed for a user, including connections to the - * local server. - */ - number_per_ip_global = 5; + /* number per ip global: the number of network wide connections + * per host allowed for a user, including connections to the + * local server. + */ + number_per_ip_global = 5; /* cidr_ipv4_bitlen: Limits numbers of connections from a subnet size */ @@ -299,8 +299,8 @@ listen { sslport = 9000, 9001; host = "3ffe:1234:a:b:c::d"; - port = 7002; - sslport = 9002; + port = 7002; + sslport = 9002; }; /* auth {}: allow users to connect to the ircd (OLD I:) */ @@ -324,7 +324,7 @@ auth { * specify a host or a user@host to spoof to. This is free-form, * just do everyone a favour and dont abuse it. (OLD I: = flag) */ - spoof = "I.still.hate.packets"; + spoof = "I.still.hate.packets"; /* Possible flags in auth: * @@ -338,8 +338,8 @@ auth { * jupe_exempt | exempt this user from generating * warnings joining juped channels * resv_exempt | exempt this user from resvs - * flood_exempt | exempt this user from flood limits - * USE WITH CAUTION. + * flood_exempt | exempt this user from flood limits + * USE WITH CAUTION. * no_tilde (old - flag) | don't prefix ~ to username if no ident * need_ident (old + flag) | require ident for user in this class * need_ssl | require SSL/TLS for user in this class @@ -428,7 +428,7 @@ operator "god" { /* user: the user@host required for this operator. CIDR *is* * supported now. auth{} spoofs work here, other spoofs do not. - * multiple user="" lines are supported. + * multiple user="" lines are supported. */ user = "*god@*"; user = "*@127.0.0.1"; @@ -471,7 +471,7 @@ operator "god" { * * encrypted: the password above is encrypted [DEFAULT] * need_ssl: must be using SSL/TLS to oper up - */ + */ flags = encrypted; /* privset: privileges set to grant */ @@ -535,16 +535,16 @@ connect "ipv6.some.server" { * if applicable. Addresses starting with a colon get an extra * zero prepended, for example: 0::1 */ - host = "3ffd:dead:beef::1"; - send_password = "password"; - accept_password = "password"; - port = 6666; + host = "3ffd:dead:beef::1"; + send_password = "password"; + accept_password = "password"; + port = 6666; /* aftype: controls whether the connection uses "ipv4" or "ipv6". * Default is ipv4. */ aftype = ipv6; - class = "server"; + class = "server"; }; connect "ssl.uplink.com" { @@ -633,7 +633,7 @@ shared { * unresv - allow removing xlines * all - allow oper/server to do all of above. * locops - allow locops - only used for servers who cluster - * rehash - allow rehashing + * rehash - allow rehashing * dline - allow setting perm/temp dlines * tdline - allow setting temp dlines * undline - allow removing dlines @@ -703,13 +703,13 @@ channel { /* max chans: The maximum number of channels a user can join/be on. */ max_chans_per_user = 15; - /* max bans: maximum number of +b/e/I/q modes in a channel */ - max_bans = 100; + /* max bans: maximum number of +b/e/I/q modes in a channel */ + max_bans = 100; - /* max bans: maximum number of +b/e/I/q modes in a +L channel */ - max_bans_large = 500; + /* max bans: maximum number of +b/e/I/q modes in a +L channel */ + max_bans_large = 500; - /* splitcode: split users, split servers and either no join on split + /* splitcode: split users, split servers and either no join on split * or no create on split must be enabled for split checking. * splitmode will be entered on either split users or split servers * dropping below the limit. @@ -758,7 +758,7 @@ channel { * or non-ASCII). */ only_ascii_channels = no; - + /* resv_forcepart: force any local users to part a channel * when a RESV is issued. */ @@ -793,7 +793,7 @@ serverhide { /* hidden: hide this server from a /links output on servers with * flatten_links enabled. this allows hub servers to be hidden etc. */ - hidden = no; + hidden = no; /* disable hidden: prevent servers hiding themselves from a * /links ouput. @@ -947,16 +947,16 @@ general { */ disable_fake_channels = no; - /* tkline_expire_notices: give a notice to opers when a tkline - * expires - */ - tkline_expire_notices = no; + /* tkline_expire_notices: give a notice to opers when a tkline + * expires + */ + tkline_expire_notices = no; /* floodcount: the default value of floodcount that is configurable * via /quote set floodcount. This is the amount of lines a user * may send to any other user/channel in one second. */ - default_floodcount = 10; + default_floodcount = 10; /* failed oper notice: send a notice to all opers on the server when * someone tries to OPER and uses the wrong password, host or ident. @@ -968,7 +968,7 @@ general { */ dots_in_ident=2; - /* min nonwildcard: the minimum non wildcard characters in k/d/g lines + /* min nonwildcard: the minimum non wildcard characters in k/d/g lines * placed via the server. klines hand placed are exempt from limits. * wildcard chars: '.' '*' '?' '@' */ @@ -980,8 +980,8 @@ general { */ min_nonwildcard_simple = 3; - /* max accept: maximum allowed /accept's for +g usermode */ - max_accept = 20; + /* max accept: maximum allowed /accept's for +g usermode */ + max_accept = 20; /* max monitor: the maximum amount of nicknames a client may have in * their monitor (server-side notify) list. @@ -995,10 +995,10 @@ general { max_nick_time = 20 seconds; max_nick_changes = 5; - /* anti spam time: the minimum time a user must be connected before + /* anti spam time: the minimum time a user must be connected before * custom quit messages are allowed. */ - anti_spam_exit_message_time = 5 minutes; + anti_spam_exit_message_time = 5 minutes; /* ts delta: the time delta allowed between server clocks before * a warning is given, or before the link is dropped. all servers @@ -1106,8 +1106,8 @@ general { */ stats_k_oper_only=masked; - /* map oper only: make /map oper only */ - map_oper_only = no; + /* map oper only: make /map oper only */ + map_oper_only = no; /* operspy admin only: make operspy notices to +Z admin only */ operspy_admin_only = no; @@ -1167,10 +1167,10 @@ general { */ max_targets = 4; - /* use_whois_actually: send clients requesting a whois a numeric - * giving the real IP of non-spoofed clients to prevent DNS abuse. - */ - use_whois_actually = yes; + /* use_whois_actually: send clients requesting a whois a numeric + * giving the real IP of non-spoofed clients to prevent DNS abuse. + */ + use_whois_actually = yes; /* usermodes configurable: a list of usermodes for the options below * @@ -1216,13 +1216,13 @@ general { */ #compression_level = 6; - /* burst_away: This enables bursting away messages to servers. - * With this disabled, we will only propogate AWAY messages - * as users send them, but never burst them. Be warned though - * enabling this could increase the size of a burst significantly - * for a large network, like EFnet. - */ - burst_away = yes; + /* burst_away: This enables bursting away messages to servers. + * With this disabled, we will only propogate AWAY messages + * as users send them, but never burst them. Be warned though + * enabling this could increase the size of a burst significantly + * for a large network, like EFnet. + */ + burst_away = yes; /* nick delay: This locks nicks of split clients for the given time * or until a remote client uses the nick. This significantly @@ -1251,20 +1251,20 @@ general { * for throttling to take effect */ throttle_count = 4; - /* client flood_max_lines: maximum number of lines in a clients queue before - * they are dropped for flooding. - */ - client_flood_max_lines = 20; + /* client flood_max_lines: maximum number of lines in a clients queue before + * they are dropped for flooding. + */ + client_flood_max_lines = 20; - /* Flood control settings. DO NOT CHANGE THESE without extensive discussion - * and testing by someone who knows exactly what they do. - * - * These settings replicate charybdis-3.3 behaviour. - */ - client_flood_burst_rate = 40; - client_flood_burst_max = 5; - client_flood_message_time = 1; - client_flood_message_num = 2; + /* Flood control settings. DO NOT CHANGE THESE without extensive discussion + * and testing by someone who knows exactly what they do. + * + * These settings replicate charybdis-3.3 behaviour. + */ + client_flood_burst_rate = 40; + client_flood_burst_max = 5; + client_flood_message_time = 1; + client_flood_message_num = 2; }; modules {