Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ircd.conf:
- serverinfo {
- name = "goodnet.irc";
- use_ts6 = yes;
- sid = "000";
- description = "ircd-ratbox GoodNet server";
- network_name = "GoodNet";
- network_desc = "GoodNet Home Network";
- hub = no;
- vhost = "10.78.23.5";# ip to bind this server too (useful on multi-ip homes)
- default_max_clients = 100;
- };
- admin {
- name = "irc";
- description = "Learning IRC";
- email = "<basnevod@gmail.com>";
- };
- log {
- fname_userlog = "/var/loguserlog";
- #fname_fuserlog = "/var/logfuserlog";
- fname_operlog = "/var/logoperlog";
- #fname_foperlog = "/var/logfoperlog";
- fname_serverlog = "/var/logserverlog";
- fname_glinelog = "/var/logglinelog";
- #fname_klinelog = "/var/logklinelog";
- fname_killlog = "/var/logkilllog";
- fname_operspylog = "/var/logoperspylog";
- #fname_ioerrorlog = "/var/logioerror";
- };
- class "users" {
- ping_time = 2 minutes;
- number_per_ident = 2;
- number_per_ip = 3;
- number_per_ip_global = 5;
- max_number = 100;
- sendq = 100 kbytes;
- };
- class "server" {
- ping_time = 5 minutes;
- connectfreq = 10 minutes;
- max_number = 1;
- sendq=2 megabytes;
- };
- listen {
- host = "10.78.23.5";
- port = 6661 .. 6669;
- };
- auth {
- user = "*@*";
- class = "users";
- };
- operator "irc" {
- user = "*@*";
- rsa_public_key_file = "/home/irc/public.key";
- flags = global_kill, remote, kline, unkline, gline, die, rehash, admin, xline, operwall;
- #password = "ehecvfhnfy"
- };
- connect "ratbox.services" {
- host = "10.78.23.5";
- send_password = "testpassword";
- accept_password = "testpassword";
- port = 5000;
- class = "server";
- flags = encrypted, global_kill, remote, kline, unkline, gline, die, rehash, admin, xline, operwall
- };
- service {
- name = "ratbox.services";
- };
- channel {
- use_invex = yes;
- use_except = yes;
- use_knock = yes;
- invite_ops_only = yes;
- knock_delay = 1 minute;
- knock_delay_channel = 1 minute;
- max_chans_per_user = 25;
- quiet_on_ban = yes;
- max_bans = 100;
- no_create_on_split = yes;
- no_join_on_split = no;
- burst_topicwho = yes;
- };
- general {
- hide_error_messages = opers;
- default_invisible = no;
- default_operstring = "is an IRC Operator";
- default_adminstring = "is a Server Administrator";
- tkline_expire_notices = no;
- default_floodcount = 10;
- disable_fake_channels = yes;
- failed_oper_notice = yes;
- dots_in_ident=2;
- dot_in_ip6_addr = no;
- min_nonwildcard = 3;
- min_nonwildcard_simple = 3;
- max_accept = 20;
- max_monitor = 60;
- anti_nick_flood = yes;
- max_nick_time = 20 seconds;
- max_nick_changes = 5;
- anti_spam_exit_message_time = 5 minutes;
- client_exit = yes;
- dline_with_reason = yes;
- kline_delay = 5 seconds;
- kline_with_reason = yes;
- kline_reason = "Connection closed";
- non_redundant_klines = yes;
- warn_no_nline = yes;
- 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 = 10;
- 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;
- };
- modules {
- path = "/usr/share/ircd/modules";
- path = "/usr/share/ircd/modules/autoload";
- };
- ratbox.services.conf:
- serverinfo {
- name = "ratbox.services";
- sid = "001";
- description = "ratbox services";
- ratbox = yes;
- };
- admin {
- name = "irc";
- description = "Main Server Administrator";
- email = "<root@localhost>";
- };
- connect "goodnet.irc" {
- host = "10.78.23.5";
- password = "testpassword"; /* this password needs to be changed */
- port = 6667;
- };
- service "userserv" {
- nick = "USERSERV";
- username = "user";
- host = "services.int";
- realname = "user registration service";
- flags = opered, msg_self;
- loglevel = 5;
- };
- service "chanserv" {
- nick = "CHANSERV";
- username = "chan";
- host = "services.int";
- realname = "channel registration service";
- flags = opered, login_help;
- };
- service "nickserv" {
- nick = "NICKSERV";
- username = "nick";
- host = "services.int";
- realname = "nickname services";
- flags = opered, msg_self, disabled;
- warn_string = "This nickname is registered, you may be disconnected if a user regains this nickname.";
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement