1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-03 18:23:13 +02:00
Files
unrealircd/doc/unrealircd.conf
T

233 lines
4.1 KiB
Plaintext

/*
* UnrealIRCd Config File - Example for irc.fyremoon.net
*/
// Information about me
me {
// My IRC server name
name "irc.fyremoon.net";
// My infoline
info "Forever is gonna start tonight";
// My numeric
numeric 13;
};
// Who is my admin?
admin {
/* You can put as many lines as you want here */
"Carsten Munk";
"Stskeeps";
"stskeeps@tspre.org";
};
/* We use class names now :)*/
class clients
{
/* How often to ping the user */
pingfreq 90;
/* How many clients allowed in class*/
maxclients 900;
/* Maximum SendQueue */
sendq 100000;
};
class servers
{
pingfreq 90;
maxclients 1;
sendq 1000000;
};
/* The old I:lines */
allow {
/* ip mask */
ip *;
/* hostmask */
hostname *;
/* what class to put them in */
class clients;
// Leave out password to make it passwordless
/* Password to require */
password "moocowsrule";
/* old ONE. take as many as you want now */
maxperip 1;
};
/* /oper <login> (oper <login>)*/
oper stskeeps {
/* What class to put oper in upon opering */
class clients;
/* What userhost masks to allow the IRCop to come from */
from {
userhost *@the.elite-hacker.cx;
userhost *@*.image.dk;
};
/* Password to require */
password "moocow";
/* We use named flags now :) */
flags
{
netadmin;
global;
};
};
/* P:lines, we listen here on IP 127.0.0.1 port 6667 */
listen *:6601
{
options
{
ssl;
serversonly;
};
};
listen *:8067;
listen *:6600;
link irc.hs-bremen.de /* servername */
{
username *; /* usermask */
hostname 194.94.24.40; /* hostmask */
bind-ip *; /* What IP to bind to when connecting */
port 7151; /* What port to connect to, if any */
hub *; /* Is this a hub and what servermasks may it bring in */
// leaf *;
// leaf-depth 2;
password-connect "tdx6667";
password-recieve "tdx6667";
/* for later: class-connect, class-recieve */
class servers;
// rsa-auth "path.to.public.key";
options {
autoconnect;
ssl;
zip;
};
};
/* As many as you like */
ulines {
services.roxnet.org;
stats.roxnet.org;
};
drpass {
restart "time-to-restart"; /* Password to use for /restart */
die "killme"; /* Password to use for /die */
};
/*
* The old T:lines. We however also can use this as auto-join per .domain
*/
tld {
mask *@*.fr;
motd "ircd.motd.fr";
rules "ircd.rules.fr";
};
/* The old nick Q:lines :) */
ban nick {
mask "*C*h*a*n*S*e*r*v*";
reason "Reserved for Services";
};
/* The old Z:lines */
ban ip { mask 195.86.232.81; reason "Delinked server"; };
/* The old server Q:lines */
ban server {
mask eris.berkeley.edu;
reason "Get out of here.";
};
/* The wonderful K:lines */
ban user { mask *tirc@*.saturn.bbn.com; reason "Idiot"; };
/* Bans Realnames, the old n:lines */
ban realname {
mask "Swat Team";
reason "mIRKFORCE";
};
ban realname {
mask "sub7server";
reason "sub7";
};
/* Do not ban Stskeeps
* The old E:lines
*/
except ban {
mask *stskeeps@212.*;
};
/* savage-r.*
* the old e: lines
*/
except socks {
mask 216.73.27.177;
};
/* Old vhost.conf */
vhost {
vhost i.hate.microsefrs.com;
userhost *@*.image.dk;
login stskeeps;
password techie;
};
/* You can include other configuration files */
// include "klines.conf";
// Network configuration
set {
network-name "ROXnet";
default-server "irc.roxnet.org";
services-name "services.roxnet.org";
stats-name "stats.roxnet.org";
help-channel "#ROXnet";
hiddenhost-prefix "rox";
prefix_quit "no";
/* on-oper host */
hosts {
local "locop.roxnet.org";
global "ircop.roxnet.org";
coadmin "coadmin.roxnet.org";
admin "admin.roxnet.org";
servicesadmin "csops.roxnet.org";
techadmin "techadmin.roxnet.org";
netadmin "netadmin.roxnet.org";
host-on-oper-up "no";
};
};
/* Server specific configuration */
set {
kline-address "stskeeps@roxnet.org";
modes-on-connect "+xwG";
oper-auto-join "#opers";
dns {
nameserver 127.0.0.1;
timeout 2s;
retries 2s;
};
options {
enable-opermotd;
enable-chatops;
hide-ulines;
webtv-support;
identd-check;
};
socks {
ban-message "Insecure SOCKS server";
quit-message "Insecure SOCKS server";
ban-time "4d";
};
maxchannelsperuser 10;
};