Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* doc/example.conf.quick - ircd-hybrid-7 Example configuration file
- * Copyright (C) 2000-2005 Hybrid Development Team
- *
- * Written by ejb, wcampbel, db, leeh and others
- *
- * $Id: example.conf.quick 493 2007-07-07 17:45:14Z jon $
- */
- /* IMPORTANT NOTES:
- *
- * auth {} blocks MUST be specified in order of precedence. The first one
- * that matches a user will be used. So place spoofs first, then specials,
- * then general access, then restricted.
- *
- * Both shell style (#) and C style comments are supported.
- *
- * Files may be included by either:
- * .include "filename"
- * .include <filename>
- *
- * Times/durations are written as:
- * 12 hours 30 minutes 1 second
- *
- * Valid units of time:
- * month, week, day, hour, minute, second
- *
- * Valid units of size:
- * megabyte/mbyte/mb, kilobyte/kbyte/kb, byte
- *
- * Sizes and times may be singular or plural.
- */
- /* EFNET NOTE:
- *
- * This config file is NOT suitable for EFNet. EFNet admins should use
- * example.efnet.conf
- */
- serverinfo
- {
- name = "hades.arpa";
- sid = "_CHANGE_ME_";
- description = "hybrid-7 test server";
- network_name = "MyNet";
- network_desc = "This is My Network";
- hub = no;
- #vhost = "192.169.0.1";
- #vhost6 = "3ffe:80e8:546::2";
- max_clients = 512;
- #rsa_private_key_file = "/usr/local/ircd/etc/rsa.key";
- #ssl_certificate_file = "/usr/local/ircd/etc/cert.pem";
- };
- /* admin {}: contains admin information about the server. (OLD A:) */
- admin
- {
- name = "Smurf target";
- description = "Main Server Administrator";
- email = "<syn@packets.r.us>";
- };
- /* logging {}: contains information about logfiles. */
- logging
- {
- use_logging = yes;
- fuserlog = "logs/userlog";
- foperlog = "logs/operlog";
- ffailed_operlog = "logs/foperlog";
- log_level = L_INFO;
- };
- /* class {}: contain information about classes for users (OLD Y:) */
- class
- {
- name = "users";
- ping_time = 2 minutes;
- number_per_ip = 2;
- max_number = 100;
- sendq = 100 kbytes;
- };
- class
- {
- name = "restricted";
- ping_time = 1 minute 30 seconds;
- number_per_ip = 1;
- max_number = 100;
- sendq = 60 kb;
- };
- class
- {
- name = "opers";
- ping_time = 5 minutes;
- number_per_ip = 10;
- max_number = 100;
- sendq = 100 kbytes;
- };
- class
- {
- name = "server";
- ping_time = 5 minutes;
- ping_warning = 15 seconds;
- connectfreq = 5 minutes;
- max_number = 1;
- sendq = 2 megabytes;
- };
- /* listen {}: contain information about the ports ircd listens on (OLD P:) */
- listen
- {
- port = 6665. .6669;
- flags = ssl;
- port = 6697;
- host = "1.2.3.4";
- port = 7000, 7001;
- host = "3ffe:1234:a:b:c::d";
- port = 7002;
- };
- /* auth {}: allow users to connect to the ircd (OLD I:) */
- auth
- {
- user = "*@172.16.0.0/12";
- user = "*test@123D:B567:*";
- password = "letmein";
- flags = need_password, spoof_notice, exceed_limit, kline_exempt, gline_exempt, no_tilde;
- spoof = "I.still.hate.packets";
- class = "opers";
- };
- auth
- {
- redirserv = "irc.fi";
- redirport = 6667;
- user = "*.fi";
- class = "users";
- };
- /* CGI IRC AUTHENTICATION */
- auth
- {
- user = "*@172.16.1.1/32";
- password = "letmein";
- encrypted = yes;
- class = "users";
- flags = need_password, webirc;
- };
- auth
- {
- user = "*@*";
- class = "users";
- flags = need_ident;
- };
- /* operator {}: defines ircd operators. (OLD O:)
- * ircd-hybrid no longer supports local operators, privileges are
- * controlled via flags.
- */
- operator
- {
- name = "god";
- user = "*god@*";
- user = "*@127.0.0.1";
- password = "etcnjl8juSU1E";
- encrypted = yes;
- #rsa_public_key_file = "/usr/local/ircd/etc/oper.pub";
- class = "opers";
- flags = global_kill, remote, kline, unkline, gline, xline, die, rehash, nick_changes, admin, oper_spy;
- };
- /* connect {}: controls servers we connect to (OLD C:, N:, H:, L:) */
- connect
- {
- name = "irc.uplink.com";
- host = "192.168.0.1";
- send_password = "password";
- accept_password = "anotherpassword";
- encrypted = no;
- port = 6666;
- hub_mask = "*";
- #leaf_mask = "*.uk";
- class = "server";
- flags = autoconn;
- #fakename = "*.arpa";
- };
- connect
- {
- name = "encrypted.auth.example";
- host = "some.host.somewhere";
- port = 6667;
- flags = cryptlink;
- rsa_public_key_file = "etc/remote.server.keyfile";
- #cipher_preference = "BF/168";
- };
- connect
- {
- name = "ipv6.some.server";
- host = "3ffd:dead:beef::1";
- send_password = "password";
- accept_password = "password";
- port = 6666;
- aftype = ipv6;
- class = "server";
- };
- /* cluster{}: servers that share klines/unkline/xline/unxline/resv/unresv/locops
- * automatically (OLD hyb6 SLAVE_SERVERS)
- */
- cluster
- {
- /* name: the server to share with, this can take wildcards */
- /* NOTE: only local actions will be clustered, meaning if
- * the server receives a shared kline/unkline/etc, it
- * will not be propagated to clustered servers.
- */
- name = "*.arpa";
- /* type: list of what to share, options are as follows:
- * kline - share klines
- * unkline - share unklines
- * xline - share xlines
- * unxline - share unxlines
- * resv - share resvs
- * unresv - share unresvs
- * locops - share locops
- * all - share all of the above
- */
- type = kline, unkline, locops, xline, resv;
- };
- /* shared {}: users that are allowed to remote kline (OLD U:) */
- shared
- {
- name = "irc2.some.server";
- user = "oper@my.host.is.spoofed";
- type = all;
- };
- /* kill {}: users that are not allowed to connect (OLD K:)
- * Oper issued klines will be added to the specified kline config
- */
- kill
- {
- user = "bad@*.hacked.edu";
- reason = "Obviously hacked account";
- };
- /* deny {}: IPs that are not allowed to connect (before DNS/ident lookup)
- * Oper issued dlines will be added to the specified dline config
- */
- deny
- {
- ip = "10.0.1.0/24";
- reason = "Reconnecting vhosted bots";
- };
- /* exempt {}: IPs that are exempt from deny {} and Dlines. (OLD d:) */
- exempt
- {
- ip = "192.168.0.0/16";
- };
- /* resv {}: nicks and channels users may not use/join (OLD Q:) */
- resv
- {
- nick = "nickserv";
- nick = "chanserv";
- channel = "#services";
- reason = "Clone bots";
- nick = "clone*";
- };
- gecos
- {
- name = "*sex*";
- reason = "Possible spambot";
- };
- gecos
- {
- name = "sub7server";
- reason = "Trojan drone";
- };
- gecos
- {
- name = "*http*";
- reason = "Spambot";
- };
- channel
- {
- regex_bans = no;
- cycle_on_hostchange = yes;
- disable_fake_channels = yes;
- restrict_channels = no;
- disable_local_channels = no;
- use_invex = yes;
- use_except = yes;
- use_knock = yes;
- knock_delay = 5 minutes;
- knock_delay_channel = 1 minute;
- burst_topicwho = yes;
- max_chans_per_user = 15;
- quiet_on_ban = yes;
- max_bans = 25;
- join_flood_count = 16;
- join_flood_time = 8 seconds;
- default_split_user_count = 0;
- default_split_server_count = 0;
- no_create_on_split = yes;
- no_join_on_split = no;
- };
- serverhide
- {
- flatten_links = no;
- links_delay = 5 minutes;
- hidden = no;
- disable_hidden = no;
- hide_servers = no;
- hidden_name = "*.hidden.com";
- hide_server_ips = no;
- };
- general
- {
- cloak_key1 = "PleaseChangeMe";
- cloak_key2 = "PleaseChangeMe";
- cloak_key3 = "PleaseChangeMe";
- services_name = "services.your.net";
- kill_chase_time_limit = 90;
- hide_spoof_ips = yes;
- hide_killer = no;
- ignore_bogus_ts = no;
- disable_auth = no;
- disable_remote_commands = no;
- default_floodcount = 10;
- failed_oper_notice = yes;
- dots_in_ident = 2;
- dot_in_ip6_addr = yes;
- 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;
- anti_spam_connect_numeric = no;
- ts_warn_delta = 30 seconds;
- ts_max_delta = 5 minutes;
- kline_with_reason = yes;
- kline_with_connection_closed = no;
- reject_hold_time = 0;
- invisible_on_connect = yes;
- warn_no_nline = yes;
- stats_o_oper_only = yes;
- stats_P_oper_only = no;
- stats_i_oper_only = masked;
- stats_k_oper_only = masked;
- caller_id_wait = 1 minute;
- pace_wait_simple = 1 second;
- pace_wait = 10 seconds;
- short_motd = no;
- ping_cookie = no;
- no_oper_flood = yes;
- true_no_oper_flood = yes;
- oper_pass_resv = yes;
- idletime = 0;
- /* REMOVE ME. The following line checks you've been reading. */
- havent_read_conf = 1;
- max_targets = 4;
- client_flood = 2560;
- message_locale = "standard";
- oper_only_umodes = bots, cconn, cconn_full, debug, full, skill,
- nchange, rej, spy, external, operwall, locops, unauth, hidechannels;
- oper_umodes = bots, locops, servnotice, operwall, wallop;
- #servlink_path = "/usr/local/ircd/bin/servlink";
- #default_cipher_preference = "BF/168";
- #use_egd = yes;
- #egdpool_path = "/var/run/egd-pool";
- #compression_level = 6;
- throttle_time = 10;
- };
- glines
- {
- enable = yes;
- duration = 1 day;
- logging = reject;
- user = "god@I.still.hate.packets";
- name = "hades.arpa";
- action = reject, block;
- user = "god@*";
- name = "*";
- action = block;
- };
- modules
- {
- path = "/usr/local/ircd/modules";
- path = "/usr/local/ircd/modules/autoload";
- #module = "some_module.so";
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement