Skip to content

Instantly share code, notes, and snippets.

@thepatrick
Created February 28, 2011 01:54
Show Gist options
  • Save thepatrick/846817 to your computer and use it in GitHub Desktop.
Save thepatrick/846817 to your computer and use it in GitHub Desktop.
loadmodule "/home/patrick/SourceCache/Unreal3.2/src/modules/commands.so";
loadmodule "/home/patrick/SourceCache/Unreal3.2/src/modules/cloak.so";
include "help.conf";
include "badwords.channel.conf";
include "badwords.message.conf";
me
{
name "irc.m.ac.nz";
info "M.ac.nz IRC Server";
numeric 9;
};
admin {
"Patrick Quinn-Graham";
"patrick";
"patrick-ircd@m.ac.nz";
};
class clients
{
pingfreq 90;
maxclients 500;
sendq 100000;
recvq 8000;
};
class servers
{
pingfreq 90;
maxclients 10; /* Max servers we can have linked at a time */
sendq 1000000;
connfreq 100; /* How many seconds between each connection attempt */
};
allow {
ip *@*;
hostname *@*;
class clients;
maxperip 10;
};
oper patrick {
class clients;
from {
userhost patrick@59.167.171.221;
};
password "~mypassword";
flags
{
netadmin;
global;
can_restart;
can_die;
can_gzline;
can_gkline;
can_zline;
can_override;
};
};
listen *:6697
{
options
{
ssl;
clientsonly;
};
};
listen *:6667;
listen *:9997;
drpass {
restart "restartdamnyou";
die "diediedie";
};
log "ircd.log" {
/* Delete the log file and start a new one when it reaches 2MB, leave this out to always use the
same log */
maxsize 2097152;
flags {
oper;
kline;
connects;
server-connects;
kills;
errors;
};
};
ban nick {
mask "*S*e*r*v*";
reason "Reserved for Services";
};
ban nick {
mask "ish*";
reason "Server flooding bot";
};
ban server {
mask eris.berkeley.edu;
reason "Get out of here.";
};
ban realname {
mask "Swat Team";
reason "mIRKFORCE";
};
ban realname {
mask "sub7server";
reason "sub7";
};
deny dcc {
filename "*sub7*";
reason "Possible Sub7 Virus";
};
/* Server specific configuration */
set {
kline-address "patrick+kline@m.ac.nz";
modes-on-connect "+ixw";
modes-on-oper "+xwgs";
oper-auto-join "#opers";
dns {
nameserver 127.0.0.1;
timeout 2s;
retries 2;
};
options {
hide-ulines;
show-connect-info;
};
maxchannelsperuser 10;
anti-spam-quit-message-time 10s;
oper-only-stats "okGsMRUEelLCXzdD";
throttle {
connections 3;
period 60s;
};
anti-flood {
nick-flood 3:60; /* 3 nickchanges per 60 seconds (the default) */
};
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment