| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192 |
- ##
- ## server.conf -- Ratbox IRC Server Configuration
- ## (see @l_prefix@/share/ratbox/server.conf.sample for more)
- ##
- serverinfo {
- name = "irc.example.com";
- use_ts6 = yes;
- sid = "42X";
- description = "Example IRC Services";
- network_name = "ExNet";
- network_desc = "Example IRC Network";
- hub = no;
- };
- admin {
- name = "irc-admin";
- description = "Example IRC Server Administrator";
- email = "<irc-admin@example.com>";
- };
- class "users" {
- number_per_ident = 2;
- number_per_ip = 4;
- number_per_ip_global = 8;
- max_number = 100;
- sendq = 100 kbytes;
- };
- class "opers" {
- number_per_ident = 2;
- number_per_ip = 4;
- number_per_ip_global = 8;
- max_number = 10;
- sendq = 100 kbytes;
- };
- class "server" {
- ping_time = 5 minutes;
- connectfreq = 5 minutes;
- max_number = 1;
- sendq = 2 megabytes;
- sendq_eob = 500 kbytes;
- };
- listen {
- host = "127.0.0.1";
- port = 6667;
- };
- auth {
- user = "foo@*";
- password = "bar";
- spoof = "foo@example.com";
- flags = no_tilde;
- class = "opers";
- };
- auth {
- user = "*@*";
- flags = no_tilde;
- class = "users";
- };
- operator "god" {
- user = "*@127.0.0.1";
- password = "bar";
- flags = global_kill, remote, kline, unkline, gline,
- die, rehash, admin, xline, operwall;
- };
- connect "irc-services.example.com" {
- host = "127.0.0.1";
- send_password = "services-secret";
- accept_password = "services-secret";
- port = 6666;
- class = "server";
- hub_mask = "*";
- };
- cluster {
- name = "*";
- type = all;
- };
- resv {
- reason = "There are no services on this network";
- nick = "userserv";
- nick = "chanserv";
- nick = "operserv";
- nick = "jupeserv";
- nick = "operbot";
- nick = "alis";
- nick = "global";
- channel = "#services";
- };
- channel {
- use_invex = yes;
- use_except = yes;
- use_knock = yes;
- invite_ops_only = yes;
- knock_delay = 5 minutes;
- knock_delay_channel = 1 minute;
- max_chans_per_user = 15;
- quiet_on_ban = yes;
- max_bans = 25;
- default_split_user_count = 0;
- default_split_server_count = 0;
- default_split_delay = 15 seconds;
- no_create_on_split = no;
- no_join_on_split = no;
- no_oper_resvs = no;
- burst_topicwho = yes;
- };
- serverhide {
- flatten_links = no;
- links_delay = 5 minutes;
- hidden = no;
- disable_hidden = no;
- };
- general {
- hide_error_messages = no;
- default_invisible = no;
- default_operstring = "is IRC Service Operator";
- default_adminstring = "is IRC Server Administrator";
- disable_fake_channels = yes;
- tkline_expire_notices = no;
- default_floodcount = 10;
- failed_oper_notice = yes;
- dots_in_ident = 2;
- dot_in_ip6_addr = no;
- min_nonwildcard = 4;
- min_nonwildcard_simple = 3;
- max_accept = 20;
- anti_nick_flood = yes;
- max_nick_time = 20 seconds;
- max_nick_changes = 5;
- anti_spam_exit_message_time = 5 minutes;
- ts_warn_delta = 30 seconds;
- ts_max_delta = 5 minutes;
- client_exit = yes;
- kline_delay = 0 seconds;
- kline_with_reason = yes;
- kline_reason = "Connection closed";
- non_redundant_klines = yes;
- warn_no_nline = yes;
- stats_e_disabled = no;
- stats_c_oper_only = no;
- stats_h_oper_only = no;
- stats_y_oper_only = no;
- stats_o_oper_only = yes;
- stats_P_oper_only = no;
- stats_i_oper_only = masked;
- stats_k_oper_only = masked;
- map_oper_only = no;
- operspy_admin_only = no;
- caller_id_wait = 1 minute;
- pace_wait_simple = 1 second;
- pace_wait = 10 seconds;
- short_motd = no;
- ping_cookie = no;
- connect_timeout = 30 seconds;
- disable_auth = no;
- no_oper_flood = yes;
- glines = yes;
- gline_time = 1 day;
- gline_min_cidr = 16;
- idletime = 0;
- max_targets = 4;
- client_flood = 20;
- use_whois_actually = yes;
- oper_only_umodes = bots, cconn, debug, full, skill, nchange,
- rej, spy, external, operwall, locops, unauth;
- oper_umodes = locops, servnotice, operwall, wallop;
- servlink_path = "@l_prefix@/bin/ratbox-servlink";
- compression_level = 6;
- burst_away = yes;
- reject_ban_time = 1 minute;
- reject_after_count = 3;
- reject_duration = 5 minutes;
- };
- modules {
- path = "@l_prefix@/libexec/ratbox";
- path = "@l_prefix@/libexec/ratbox/autoload";
- #module = "some_module.so";
- };
|