maxchannelsperuser 10; /* The minimum time a user must be connected before being allowed to use a QUIT message, * This will hopefully help stop spam */ anti-spam-quit-message-time 10s; /* Make the message in static-quit show in all quits - meaning no custom quits are allowed on local server */ /* static-quit "Client quit"; */

/* You can also block all part reasons by uncommenting this and say 'yes', * or specify some other text (eg: "Bye bye!") to always use as a comment.. */ /* static-part yes; */

/* This allows you to make certain stats oper only, use * for all stats, * leave it out to allow users to see all stats. Type '/stats' for a full list. * Some admins might want to remove the 'kGs' to allow normal users to list * klines, glines and shuns. */ oper-only-stats "okfGsMRUEelLCXzdD";

maxchannelsperuser 30; /* The minimum time a user must be connected before being allowed to use a QUIT message, * This will hopefully help stop spam */ anti-spam-quit-message-time 10s; /* Make the message in static-quit show in all quits - meaning no custom quits are allowed on local server */ /* static-quit "Client quit"; */

/* You can also block all part reasons by uncommenting this and say 'yes', * or specify some other text (eg: "Bye bye!") to always use as a comment.. */ /* static-part yes; */

/* This allows you to make certain stats oper only, use * for all stats, * leave it out to allow users to see all stats. Type '/stats' for a full list. * Some admins might want to remove the 'kGs' to allow normal users to list * klines, glines and shuns. */ oper-only-stats "okfGsMRUEelLCXzdD";

/* * example.conf by Daniel Hawton AKA Osiris (osiris@unrealircd.org). * $Id$ * * Works for Unreal3.2 and up * * Okay guys. This is the new example.conf. Its look is much like C++, kinda. * Anyway it is time to go over this. It's hard to pick up at first, but * with some pratice and reading you'll understand. * * Just copy this file to your main unrealircd dir and call it 'unrealircd.conf'. * * NOTE: All lines, except the opening { line, end in ans ;, including the * closing } line. The IRCd will ignore commented lines. * * PLEASE READ doc/unreal32docs.html! The online version is also available at: * www.vulnscan.org/UnrealIRCd/unreal32docs.html * It contains a lot information about the configfile: gives information about * every block, variable, etc.. * If you try to edit this file without reading the documentation properly * then you are pretty much guaranteed to fail! */

/* * You can also include other configuration files. * help.conf contains all the /helpop text. The badwords.*.conf * files contain all the badword entries for mode +G... * spamfilter.conf contains some good rules for current trojans. * You probably want to include them: */include "help.conf";include "badwords.channel.conf";include "badwords.message.conf";include "badwords.quit.conf";include "spamfilter.conf";

/* NOTE ON SSL PORTS: SSL ports are pretty non-standardized, * besides numerous high-SSL ports, some people say you should run * it at 994 because that's the official SSL port.. but that * requires root! Besides, port 194 is the official irc port and * have you ever seen an ircd running on that? * So, our suggestion is to use port 6697 for SSL, this is used by * quite some networks and is recognized by for example StunTour. * You are free to open up as many SSL ports as you want, but * by (also) using 6697 you help the world standardize a bit ;). */listen *:6667;

/* NOTE: If you are on an IRCd shell with multiple IP's you are * likely to get 'Address already in use' errors in your log * and the ircd won't start. This means you MUST bind * to a specific IP instead of '*', so for example: * listen 1.2.3.4:6667; * Obviously, replace the IP with the IP that was assigned to you. */

/* * NEW: alias {} * OLD: N/A * This allows you to set command aliases such as /identify, /services, etc * * Syntax: * alias "name" { * format "format string" { * target "points to"; * type aliastype; * parameters "parameters to send"; * }; * type command; * }; *//* This is shown seperately because even though it has teh same name as the previous directive, it is very * different in syntax, although it provides a similar function and relys on the standard aliases to work. *//*alias "identify" { format "^#" { target "chanserv"; type services; parameters "IDENTIFY %1-"; }; format "^[^#]" { target "nickserv"; type services; parameters "IDENTIFY %1-"; }; type command;};*//* The alias::format directive is a regular expression. The first format matches the /identify command when * the first character is a #. It then passes this along to the chanserv alias with the parameters IDENTIFY * %1-. The second format matches then /identify command when the first character is not a #. It then * passes the command to the nickserv alias with parameters IDENTIFY %1-. */

/* The alias::format::parameters is similar to scripting languages. %N (where N is a number) represents a * parameter sent to the command (in this case /identify). If you specify %N- it means all parameters from * N until the last parameter in the string. You may also specify %n which is replaced by * the user's nickname.*/

/* * NEW: files {} * OLD: include/config.h * * This block overrides the IRCd's default paths for loading things * like the MOTD, saving its PID, or writing/loading its tunefile. The * existence of this block allows one UnrealIRCd installation to * support multiple running instances when combined with the -c * commandline option. * * As usual, relative paths are interpreted relative to the directory * where UnrealIRCd would find unrealircd.conf if -c is _not_ * specified on the commandline. */files{ /* The Message Of The Day shown to users who log in: */ /* motd ircd.motd; */

/* * A short MOTD. If this file exists, it will be displayed to * the user in place of the MOTD. Users can still view the * full MOTD by using the /MOTD command. */ /* shortmotd ircd.smotd; */

/* Shown when an operator /OPERs up */ /* opermotd oper.motd; */

/* Services MOTD append. */ /* svsmotd ircd.svsmotd; */

/* Bot MOTD */ /* botmotd bot.motd; */

/* Shown upon /RULES */ /* rules ircd.rules; */

/* * Where the IRCd stores and loads a few values which should * be persistent across server restarts. Must point to an * existing file which the IRCd has permission to alter or to * a file in a folder within which the IRCd may create files. */ /* tunefile ircd.tune; */

/* Where to save the IRCd's pid. Should be writable by the IRCd. */ /* pidfile ircd.pid; */};

/* * NOTE FOR ALL BANS, they may be repeated for addition entries! * * NEW: except ban {} * OLD: E:Line * This makes it so you can't get banned. * Syntax: * except ban { mask (ident@host); }; * Repeat the except ban {} as many times * as you want for different hosts. */

maxchannelsperuser 30; /* The minimum time a user must be connected before being allowed to use a QUIT message, * This will hopefully help stop spam */ anti-spam-quit-message-time 10s; /* Make the message in static-quit show in all quits - meaning no custom quits are allowed on local server */ /* static-quit "Client quit"; */

/* You can also block all part reasons by uncommenting this and say 'yes', * or specify some other text (eg: "Bye bye!") to always use as a comment.. */ /* static-part yes; */

/* This allows you to make certain stats oper only, use * for all stats, * leave it out to allow users to see all stats. Type '/stats' for a full list. * Some admins might want to remove the 'kGs' to allow normal users to list * klines, glines and shuns. */ oper-only-stats "okfGsMRUEelLCXzdD";

/* * Problems or need more help? * 1) www.vulnscan.org/UnrealIRCd/unreal32docs.html * 2) www.vulnscan.org/UnrealIRCd/faq/ <- contains 80% of your questions! * 3) If you still have problems you can go irc.unrealircd.org #unreal-support, * note that we require you to READ THE DOCUMENTATION and FAQ first! */