Advertisement
Guest User

Untitled

a guest
Jun 22nd, 2017
565
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 45.38 KB | None | 0 0
  1. # IRC - Internet Relay Chat, doc/example.conf
  2. # Copyright (C) 1994, Helen Rose
  3. #
  4. # $Id: ircd.conf.example,v 1.25 2005/05/13 15:53:04 chopin Exp $
  5. #
  6. # some changes for 295 and cleaning, delta, Sat Jun 13 01:09:25 MES 1998
  7. #
  8. # This program is free software; you can redistribute it and/or modify
  9. # it under the terms of the GNU General Public License as published by
  10. # the Free Software Foundation; either version 1, or (at your option)
  11. # any later version.
  12. #
  13. # This program is distributed in the hope that it will be useful,
  14. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. # GNU General Public License for more details.
  17. #
  18. # You should have received a copy of the GNU General Public License
  19. # along with this program; if not, write to the Free Software
  20. # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  21. #
  22. # This is an example configuration file for the IRC server.
  23. # It's highly suggested that you also read INSTALL.* in doc/ and talk with
  24. # your uplinks if linking to an already existent IRC network.
  25. #
  26. # You only need an ircd.conf (IRC server configuration file) if you are
  27. # running an IRC server. iauth.conf (IRC authentication daemon configuration
  28. # file) may also be needed.
  29. #
  30. # This file will explain the various lines in the IRC server
  31. # configuration file. Not all lines are mandatory. You can check to make
  32. # sure that your configuration file is correct by using the program
  33. # "chkconf", provided in the server distribution (and when you do "make
  34. # install" this program will be installed in the same directory as the irc
  35. # server).
  36. #
  37. # The options for whether a line is needed or not are:
  38. # MANDATORY: you absolutely MUST have this line
  39. # NETWORKED: you must have this line if you are connecting this irc
  40. # server to any other server (servers can run standalone).
  41. # SUGGESTED: it is HIGHLY suggested that you use this line
  42. # OPTIONAL: it's completely up to you whether to define this or not
  43. # DISCOURAGED: you really really should not use this line if at all
  44. # possible.
  45. # NOT NECESSARY: an old or out of date line that isn't needed.
  46. #
  47. #
  48. # ========================================================================
  49. # NOTE! this entire configuration file is read UPSIDE-DOWN! So if you have
  50. # to put something in a specific order (for example, client-connection
  51. # lines), put them in reverse order!
  52. # ========================================================================
  53. #
  54. #
  55. ############################
  56. # M: [MANDATORY]. This line sets your server's name, description and port
  57. # the server listens for UDP pings (used to determine the fastest link in a
  58. # class when autoconnecting)
  59. #
  60. # M:<Server NAME>:<YOUR Internet IP#>:<Geographic Location>:<Port>:<SID>:
  61. #
  62. # Note that 'server name' refers to the name of the irc-server which needs
  63. # not to be the same as the hostname of the machine it's running on.
  64. # Note that <SID> must be globally unique, so if you are part of bigger
  65. # network, ask other admins, what to set it to. If you are on IRCnet, ask
  66. # your local coord. If you are (BIC) Coord on IRCnet, you have a pool of
  67. # 36 SIDs to choose from. Check doc/ISO-3166-1 file to find your country
  68. # numeric code (example: 000) and assign one SID for every of your servers
  69. # starting from 000A, through 000Z, 0000 and ending at 0009.
  70. #
  71. # This let's ircd use the primary ip of your host to establish connections
  72. M:irc.3620.net:127.0.0.1:The 3620 Network for 1337 Lispers:6667:000A:
  73. #
  74. # This let's ircd use the ip 127.0.0.2 to establish connections, useful
  75. # if you're running virtual interfaces
  76. #M:example.irc.org:127.0.0.2:Example Geographic Location, Planet Earth:6667:000A:
  77. #
  78. #
  79. ############################
  80. # A: [MANDATORY]. This line lists your administrative information
  81. # (contact address, etc). To view this information, /admin (server) will
  82. # show it to you.
  83. #
  84. # A:<Your Name/Location>:<Your E-Mail Addr>:<other info>::<network name>:
  85. # Note that <network name> *must* be one word.
  86. #
  87. A:1337 Lisp Hax0rs:Daemon <root@localhost>:Client Server::3620net:
  88. #
  89. #
  90. ############################
  91. # P: [MANDATORY]. This field allows the server to listen on various ports
  92. # for connections. Any internet domain port that is below 1024 means the
  93. # ircd has to be run as root, or from inetd. The server can listen to ports
  94. # in the UNIX domain or the internet domain. If you wish to create a port
  95. # in the UNIX domain you must compile with UNIXPORT defined in config.h.
  96. #
  97. # P:<YOUR Internet IP#>:<*>::<Port>:<Flags>
  98. # P:<Directory>:<*>:<*>:<Port>:<Flags>
  99. #
  100. # Note that it's a good idea to open some more ports than 6667 for
  101. # server-server connections and local clients in case some running wild
  102. # client blocks the default 6667.
  103. #
  104. # The default, an internet domain socket on port 6667 listening on all
  105. # ip addresses of the machine running ircd
  106. P::::6667::
  107. #
  108. # an internet domain socket listening on port 6668 on address 206.252.192.20
  109. # (again useful if you're running virtual interfaces)
  110. P:127.0.0.1:::6668::
  111. #
  112. # This line is an example of a UNIX domain socket in /tmp
  113. P:/tmp/.ircd:*::6666::
  114. #
  115. #
  116. ############################
  117. # Y: [SUGGESTED]. These lines define connection classes. Connection
  118. # classes allow you to fine-tune your client and server connections.
  119. # Since the fields have different meanings for server and client classes
  120. # you shouldn't mix them, and if you have lots of server connections (if
  121. # you do have lots of servers you shouldn't be reading this file :-) each
  122. # set of servers (defined arbitrarily by you) should have its own class.
  123. # If you have clients coming in from lots of different sites, you may want
  124. # to seperate them out into classes. For instance, you may want to put
  125. # local users in one class, with remote users in another class. You may also
  126. # want to put limits on some client classes (one client only for indials
  127. # for example). In any larger network you definitely want to do this.
  128. #
  129. # For SERVER CLASSES, the fields are:
  130. # Y:<Class>:<Ping Frequency>:<Connect freq>:<Max Links>:<SendQ>::
  131. # 1 2 3 4 5 67
  132. # 1 class number
  133. # 2 ping frequency (in seconds)
  134. # 3 connect frequency (in seconds)
  135. # 4 maximum number of automatically initiated links in this class
  136. # 5 sendq
  137. # 6 unused for server classes
  138. # 7 unused for server classes
  139. #
  140. # Sendq have the format <x>.<y>, where x defines sendq whereas y defines
  141. # burst sendq. It is useful to have for example 1MB normal sendq and 20MB
  142. # of burst sendq, which allows for quicker broken link detection.
  143. #
  144. # The class numbers are not arbitrary. In auto-connecting servers -- that is,
  145. # servers that you have a port number (e.g. 6667) on the end of the C: line
  146. # (see below) the higher the number the higher the priority in auto-connecting.
  147. #
  148. # Note that it is a good idea to have ping frequency the same at both ends
  149. # of the link.
  150. #
  151. # This is a normal (uncompressed) server connection (normal as of January, 2005)
  152. # Y:<Class>:<Ping Frequencys>:<Connect freq>:<Max Links>:<SendQ>::
  153. Y:2:90:300:1:20000000::
  154. Y:1:90::100:512000:5.5:100.100
  155. Y:2:90::300:512000:5.5:250.250
  156. #
  157. #
  158. # For CLIENT CLASSES, the fields are:
  159. # Y:<Class>:<Ping Frequency>::<Max Links>:<SendQ>:<Local Limit>:<Global Limit>:
  160. # 1 2 3 4 5 6 7
  161. # 1 class number
  162. # 2 ping frequency (in seconds)
  163. # 3 unused for client classes
  164. # 4 maximum number of links in this class (per I line)
  165. # 5 sendQ for each client
  166. # 6 maximum number of links from this [user@]host on the server
  167. # 7 maximum number of links from this [user@]host on the net
  168. #
  169. # Local and global limits have the format <x>.<y> where x defines the maximum
  170. # number of clients from the same host (IP) whereas y defines the maximum
  171. # number of clients from the same user@host (IP) allowed to connect. the
  172. # latter uses the identd replies to identify a user, falling back to an
  173. # @host limit if no identd runs on the client and fails for identds generating
  174. # dynamical answers.
  175. #
  176. # Note that any unset values default to zero which means 'unlimited', except
  177. # for limits, where default is 1.1
  178. #
  179. # Y:<Class>:<Ping Frequency>::<Max Links>:<SendQ>:<Local Limit>:<Global Limit>:
  180. # this is a class for multiuser systems allowing 10 local clients per host
  181. Y:10:90::100:512000:10.2:32.2:
  182. #
  183. # This is a class for multiuser systems running a trustworthy identd
  184. Y:11:90::100:512000:0.1:0.2:
  185. #
  186. # This is a class for single user systems (PCs, most indials, ...)
  187. Y:12:90::100:512000:1.1:2.1:
  188. #
  189. # This is a class for remote systems you want to allow as fallback only
  190. # (if you run an open server in a net you might really want this)
  191. Y:13:90::100:512000:1.1:1.1:
  192. #
  193. #
  194. ############################
  195. # I: [MANDATORY]. The I: lines are client-authorization lines. Without
  196. # these lines, no clients will be able to connect to your server.
  197. # Wildcards ("*") are permitted. Passwords are also possible (clients can
  198. # be configured to send passwords) but optional. 'I' allows full access,
  199. # 'i' sets restricted mode which forbids nick changes and channel op status.
  200. # Note that 'i' is deprecated and you should use <Flags> (see INSTALL).
  201. #
  202. # <TARGET Host Addr> accepts CIDR format.
  203. #
  204. # I:<TARGET Host Addr>:<Password>:<TARGET Hosts NAME>:<Port>:<Class>:<Flags>:
  205. #
  206. # NOTE that ircd matches on both fields and if <TARGET Hosts NAME>
  207. # is not empty (even if "*"), the client is required to have DNS.
  208. #
  209. # This would allow access for any client reaching this line which doesn't
  210. # already have at least one connection to the net. if you run an open server
  211. # in a net this might be the right choice, talk to your uplinks first anyway.
  212. # Note listing this i: line first, it will be checked *last*, meaning it is
  213. # the "fall-through".
  214. #i:*@*::::13::
  215. # With the password 'foobar'
  216. #i:*@*:foobar:::13::
  217. #
  218. # this would allow access for any client coming from *.net, *.org, *.com or
  219. # other 3 char TLD
  220. #i:::*@*.???:13::
  221. #
  222. # This allows access for any client from the ip block 192.168.0.0/16
  223. # regardless of its domain. If it's resolvable it will be shown as
  224. # user@host since the field <TARGET Hosts NAME> is empty (useful to
  225. # allow whole provider's blocks).
  226. I:*@192.168.0.0/16::::12::
  227. #
  228. # This is a standard vanilla I: line which will permit anyone with an IP
  229. # address within ip block 127.0.0.0/8 AND with a hostname ending in
  230. # .irc.org to connect to the server.
  231. I:*@127.0.0.1/8::*@*.3620.net::10::
  232. #
  233. # and you can even specify just certain usernames as long as the client's
  234. # site is running a trustworthy ident daemon:
  235. I:::wakko9warner@irc.3620.net::10::
  236. I:::wakko9warner@127.0.0.1::10::
  237. I:::wakko9warner@*.*::10::
  238. #I:::unknown@127.0.0.1::10::
  239. #
  240. # this will limit access for indials to one client per host (as defined in Y:12)
  241. #I:::*@ppp*.3620.net::12::
  242. #I:::*@indial*.3620.net::12::
  243. #I:::unknown@127.0.0.1::12::
  244. #
  245. #
  246. ############################
  247. # O: [OPTIONAL]. These lines define operator access. You do not need to
  248. # have an operator to run a server. A well configured leaf site should not
  249. # need an operator online, if its connections are well defined, the irc
  250. # administrator can use 'kill -HUP' on the ircd to reload the configuration
  251. # file.
  252. #
  253. # O:<TARGET Host NAME>:<Password>:<Nickname>:<Port>:<Class>:<Flags>:
  254. #
  255. # If the person in "Nickname" is not coming from the hostname defined in
  256. # the first field then the person will get the error message "No O: lines
  257. # for your host".
  258. #
  259. # Note that you don't need to use 'Nickname' to become operator, if you're
  260. # using some other nick at that moment '/oper Nickname' will do also.
  261. #
  262. #O:*.bu.edu:Zaphod:Trillian::10:
  263. #
  264. # and this line forces ident match:
  265. O:wakko9warner@*.*:Password:Wakko9Warner::10::
  266. #
  267. # and this line allows oper to come from ip block:
  268. O:192.168.0.0/16:Password:Wakko9Warner::10::
  269. #
  270. # a crypted password line (NOTE that if you have crypted passwords, *all*
  271. # of you passwords must be crypted! In fact, if you are getting an error
  272. # "Incorrect Password" it may well be because crypted passwords are
  273. # defined and you have used plaintext. So my example of plaintext and
  274. # crypted strings in the same IRC server configuration file is an
  275. # impossibility (but it is just theoretical, which is why I explained both).
  276. #
  277. O:127.0.0.1/8:Password:Wakko9Warner:10::
  278. #
  279. # New for 2.11 are flags for O:line. They specify permissions for various
  280. # activities (kill, connect, squit etc.) of an operator.
  281. # The easiest is flag 'A' -- most possible permissions; read INSTALL file
  282. # for details.
  283. #
  284. # Warning: if you add no flags, no privileges will be granted.
  285. #
  286. O:192.168.0.0/16:Password:Wakko9Warner::10:A:
  287. #
  288. # This line is a "local operator", it is specified with an O:line flag 'L'.
  289. #
  290. # this line permits the nickname "jhs" with the password of "ITBites" to
  291. # be a local operator only (restrictions are defined in config.h during
  292. # ircd compilation time).
  293. #
  294. O:*.3620.net:Password:Wakko9Warner::10:L:
  295. #
  296. # Lower case o:line (which is deprecated and will be removed in next version)
  297. # and O:line with 'L' flag have exactly the same meaning.
  298. #
  299. ############################
  300. # c/C: [NETWORKED]. These lines define what servers your server tries to
  301. # connect to. 'c' means your server will support compression for this link
  302. # if you've compiled with zlib, 'C' will enforce an uncompressed link.
  303. # N: [NETWORKED]. These lines define what servers your server permits
  304. # to connect.
  305. #
  306. # c/N lines MUST be used in pairs. You cannot have one without the other.
  307. #
  308. # C:<TARGET Host Addr>:<Password>:<TARGET Server NAME>:<TARGET PORT>:<Class>:<Source IP>:
  309. # c:<TARGET Host Addr>:<Password>:<TARGET Server NAME>:<TARGET PORT>:<Class>:<Source IP>:
  310. #
  311. # if the target server listens on different ports you can use for <TARGET PORT>
  312. # <port_to_connect_to>.<port_target_server_listens_for_udp_pings>.
  313. # <TARGET Host Addr> can be also an ip address or CNAME.
  314. # With <Source IP> you can specify source ip ircd will try to connect with
  315. # to a given server.
  316. #
  317. # N:<TARGET Host Addr>:<Password>:<TARGET Server NAME>:<Domain Mask>:<Class>:
  318. #
  319. # "domain mask" is the number of parts in *your* hostname to mask to. For
  320. # instance, with servername being "example.irc.org", if you wanted to present
  321. # servername to be "*.irc.org" you would have a host-mask portion of "1".
  322. #
  323. # it is *strongly* advised that your c/N line passwords be different for
  324. # security's sake.
  325. #
  326. # ident is allowed in the server's hostname part of the field.
  327. # these lines tell the server to automatically (note the port number, that
  328. # means automatic connection) connect to cs-ftp.bu.edu:
  329. #C:hrose@cs-ftp.bu.edu:bigspark:cs-ftp.bu.edu:6667:2::
  330. #N:hrose@cs-ftp.bu.edu:bigalpha:cs-ftp.bu.edu::2::
  331. #
  332. # This server's connection lines are more vanilla, masking the host to
  333. # *.bu.edu (as described above):
  334. #C:irc-2.mit.edu:camelsrk00l:irc-2.mit.edu::2::
  335. #N:irc-2.mit.edu:andsoarellamas:irc-2.mit.edu:1:2::
  336. #
  337. # If you have defined ZIP_LINKS and wish the connection to irc-2.mit.edu to
  338. # be compressed, you need to use a lowercase c. If the other server refuses
  339. # or doesn't support compression it will fall back to an uncompressed link.
  340. #c:irc-2.mit.edu:camelsrk00l:irc-2.mit.edu::2::
  341. #N:irc-2.mit.edu:andsoarellamas:irc-2.mit.edu:1:2::
  342. #
  343. #
  344. ############################
  345. # K: [OPTIONAL]. These lines define user@host patterns to be banned from
  346. # this particular server (with an optional time field). Note that K: lines
  347. # are *not* global, and if you ban a user they can still use any other IRC
  348. # server (unless they have specifically been banned there as well).
  349. # 'K' uses the the type unix reply from the client's identd if available or
  350. # the USER information supplied by the client if not. 'k' uses the reply from
  351. # the client's identd also if it's type other (it's prefixed with '-' then).
  352. #
  353. # K:<Host Name or IP>:<time interval(s)|comment>:<User>:<port>:
  354. # k:<Host Name or IP>:<time interval(s)|comment>:<Auth>:<port>:
  355. #
  356. # wildcards are permitted in any one of the fields, in other words, you can
  357. # K:*::*:: if you wanted (but your server wouldn't be used much ;-)
  358. #
  359. # Note that if you specify an IP address, or IP mask, it will match clients
  360. # connecting from the matching addresses, no matter if they resolve or not.
  361. # You can prefix an IP address or IP mask by '=' in which case only non
  362. # resolving matching hosts will be banned.
  363. #
  364. # This k: line bans the username "FSSPR" (the wildcard is used to make
  365. # sure that any ident-checking character will match) on any machine from
  366. # the University of Alaska.
  367. #k:*.alaska.edu::*FSSPR:0:
  368. #
  369. # This K: line bans any users from acs*.bu.edu between the hours of 8am
  370. # and 12pm and 1pm and 5pm (the time is always the server's local time):
  371. # Note that 24 hour time is used (no "AM" or "PM").
  372. # (for this to work, you have to define TIMEDKLINES in config.h)
  373. #K:acs*.bu.edu:0800-1200,1300-1700:*:0:
  374. #
  375. # This K: line bans any users from *foo.edu sending them the notice
  376. # "Use server irc.bar" instead of the default notice
  377. # "You are not welcome to this server"
  378. #K:*foo.edu:Use server irc.bar:*:0:
  379. #
  380. # This K: line bans any users from *toto.fr from using the port 6667,
  381. # and tells them to use port 6666 instead.
  382. #K:*toto.fr:Use port 6666:*:6667:
  383. #
  384. # This K: line bans any user from 129.69.0.0/16 as long the host doesn't run
  385. # identd (no matter if it replies type unix or other) from all ports.
  386. #k:129.69.0.0/16:identd (rfc1413) required:unknown::
  387. #
  388. # This does the same but only for unresolvable clients
  389. #k:=129.69.0.0/16:identd (rfc1413) required:unknown::
  390. #
  391. #
  392. ############################
  393. # L: [OPTIONAL]. These lines "Leaf" specified servers. They are only
  394. # useful if you are a non-leaf site yourself. There are two ways you can
  395. # use L: lines. The first will limit one particular site to a particular
  396. # tree depth (including 0, which would mean the server has to connect with
  397. # no servers linked behind it otherwise the connection will fail). The
  398. # second will allow you to be selective about which other servers you wish
  399. # the connecting server to behave as a leaf towards.
  400. #
  401. # The fields are as follows:
  402. # L:disallow connections to this hostmask::server name:depth
  403. # For example, this will force kaja.gi.alaska.edu to connect only as a
  404. # leaf (if it is not a leaf, the link will be dropped):
  405. #L:::kaja.gi.alaska.edu::
  406. # This line will force cm5.eng.umd.edu to have a depth of only 1 below it
  407. # (that is, it is allowed to have only leaves connected to it):
  408. #L:::cm5.eng.umd.edu:1:
  409. #
  410. # This line will prohibit anything matching *.edu to be connected behind
  411. # any server matching *.au:
  412. #L:*.edu::*.au::
  413. #
  414. #
  415. ############################
  416. # H: [OPTIONAL]. These lines define who you permit to act as a "hub" to
  417. # you (that is, who you permit to connect non-leafed servers to you).
  418. #
  419. # the first field may use wildcards, the third field *must* be an exact
  420. # match for a server's name (NOT a server's hostname, if they differ, the
  421. # server's name must be used). If the servername is a wildcard (e.g. *.au)
  422. # that is an acceptable name for the third field.
  423. #
  424. # Empty 2nd field is equal to '*', that is all SIDs are allowed to be
  425. # introduced via this link.
  426. #
  427. # The fields are as follows:
  428. # H:servers which are permitted entry:sid mask:hub server::
  429. #
  430. # Example, permit cs-ftp.bu.edu to allow any servers behind it to connect:
  431. #H:*::cs-ftp.bu.edu::
  432. #
  433. # Example, permit irc-2.mit.edu to allow any MIT servers behind it to
  434. # connect:
  435. #H:*.mit.edu::irc-2.mit.edu::
  436. #
  437. # Example, permit irc-2.mit.edu to allow any MIT servers behind it to
  438. # connect, but only if they have SID begining with "000":
  439. #H:*.mit.edu:000*:irc-2.mit.edu::
  440. # Note that requiring SID makes it impossible for 2.10 server to connect.
  441. #
  442. ############################
  443. # D: [OPTIONAL]. Control how auto connections are done. This will be mostly
  444. # useful for networks with complex configurations.
  445. #
  446. # D:<Denied Server Mask>:<Denied Class>:<Server Mask>:<Server Class>:
  447. # 1 2 3 4
  448. #
  449. # If a server matching <Denied Server Mask> or a server in <Denied Class>
  450. # is present (or absent, if <Denied Server Mask> is prefixed with '!')
  451. # ircd won't auto connect to any server matching <Server Mask>
  452. # or being in <Server Class> although auto connect for those is active.
  453. #
  454. # Example, don't auto connect to *.fi if some server of *.edu is already
  455. # linked
  456. #D:*.edu::*.fi::
  457. #
  458. # Example, don't auto connect to *.fi if no server of *.edu is yet linked
  459. #D:!*.edu::*.fi::
  460. #
  461. # Example, don't auto connect to *.fi or any server in class '3' if a
  462. # server from our class '2' is already present
  463. #D::2:*.fi:3:
  464. #
  465. #
  466. ############################
  467. # V: [OPTIONAL]. These lines define restrictions on servers connecting to
  468. # you.
  469. #
  470. # The first and third fields accept wildcards. The fields are as follow:
  471. # V:<Version Mask>:<Flags>:<Server Mask>::
  472. #
  473. # Example, 2.10 is an old version, and you want your peers to upgrade:
  474. #V:IRC/0210*::*::
  475. #
  476. # If you are running a production network, you most likely don't want to
  477. # allow servers compiled in DEBUGMODE which is a threat for the net
  478. # as well as for the privacy of the users:
  479. #V:*:D:*::
  480. #
  481. # Finally, you don't want *.edu servers to be version 2.10.2 *OR* to be
  482. # compiled with remote oper kills enabled:
  483. #V:IRC/021002*:K:*.edu::
  484. #
  485. #
  486. ############################
  487. # B: [SUGGESTED]. These lines define the alternate servers that the users
  488. # will be redirected to if your server is full.
  489. #
  490. # The fiels are as follow:
  491. # B:<Class|Host Mask>::<Server Name>:<Port>:
  492. #
  493. # For example, if you want to redirect your users to irc.stealth.net on port
  494. # 6667 when your server is full, use:
  495. B:-1::irc.3620.net:6667:
  496. # IRC - Internet Relay Chat, doc/example.conf
  497. # Copyright (C) 1994, Helen Rose
  498. #
  499. # $Id: ircd.conf.example,v 1.25 2005/05/13 15:53:04 chopin Exp $
  500. #
  501. # some changes for 295 and cleaning, delta, Sat Jun 13 01:09:25 MES 1998
  502. #
  503. # This program is free software; you can redistribute it and/or modify
  504. # it under the terms of the GNU General Public License as published by
  505. # the Free Software Foundation; either version 1, or (at your option)
  506. # any later version.
  507. #
  508. # This program is distributed in the hope that it will be useful,
  509. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  510. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  511. # GNU General Public License for more details.
  512. #
  513. # You should have received a copy of the GNU General Public License
  514. # along with this program; if not, write to the Free Software
  515. # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  516. #
  517. # This is an example configuration file for the IRC server.
  518. # It's highly suggested that you also read INSTALL.* in doc/ and talk with
  519. # your uplinks if linking to an already existent IRC network.
  520. #
  521. # You only need an ircd.conf (IRC server configuration file) if you are
  522. # running an IRC server. iauth.conf (IRC authentication daemon configuration
  523. # file) may also be needed.
  524. #
  525. # This file will explain the various lines in the IRC server
  526. # configuration file. Not all lines are mandatory. You can check to make
  527. # sure that your configuration file is correct by using the program
  528. # "chkconf", provided in the server distribution (and when you do "make
  529. # install" this program will be installed in the same directory as the irc
  530. # server).
  531. #
  532. # The options for whether a line is needed or not are:
  533. # MANDATORY: you absolutely MUST have this line
  534. # NETWORKED: you must have this line if you are connecting this irc
  535. # server to any other server (servers can run standalone).
  536. # SUGGESTED: it is HIGHLY suggested that you use this line
  537. # OPTIONAL: it's completely up to you whether to define this or not
  538. # DISCOURAGED: you really really should not use this line if at all
  539. # possible.
  540. # NOT NECESSARY: an old or out of date line that isn't needed.
  541. #
  542. #
  543. # ========================================================================
  544. # NOTE! this entire configuration file is read UPSIDE-DOWN! So if you have
  545. # to put something in a specific order (for example, client-connection
  546. # lines), put them in reverse order!
  547. # ========================================================================
  548. #
  549. #
  550. ############################
  551. # M: [MANDATORY]. This line sets your server's name, description and port
  552. # the server listens for UDP pings (used to determine the fastest link in a
  553. # class when autoconnecting)
  554. #
  555. # M:<Server NAME>:<YOUR Internet IP#>:<Geographic Location>:<Port>:<SID>:
  556. #
  557. # Note that 'server name' refers to the name of the irc-server which needs
  558. # not to be the same as the hostname of the machine it's running on.
  559. # Note that <SID> must be globally unique, so if you are part of bigger
  560. # network, ask other admins, what to set it to. If you are on IRCnet, ask
  561. # your local coord. If you are (BIC) Coord on IRCnet, you have a pool of
  562. # 36 SIDs to choose from. Check doc/ISO-3166-1 file to find your country
  563. # numeric code (example: 000) and assign one SID for every of your servers
  564. # starting from 000A, through 000Z, 0000 and ending at 0009.
  565. #
  566. # This let's ircd use the primary ip of your host to establish connections
  567. M:example.irc.org::Example Geographic Location, Planet Earth:6667:000A
  568. #
  569. # This let's ircd use the ip 127.0.0.2 to establish connections, useful
  570. # if you're running virtual interfaces
  571. #M:example.irc.org:127.0.0.2:Example Geographic Location, Planet Earth:6667:000A:
  572. #
  573. #
  574. ############################
  575. # A: [MANDATORY]. This line lists your administrative information
  576. # (contact address, etc). To view this information, /admin (server) will
  577. # show it to you.
  578. #
  579. # A:<Your Name/Location>:<Your E-Mail Addr>:<other info>::<network name>:
  580. # Note that <network name> *must* be one word.
  581. #
  582. A:1337 Lisp Hax0rs:Daemon <root@localhost>:Client Server::3620net:
  583. #
  584. #
  585. ############################
  586. # P: [MANDATORY]. This field allows the server to listen on various ports
  587. # for connections. Any internet domain port that is below 1024 means the
  588. # ircd has to be run as root, or from inetd. The server can listen to ports
  589. # in the UNIX domain or the internet domain. If you wish to create a port
  590. # in the UNIX domain you must compile with UNIXPORT defined in config.h.
  591. #
  592. # P:<YOUR Internet IP#>:<*>::<Port>:<Flags>
  593. # P:<Directory>:<*>:<*>:<Port>:<Flags>
  594. #
  595. # Note that it's a good idea to open some more ports than 6667 for
  596. # server-server connections and local clients in case some running wild
  597. # client blocks the default 6667.
  598. #
  599. # The default, an internet domain socket on port 6667 listening on all
  600. # ip addresses of the machine running ircd
  601. #P::::6667::
  602. #
  603. # an internet domain socket listening on port 6668 on address 206.252.192.20
  604. # (again useful if you're running virtual interfaces)
  605. #P:127.0.0.1:::6668::
  606. #
  607. # This line is an example of a UNIX domain socket in /tmp
  608. #P:/tmp/.ircd:*::6666::
  609. #
  610. #
  611. ############################
  612. # Y: [SUGGESTED]. These lines define connection classes. Connection
  613. # classes allow you to fine-tune your client and server connections.
  614. # Since the fields have different meanings for server and client classes
  615. # you shouldn't mix them, and if you have lots of server connections (if
  616. # you do have lots of servers you shouldn't be reading this file :-) each
  617. # set of servers (defined arbitrarily by you) should have its own class.
  618. # If you have clients coming in from lots of different sites, you may want
  619. # to seperate them out into classes. For instance, you may want to put
  620. # local users in one class, with remote users in another class. You may also
  621. # want to put limits on some client classes (one client only for indials
  622. # for example). In any larger network you definitely want to do this.
  623. #
  624. # For SERVER CLASSES, the fields are:
  625. # Y:<Class>:<Ping Frequency>:<Connect freq>:<Max Links>:<SendQ>::
  626. # 1 2 3 4 5 67
  627. # 1 class number
  628. # 2 ping frequency (in seconds)
  629. # 3 connect frequency (in seconds)
  630. # 4 maximum number of automatically initiated links in this class
  631. # 5 sendq
  632. # 6 unused for server classes
  633. # 7 unused for server classes
  634. #
  635. # Sendq have the format <x>.<y>, where x defines sendq whereas y defines
  636. # burst sendq. It is useful to have for example 1MB normal sendq and 20MB
  637. # of burst sendq, which allows for quicker broken link detection.
  638. #
  639. # The class numbers are not arbitrary. In auto-connecting servers -- that is,
  640. # servers that you have a port number (e.g. 6667) on the end of the C: line
  641. # (see below) the higher the number the higher the priority in auto-connecting.
  642. #
  643. # Note that it is a good idea to have ping frequency the same at both ends
  644. # of the link.
  645. #
  646. # This is a normal (uncompressed) server connection (normal as of January, 2005)
  647. # Y:<Class>:<Ping Frequencys>:<Connect freq>:<Max Links>:<SendQ>::
  648. Y:2:90:300:1:20000000::
  649. #
  650. #
  651. # For CLIENT CLASSES, the fields are:
  652. # Y:<Class>:<Ping Frequency>::<Max Links>:<SendQ>:<Local Limit>:<Global Limit>:
  653. # 1 2 3 4 5 6 7
  654. # 1 class number
  655. # 2 ping frequency (in seconds)
  656. # 3 unused for client classes
  657. # 4 maximum number of links in this class (per I line)
  658. # 5 sendQ for each client
  659. # 6 maximum number of links from this [user@]host on the server
  660. # 7 maximum number of links from this [user@]host on the net
  661. #
  662. # Local and global limits have the format <x>.<y> where x defines the maximum
  663. # number of clients from the same host (IP) whereas y defines the maximum
  664. # number of clients from the same user@host (IP) allowed to connect. the
  665. # latter uses the identd replies to identify a user, falling back to an
  666. # @host limit if no identd runs on the client and fails for identds generating
  667. # dynamical answers.
  668. #
  669. # Note that any unset values default to zero which means 'unlimited', except
  670. # for limits, where default is 1.1
  671. #
  672. # Y:<Class>:<Ping Frequency>::<Max Links>:<SendQ>:<Local Limit>:<Global Limit>:
  673. # this is a class for multiuser systems allowing 10 local clients per host
  674. Y:10:90::100:512000:10.2:32.2:
  675. #
  676. # This is a class for multiuser systems running a trustworthy identd
  677. Y:11:90::100:512000:0.1:0.2:
  678. #
  679. # This is a class for single user systems (PCs, most indials, ...)
  680. Y:12:90::100:512000:1.1:2.1:
  681. #
  682. # This is a class for remote systems you want to allow as fallback only
  683. # (if you run an open server in a net you might really want this)
  684. Y:13:90::100:512000:1.1:1.1:
  685. #
  686. #
  687. ############################
  688. # I: [MANDATORY]. The I: lines are client-authorization lines. Without
  689. # these lines, no clients will be able to connect to your server.
  690. # Wildcards ("*") are permitted. Passwords are also possible (clients can
  691. # be configured to send passwords) but optional. 'I' allows full access,
  692. # 'i' sets restricted mode which forbids nick changes and channel op status.
  693. # Note that 'i' is deprecated and you should use <Flags> (see INSTALL).
  694. #
  695. # <TARGET Host Addr> accepts CIDR format.
  696. #
  697. # I:<TARGET Host Addr>:<Password>:<TARGET Hosts NAME>:<Port>:<Class>:<Flags>:
  698. #
  699. # NOTE that ircd matches on both fields and if <TARGET Hosts NAME>
  700. # is not empty (even if "*"), the client is required to have DNS.
  701. #
  702. # This would allow access for any client reaching this line which doesn't
  703. # already have at least one connection to the net. if you run an open server
  704. # in a net this might be the right choice, talk to your uplinks first anyway.
  705. # Note listing this i: line first, it will be checked *last*, meaning it is
  706. # the "fall-through".
  707. #i:*@*::::13::
  708. # With the password 'foobar'
  709. #i:*@*:foobar:::13::
  710. #
  711. # this would allow access for any client coming from *.net, *.org, *.com or
  712. # other 3 char TLD
  713. #i:::*@*.???:13::
  714. #
  715. # This allows access for any client from the ip block 192.168.0.0/16
  716. # regardless of its domain. If it's resolvable it will be shown as
  717. # user@host since the field <TARGET Hosts NAME> is empty (useful to
  718. # allow whole provider's blocks).
  719. I:*@192.168.0.0/16::::12::
  720. #
  721. # This is a standard vanilla I: line which will permit anyone with an IP
  722. # address within ip block 127.0.0.0/8 AND with a hostname ending in
  723. # .irc.org to connect to the server.
  724. I:*@127.0.0.0/8::*@*.irc.org::10::
  725. #
  726. # and you can even specify just certain usernames as long as the client's
  727. # site is running a trustworthy ident daemon:
  728. I:::wakko9warner@127.0.0.1::10::
  729. #
  730. # this will limit access for indials to one client per host (as defined in Y:12)
  731. I:::*@ppp*.3620.net::12::
  732. I:::*@indial*.3620.net::12::
  733. #
  734. #
  735. ############################
  736. # O: [OPTIONAL]. These lines define operator access. You do not need to
  737. # have an operator to run a server. A well configured leaf site should not
  738. # need an operator online, if its connections are well defined, the irc
  739. # administrator can use 'kill -HUP' on the ircd to reload the configuration
  740. # file.
  741. #
  742. # O:<TARGET Host NAME>:<Password>:<Nickname>:<Port>:<Class>:<Flags>:
  743. #
  744. # If the person in "Nickname" is not coming from the hostname defined in
  745. # the first field then the person will get the error message "No O: lines
  746. # for your host".
  747. #
  748. # Note that you don't need to use 'Nickname' to become operator, if you're
  749. # using some other nick at that moment '/oper Nickname' will do also.
  750. #
  751. #O:*.bu.edu:Zaphod:Trillian::10:
  752. #
  753. # and this line forces ident match:
  754. O:wakko9warner@*.*:Password:Wakko9Warner::10::
  755. #
  756. # and this line allows oper to come from ip block:
  757. O:192.168.0.0/16:Password:Wakko9Warner::10::
  758. #
  759. # a crypted password line (NOTE that if you have crypted passwords, *all*
  760. # of you passwords must be crypted! In fact, if you are getting an error
  761. # "Incorrect Password" it may well be because crypted passwords are
  762. # defined and you have used plaintext. So my example of plaintext and
  763. # crypted strings in the same IRC server configuration file is an
  764. # impossibility (but it is just theoretical, which is why I explained both).
  765. #
  766. #O:rocker@csa.bu.edu:T0eiVgHrqeKTQ:Rocker::10::
  767. #
  768. # New for 2.11 are flags for O:line. They specify permissions for various
  769. # activities (kill, connect, squit etc.) of an operator.
  770. # The easiest is flag 'A' -- most possible permissions; read INSTALL file
  771. # for details.
  772. #
  773. # Warning: if you add no flags, no privileges will be granted.
  774. #
  775. O:192.168.0.0/16:Password:Wakko9Warner::10:A:
  776. #
  777. # This line is a "local operator", it is specified with an O:line flag 'L'.
  778. #
  779. # this line permits the nickname "jhs" with the password of "ITBites" to
  780. # be a local operator only (restrictions are defined in config.h during
  781. # ircd compilation time).
  782. #
  783. O:*.3620.net:Password:Wakko9Warner::10:L:
  784. O:127.0.0.1:Password:Wakko9Warner::10::
  785. #
  786. # Lower case o:line (which is deprecated and will be removed in next version)
  787. # and O:line with 'L' flag have exactly the same meaning.
  788. #
  789. ############################
  790. # c/C: [NETWORKED]. These lines define what servers your server tries to
  791. # connect to. 'c' means your server will support compression for this link
  792. # if you've compiled with zlib, 'C' will enforce an uncompressed link.
  793. # N: [NETWORKED]. These lines define what servers your server permits
  794. # to connect.
  795. #
  796. # c/N lines MUST be used in pairs. You cannot have one without the other.
  797. #
  798. # C:<TARGET Host Addr>:<Password>:<TARGET Server NAME>:<TARGET PORT>:<Class>:<Source IP>:
  799. # c:<TARGET Host Addr>:<Password>:<TARGET Server NAME>:<TARGET PORT>:<Class>:<Source IP>:
  800. #
  801. # if the target server listens on different ports you can use for <TARGET PORT>
  802. # <port_to_connect_to>.<port_target_server_listens_for_udp_pings>.
  803. # <TARGET Host Addr> can be also an ip address or CNAME.
  804. # With <Source IP> you can specify source ip ircd will try to connect with
  805. # to a given server.
  806. #
  807. # N:<TARGET Host Addr>:<Password>:<TARGET Server NAME>:<Domain Mask>:<Class>:
  808. #
  809. # "domain mask" is the number of parts in *your* hostname to mask to. For
  810. # instance, with servername being "example.irc.org", if you wanted to present
  811. # servername to be "*.irc.org" you would have a host-mask portion of "1".
  812. #
  813. # it is *strongly* advised that your c/N line passwords be different for
  814. # security's sake.
  815. #
  816. # ident is allowed in the server's hostname part of the field.
  817. # these lines tell the server to automatically (note the port number, that
  818. # means automatic connection) connect to cs-ftp.bu.edu:
  819. #C:hrose@cs-ftp.bu.edu:bigspark:cs-ftp.bu.edu:6667:2::
  820. #N:hrose@cs-ftp.bu.edu:bigalpha:cs-ftp.bu.edu::2::
  821. #
  822. # This server's connection lines are more vanilla, masking the host to
  823. # *.bu.edu (as described above):
  824. #C:irc-2.mit.edu:camelsrk00l:irc-2.mit.edu::2::
  825. #N:irc-2.mit.edu:andsoarellamas:irc-2.mit.edu:1:2::
  826. #
  827. # If you have defined ZIP_LINKS and wish the connection to irc-2.mit.edu to
  828. # be compressed, you need to use a lowercase c. If the other server refuses
  829. # or doesn't support compression it will fall back to an uncompressed link.
  830. #c:irc-2.mit.edu:camelsrk00l:irc-2.mit.edu::2::
  831. #N:irc-2.mit.edu:andsoarellamas:irc-2.mit.edu:1:2::
  832. #
  833. #
  834. ############################
  835. # K: [OPTIONAL]. These lines define user@host patterns to be banned from
  836. # this particular server (with an optional time field). Note that K: lines
  837. # are *not* global, and if you ban a user they can still use any other IRC
  838. # server (unless they have specifically been banned there as well).
  839. # 'K' uses the the type unix reply from the client's identd if available or
  840. # the USER information supplied by the client if not. 'k' uses the reply from
  841. # the client's identd also if it's type other (it's prefixed with '-' then).
  842. #
  843. # K:<Host Name or IP>:<time interval(s)|comment>:<User>:<port>:
  844. # k:<Host Name or IP>:<time interval(s)|comment>:<Auth>:<port>:
  845. #
  846. # wildcards are permitted in any one of the fields, in other words, you can
  847. # K:*::*:: if you wanted (but your server wouldn't be used much ;-)
  848. #
  849. # Note that if you specify an IP address, or IP mask, it will match clients
  850. # connecting from the matching addresses, no matter if they resolve or not.
  851. # You can prefix an IP address or IP mask by '=' in which case only non
  852. # resolving matching hosts will be banned.
  853. #
  854. # This k: line bans the username "FSSPR" (the wildcard is used to make
  855. # sure that any ident-checking character will match) on any machine from
  856. # the University of Alaska.
  857. #k:*.alaska.edu::*FSSPR:0:
  858. #
  859. # This K: line bans any users from acs*.bu.edu between the hours of 8am
  860. # and 12pm and 1pm and 5pm (the time is always the server's local time):
  861. # Note that 24 hour time is used (no "AM" or "PM").
  862. # (for this to work, you have to define TIMEDKLINES in config.h)
  863. #K:acs*.bu.edu:0800-1200,1300-1700:*:0:
  864. #
  865. # This K: line bans any users from *foo.edu sending them the notice
  866. # "Use server irc.bar" instead of the default notice
  867. # "You are not welcome to this server"
  868. #K:*foo.edu:Use server irc.bar:*:0:
  869. #
  870. # This K: line bans any users from *toto.fr from using the port 6667,
  871. # and tells them to use port 6666 instead.
  872. #K:*toto.fr:Use port 6666:*:6667:
  873. #
  874. # This K: line bans any user from 129.69.0.0/16 as long the host doesn't run
  875. # identd (no matter if it replies type unix or other) from all ports.
  876. #k:129.69.0.0/16:identd (rfc1413) required:unknown::
  877. #
  878. # This does the same but only for unresolvable clients
  879. #k:=129.69.0.0/16:identd (rfc1413) required:unknown::
  880. #
  881. #
  882. ############################
  883. # L: [OPTIONAL]. These lines "Leaf" specified servers. They are only
  884. # useful if you are a non-leaf site yourself. There are two ways you can
  885. # use L: lines. The first will limit one particular site to a particular
  886. # tree depth (including 0, which would mean the server has to connect with
  887. # no servers linked behind it otherwise the connection will fail). The
  888. # second will allow you to be selective about which other servers you wish
  889. # the connecting server to behave as a leaf towards.
  890. #
  891. # The fields are as follows:
  892. # L:disallow connections to this hostmask::server name:depth
  893. # For example, this will force kaja.gi.alaska.edu to connect only as a
  894. # leaf (if it is not a leaf, the link will be dropped):
  895. #L:::kaja.gi.alaska.edu::
  896. # This line will force cm5.eng.umd.edu to have a depth of only 1 below it
  897. # (that is, it is allowed to have only leaves connected to it):
  898. #L:::cm5.eng.umd.edu:1:
  899. #
  900. # This line will prohibit anything matching *.edu to be connected behind
  901. # any server matching *.au:
  902. #L:*.edu::*.au::
  903. #
  904. #
  905. ############################
  906. # H: [OPTIONAL]. These lines define who you permit to act as a "hub" to
  907. # you (that is, who you permit to connect non-leafed servers to you).
  908. #
  909. # the first field may use wildcards, the third field *must* be an exact
  910. # match for a server's name (NOT a server's hostname, if they differ, the
  911. # server's name must be used). If the servername is a wildcard (e.g. *.au)
  912. # that is an acceptable name for the third field.
  913. #
  914. # Empty 2nd field is equal to '*', that is all SIDs are allowed to be
  915. # introduced via this link.
  916. #
  917. # The fields are as follows:
  918. # H:servers which are permitted entry:sid mask:hub server::
  919. #
  920. # Example, permit cs-ftp.bu.edu to allow any servers behind it to connect:
  921. #H:*::cs-ftp.bu.edu::
  922. #
  923. # Example, permit irc-2.mit.edu to allow any MIT servers behind it to
  924. # connect:
  925. #H:*.mit.edu::irc-2.mit.edu::
  926. #
  927. # Example, permit irc-2.mit.edu to allow any MIT servers behind it to
  928. # connect, but only if they have SID begining with "000":
  929. #H:*.mit.edu:000*:irc-2.mit.edu::
  930. # Note that requiring SID makes it impossible for 2.10 server to connect.
  931. #
  932. ############################
  933. # D: [OPTIONAL]. Control how auto connections are done. This will be mostly
  934. # useful for networks with complex configurations.
  935. #
  936. # D:<Denied Server Mask>:<Denied Class>:<Server Mask>:<Server Class>:
  937. # 1 2 3 4
  938. #
  939. # If a server matching <Denied Server Mask> or a server in <Denied Class>
  940. # is present (or absent, if <Denied Server Mask> is prefixed with '!')
  941. # ircd won't auto connect to any server matching <Server Mask>
  942. # or being in <Server Class> although auto connect for those is active.
  943. #
  944. # Example, don't auto connect to *.fi if some server of *.edu is already
  945. # linked
  946. #D:*.edu::*.fi::
  947. #
  948. # Example, don't auto connect to *.fi if no server of *.edu is yet linked
  949. #D:!*.edu::*.fi::
  950. #
  951. # Example, don't auto connect to *.fi or any server in class '3' if a
  952. # server from our class '2' is already present
  953. #D::2:*.fi:3:
  954. #
  955. #
  956. ############################
  957. # V: [OPTIONAL]. These lines define restrictions on servers connecting to
  958. # you.
  959. #
  960. # The first and third fields accept wildcards. The fields are as follow:
  961. # V:<Version Mask>:<Flags>:<Server Mask>::
  962. #
  963. # Example, 2.10 is an old version, and you want your peers to upgrade:
  964. #V:IRC/0210*::*::
  965. #
  966. # If you are running a production network, you most likely don't want to
  967. # allow servers compiled in DEBUGMODE which is a threat for the net
  968. # as well as for the privacy of the users:
  969. #V:*:D:*::
  970. #
  971. # Finally, you don't want *.edu servers to be version 2.10.2 *OR* to be
  972. # compiled with remote oper kills enabled:
  973. #V:IRC/021002*:K:*.edu::
  974. #
  975. #
  976. ############################
  977. # B: [SUGGESTED]. These lines define the alternate servers that the users
  978. # will be redirected to if your server is full.
  979. #
  980. # The fiels are as follow:
  981. # B:<Class|Host Mask>::<Server Name>:<Port>:
  982. #
  983. # For example, if you want to redirect your users to irc.stealth.net on port
  984. # 6667 when your server is full, use:
  985. B:-1::irc.stealth.net:6667:
  986. #
  987. # To redirect *.fi users when your server cannot accept any new user with
  988. # a hostname matching *.fi, use:
  989. B:*.fi::irc.funet.fi:6667:
  990. #
  991. #
  992. ############################
  993. # S: [OPTIONAL]. These lines define services allowed to connect to your
  994. # server. Each service needs a separate line which only allows him to
  995. # connect once. Remember to compile the ircd with #define USE_SERVICES
  996. # in config.h, otherwise you can't use services.
  997. #
  998. # The fields are as follow:
  999. # S:<TARGET Host Mask>:<Password>:<Service Name>:<Service Type>:<Class>
  1000. #
  1001. # Example, you want to allow a local information service:
  1002. S:eep.local.net:thisisapassword:EepInfo:0:1
  1003. #
  1004. # Another example, with hex mask. This is a temporary kline service (tkserv)
  1005. # as you can find it in contrib/tkserv :
  1006. S:eep.local.net:thisisapassword:TkEep:0x2000000:1
  1007. #
  1008. #
  1009. ############################
  1010. # Q: [DISCOURAGED]. These lines "quarantine" specified servers. Because
  1011. # of the way they operates, the same Q: lines MUST be installed by
  1012. # everyone or the net will keep breaking. I CANNOT EMPHASIZE THIS ENOUGH.
  1013. # Do NOT use Q: lines lightly!
  1014. #
  1015. # The fields are as follows:
  1016. # Q:*:reason why quarantine is in place:servername
  1017. #
  1018. #Q::this server is too slow and lags the net:cm5.eng.umd.edu::
  1019. #
  1020. # To redirect *.fi users when your server cannot accept any new user with
  1021. # a hostname matching *.fi, use:
  1022. B:*.fi::irc.funet.fi:6667:
  1023. #
  1024. #
  1025. ############################
  1026. # S: [OPTIONAL]. These lines define services allowed to connect to your
  1027. # server. Each service needs a separate line which only allows him to
  1028. # connect once. Remember to compile the ircd with #define USE_SERVICES
  1029. # in config.h, otherwise you can't use services.
  1030. #
  1031. # The fields are as follow:
  1032. # S:<TARGET Host Mask>:<Password>:<Service Name>:<Service Type>:<Class>
  1033. #
  1034. # Example, you want to allow a local information service:
  1035. #S:eep.local.net:thisisapassword:EepInfo:0:1
  1036. #
  1037. # Another example, with hex mask. This is a temporary kline service (tkserv)
  1038. # as you can find it in contrib/tkserv :
  1039. #S:eep.local.net:thisisapassword:TkEep:0x2000000:1
  1040. #
  1041. #
  1042. ############################
  1043. # Q: [DISCOURAGED]. These lines "quarantine" specified servers. Because
  1044. # of the way they operates, the same Q: lines MUST be installed by
  1045. # everyone or the net will keep breaking. I CANNOT EMPHASIZE THIS ENOUGH.
  1046. # Do NOT use Q: lines lightly!
  1047. #
  1048. # The fields are as follows:
  1049. # Q:*:reason why quarantine is in place:servername
  1050. #
  1051. #Q::this server is too slow and lags the net:cm5.eng.umd.edu::
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement