1 # Set the name of the server, its numeric, and the server info field
3 name "test.server.undernet.org";
6 description "A test server for the next generation";
8 # this is an optional parameter to specify where outbound
9 # connections should originate from
13 # Select a seed from /dev/random or the appropriate local alternative.
14 # If /dev/random doesn't exist, use a seed
15 # Note: on Linux, /dev/urandom should probably be used--it won't block.
16 seedfile "/dev/random";
18 # Let's set up some logging
20 syslog daemon; # set the syslog facility to daemon
22 logpath "/home/irc/logs" # path prepended to log file names
24 log kill syslog notice; # log kills to syslog at priority "notice"
25 log squit syslog notice;
26 log connect syslog debug;
28 log oper file "opers.log"; # log /opers to file "opers.log"
29 log gline file "gline.log";
31 nolog users; # turn off logging for users (default, but illustrative)
36 binpath "/home/irc/bin/ircd"; # binary to exec() when we /restart
37 libpath "/home/irc/lib"; # directory to chdir() to on start-up
39 # Here's an authorization record--defines who is permitted on the server
40 # and what special information needs to be remembered about them.
42 host "*@*"; # hosts this auth record matches
43 maxusers 1200; # Max users for this auth record
44 perhost 2; # Maximum of 2 users per host on this server
45 global 3; # Maximum of 2 users per host on the entire network
46 ping 120; # ping them once every 120 seconds if link inactive
47 sendq 270000; # max sendq for everyone in the auth record
50 # Here's another one for miters people
61 # And here's a back door for my operators--perhaps to be used in an emergency
64 unset ident; # no identd
65 unset banable; # no denial rules
66 unset limit; # ignore any limits
67 set ipspoof; # hostname is spoofed to protect the guilty
68 password "MybacKd004!"; # password-only access
69 motd "opers.motd"; # a special MOTD for opers
73 accept opers; # auth records are tried in order listed
77 port 6660-6669 "18.177.0.118"; # ports to open
78 port 6660-6669 "18.177.0.119";
86 port 7000; # IP is optional and defaults to 0.0.0.0
93 port 4400 "18.177.0.118";
96 # allow channel hacks and glines
97 server uworld.undernet.org {
102 server uworld2.undernet.org {
107 server uworld.eu.undernet.org {
112 # allow channel hacks only
113 server channels.undernet.org {
117 server channels2.undernet.org {
121 # here's some link class definitions for servers (only)
123 limit 2; # Max connection attempts per class
124 freq 600; # Connect frequency
125 ping 300; # how often to ping them
126 sendq 2700000; # sendq
130 server santaclara.ca.us.undernet.org {
131 class hubs; # this is in the hubs link class
133 link 4400 "205.158.23.3"; # link address
134 password "toysrus"; # link password
135 set auto; # we'll auto to it
136 set hub; # it's a hub
139 server dallas-r.tx.us.undernet.org {
142 link 4400 "204.178.73.175";
143 password "areyouready?";
147 deny "linked(santaclara.ca.us.undernet.org)"; # a d-line
151 server vancouver.bc.ca.undernet.org {
152 link 4400 "199.60.228.129";
156 denyoper "linked(santaclara.ca.us.undernet.org)"; # a D-line
159 # here's a set of default flags for opers
161 # the part before the '.' specifies the namespace the flags are from--
162 # not necessary inside the user record itself, but we don't otherwise
163 # know the namespace here. The part after the '.' is a label.
165 set kill; # allow kills...
166 set kline; # allow kline/unkline
167 set gline; # allow local glines
168 set rehash; # can use /rehash
169 set restart; # can use /restart
170 set die; # can use /die
171 set wallops; # can use /wallops
172 set connect; # can use /connect and /squit
173 set stats; # can use /stats
174 set info; # can use /info
175 set opernotice; # can see oper-only notices
176 set massmsg; # can use mass messages
181 default oper; # a set of flags for the user
182 cryptpass "J/7oDe78NhQ+/"; # password must be given to activate
183 host "*.mit.edu"; # must be from the listed hosts
184 host "*.ne.mediaone.net";
210 # File deny records are kept in; this can be modified from online
211 denyfile "klines.conf";