Advertisement
Guest User

Unreal Config reference

a guest
Dec 10th, 2013
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.85 KB | None | 0 0
  1. /*
  2. * example.conf by Daniel Hawton AKA Osiris (osiris@unrealircd.org).
  3. * $Id$
  4. *
  5. * Works for Unreal3.2 and up
  6. *
  7. * Okay guys. This is the new example.conf. Its look is much like C++, kinda.
  8. * Anyway it is time to go over this. It's hard to pick up at first, but
  9. * with some pratice and reading you'll understand.
  10. *
  11. * Just copy this file to your main unrealircd dir and call it 'unrealircd.conf'.
  12. *
  13. * NOTE: All lines, except the opening { line, end in an ;, including the
  14. * closing } line. The IRCd will ignore commented lines.
  15. *
  16. * PLEASE READ doc/unreal32docs.html! The online version is also available at:
  17. * www.vulnscan.org/UnrealIRCd/unreal32docs.html
  18. * It contains a lot information about the configfile: gives information about
  19. * every block, variable, etc..
  20. * If you try to edit this file without reading the documentation properly
  21. * then you are pretty much guaranteed to fail!
  22. */
  23.  
  24. /* Type of comments */
  25. #Comment type 1 (Shell type)
  26. // Comment type 2(C++ style)
  27. /* Comment type 3 (C Style) */
  28. #those lines are ignored by the ircd.
  29.  
  30. /*
  31. * UnrealIRCd supports modules, loading some of them is required.
  32. * You need at least the commands module and a cloaking module.
  33. */
  34.  
  35. /* FOR *NIX, uncomment the following 2lines: */
  36. //loadmodule "src/modules/commands.so";
  37. //loadmodule "src/modules/cloak.so";
  38.  
  39. /* FOR Windows, uncomment the following 2 lines: */
  40. loadmodule "modules/commands.dll";
  41. loadmodule "modules/cloak.dll";
  42.  
  43. /*
  44. * You can also include other configuration files.
  45. * help.conf contains all the /helpop text. The badwords.*.conf
  46. * files contain all the badword entries for mode +G...
  47. * spamfilter.conf contains some good rules for current trojans.
  48. * You probably want to include them:
  49. */
  50. include "help.conf";
  51. include "badwords.channel.conf";
  52. include "badwords.message.conf";
  53. include "badwords.quit.conf";
  54. include "spamfilter.conf";
  55.  
  56. /*
  57. * NEW: me {}
  58. * OLD: M:Line
  59. * me {} defines the name, description and unreal server numeric for
  60. * this server. Syntax is as follows:
  61. * me {
  62. * name "server.name";
  63. * info "Server Description";
  64. * numeric (server numeric*);
  65. * };
  66. * If linking, this numeric may not be used by any other server on the network.
  67. */
  68. me
  69. {
  70. name "irc.qc2011-my.com";
  71. info "QCFreeChat";
  72. numeric 1;
  73. };
  74.  
  75. /*
  76. * NEW: admin {}
  77. * OLD: A:Line
  78. * Admin gives information on the server admin. you
  79. * may put as many lines under admin { as you wish.
  80. * Syntax is as follows:
  81. * admin {
  82. * "first line";
  83. * "second line";
  84. * [etc]
  85. * };
  86. */
  87. admin {
  88. "Arion Cielrion";
  89. "AC";
  90. "AC@arioncielrion-my.com";
  91. };
  92.  
  93. /*
  94. * NEW: class {}
  95. * OLD: Y:line (old was confusing)
  96. * These define settings for classes. A class is a group setting for
  97. * connections. Example, server connections, instead of going to a client's
  98. * class, you direct it to the server class. Syntax is as follows
  99. * class (class name)
  100. * {
  101. * pingfreq (how often to ping a user/server in seconds);
  102. * maxclients (how many connections for this class);
  103. * sendq (maximum send queue from a connection);
  104. * recvq (maximum receive queue from a connection [flood control]);
  105. * };
  106. */
  107.  
  108. class clients
  109. {
  110. pingfreq 180;
  111. maxclients 1000;
  112. sendq 200000;
  113. recvq 16000;
  114. };
  115.  
  116. class servers
  117. {
  118. pingfreq 180;
  119. maxclients 35; /* Max servers we can have linked at a time */
  120. sendq 2000000;
  121. connfreq 200; /* How many seconds between each connection attempt */
  122. };
  123.  
  124. /*
  125. * NEW: allow {}
  126. * OLD: I:Line
  127. * This defines allowing of connections...
  128. * Basically for clients, it allows them to connect so you can have some
  129. * control and/or set a password.
  130. * Syntax is as follows:
  131. * allow {
  132. * ip (ip mask to allow);
  133. * hostname (host mask);
  134. * class (class to send them to [see class {}]);
  135. * password "(password)"; (optional)
  136. * maxperip (how many connections per ip); (optional)
  137. * };
  138. */
  139.  
  140. allow {
  141. ip *@*;
  142. hostname *@*;
  143. class clients;
  144. maxperip 20;
  145. };
  146.  
  147. /* Passworded allow line */
  148. //allow {
  149. // ip *@255.255.255.255;
  150. // hostname *@*.passworded.ugly.people;
  151. // class clients;
  152. // password "whosthere";
  153. // maxperip 10;
  154. //};
  155.  
  156. /*
  157. * NEW: allow channel {}
  158. * OLD: chrestrict
  159. * Allows a user to join a channel...
  160. * like an except from deny channel.
  161. * Syntax:
  162. * allow channel {
  163. * channel "channel name";
  164. * class "clients"; (optional)
  165. * };
  166. */
  167. allow channel {
  168. channel "#WarezSucks";
  169. class "clients";
  170. };
  171.  
  172. /*
  173. * NEW: oper {}
  174. * OLD: O:Line
  175. * Defines an IRC Operator
  176. * IRC operators are there to keep sanity to the server and usually keep it
  177. * maintained and connected to the network.
  178. * The syntax is as follows:
  179. * oper (login) {
  180. * class (class to put them in, if different from I, moves them to new
  181. * class);
  182. * from {
  183. * userhost (ident@host);
  184. * userhost (ident@host);
  185. * };
  186. * flags
  187. * {
  188. * (flags here*);
  189. * };
  190. * OR
  191. * flags "old type flags, like OAaRD";
  192. * };
  193. */
  194.  
  195.  
  196. /* For a list of oper flags, see doc/unreal32docs.html#operblock
  197. * [HIGHLY recommended to read]
  198. */
  199.  
  200.  
  201.  
  202. oper AC {
  203. class clients;
  204. from {
  205. userhost AC@arioncielrion-my.com;
  206. userhost *@ac-cielrion.com.my;
  207. userhost *@*;
  208. };
  209. password "knockknock";
  210. flags
  211. {
  212. netadmin;
  213. can_rehash;
  214. can_die;
  215. can_restart;
  216. can_setq;
  217. can_localkill;
  218. can_globalkill;
  219. local;
  220. can_globalroute;
  221. can_localroute;
  222. can_zline;
  223. can_gzline;
  224. can_gkline;
  225. global;
  226. can_kline;
  227. can_unkline;
  228. can_localnotice;
  229. can_globalnotice;
  230. get_umodew;
  231. can_override;
  232. can_addline;
  233. get_umodew;
  234. get_host;
  235. can_dccdeny;
  236. };
  237. };
  238.  
  239. /*
  240. * NEW: listen {}
  241. * OLD: P:Line
  242. * This defines a port for the ircd to bind to, to
  243. * allow users/servers to connect to the server.
  244. * Syntax is as follows:
  245. * listen (ip number):(port number)
  246. * {
  247. * options {
  248. * (options here);
  249. * };
  250. * };
  251. * or for a plain
  252. * listen: listen (ip):(port);
  253. *
  254. * NOTICE: for ipv6 ips (3ffe:b80:2:51d::2 etc), use listen [ip]:port;
  255. *
  256. * That works also.
  257. */
  258.  
  259. /* Options for listen:
  260. OLD | NEW
  261. S serversonly
  262. C clientsonly
  263. J java
  264. s ssl
  265. * standard
  266. */
  267.  
  268. /* NOTE ON SSL PORTS: SSL ports are pretty non-standardized,
  269. * besides numerous high-SSL ports, some people say you should run
  270. * it at 994 because that's the official SSL port.. but that
  271. * requires root! Besides, port 194 is the official irc port and
  272. * have you ever seen an ircd running on that?
  273. * So, our suggestion is to use port 6697 for SSL, this is used by
  274. * quite some networks and is recognized by for example StunTour.
  275. * You are free to open up as many SSL ports as you want, but
  276. * by (also) using 6697 you help the world standardize a bit ;).
  277. */
  278. listen *:6697
  279. {
  280. options
  281. {
  282. //ssl;
  283. clientsonly;
  284. };
  285. };
  286.  
  287.  
  288.  
  289. listen 127.0.0.1:6660-6675;
  290. listen *:8067;
  291. listen *:6660-6675;
  292.  
  293.  
  294. /* NOTE: If you are on an IRCd shell with multiple IP's you are
  295. * likely to get 'Address already in use' errors in your log
  296. * and the ircd won't start. This means you MUST bind
  297. * to a specific IP instead of '*', so for example:
  298. * listen 1.2.3.4:6667;
  299. * Obviously, replace the IP with the IP that was assigned to you.
  300. */
  301.  
  302. /*
  303. * NEW: link {}
  304. * OLD: C/N:Lines
  305. * This defines an okay for a server connection.
  306. * NOTE: BOTH SERVERS NEED A LINK {} SETTING TO CONNECT PROPERLY!
  307. * Syntax is as follows:
  308. * link (server name)
  309. * {
  310. * username (username, * works too);
  311. * hostname (ip number/hostmask);
  312. * bind-ip (What IP to bind to when connecting, or *);
  313. * port (port to connect to, if any);
  314. * hub (If this is a hub, * works, or servermasks it may bring in);
  315. * [or leaf *;]
  316. * password-connect "(pass to send)";
  317. * password-receive "(pass we should receive)";
  318. * class (class to direct servers into);
  319. * options {
  320. * (options here*);
  321. * };
  322. * // If we use SSL, we can choose what cipher to use in SSL mode
  323. * // Retrieve a list by "openssl ciphers", separate ciphers with :'s
  324. *
  325. * //ciphers "DES-CBC3-MD5";
  326. *
  327. * };
  328. */
  329.  
  330. /*
  331. options:
  332. OLD | NEW
  333. S ssl
  334. Z zip
  335. N/A autoconnect
  336. N/A quarantine
  337. N/A nodnscache
  338. */
  339.  
  340.  
  341. link services.qc2011-my.com
  342. {
  343. username *;
  344. hostname "127.0.0.1";
  345. port 6667;
  346. bind-ip "127.0.0.1";
  347. hub *;
  348. password-connect "PASSHERE";
  349. password-receive "PASSHERE";
  350. class servers;
  351. };
  352.  
  353. /*
  354. *
  355. * NEW: ulines {}
  356. * OLD: U:Line
  357. * U-lines give servers more power/commands, this should ONLY be set
  358. * for services/stats servers and NEVER for normal UnrealIRCd servers!
  359. * Syntax is as follows:
  360. * ulines {
  361. * (server to uline);
  362. * (server to uline);
  363. * [etc]
  364. * };
  365. */
  366.  
  367. ulines {
  368. services.qc2011-my.com;
  369. };
  370. listen 127.0.0.1:8067;
  371.  
  372. /*
  373. * NEW: drpass {}
  374. * OLD: X:Line
  375. * This defines the passwords for /die and /restart.
  376. * Syntax is as follows:
  377. * drpass {
  378. * restart "(password for restarting)";
  379. * die "(password for die)";
  380. * };
  381. */
  382. drpass {
  383. restart "dotdot";
  384. die "deeddeet";
  385. };
  386.  
  387. /*
  388. * NEW: log {} OLD: N/A Tells the ircd where and what to log(s). You can have
  389. * as many as you wish.
  390. *
  391. * FLAGS: errors, kills, tkl, connects, server-connects, oper
  392. *
  393. * Syntax:
  394. * log "log file"
  395. * {
  396. * flags
  397. * {
  398. * flag;
  399. * flag;
  400. * etc..
  401. * };
  402. * };
  403. */
  404.  
  405. log "ircd.log" {
  406. /* Delete the log file and start a new one when it reaches 2MB, leave this out to always use the
  407. same log */
  408. maxsize 50MB;
  409. flags {
  410. oper;
  411. connects;
  412. server-connects;
  413. kills;
  414. errors;
  415. sadmin-commands;
  416. chg-commands;
  417. oper-override;
  418. spamfilter;
  419. tkl;
  420. };
  421. };
  422.  
  423. /*
  424. * NEW: alias {}
  425. * OLD: N/A
  426. * This allows you to set command aliases such as /nickserv, /chanserv etc
  427. * FLAGS: services, stats, normal
  428. *
  429. * Syntax:
  430. * alias "name" {
  431. * target "points to";
  432. * type aliastype;
  433. * };
  434. *
  435. * [NOTE: You could also include a pre-defined alias file here, see doc/unreal32docs.html section 2.9]
  436. */
  437.  
  438. // This points the command /nickserv to the user NickServ who is connected to the set::services-server server
  439. /*alias NickServ {
  440. target "NickServ";
  441. type services;
  442. };*/
  443.  
  444. // If you want the command to point to the same nick as the command, you can leave the nick entry out
  445. //alias ChanServ { type services; };
  446.  
  447. // Points the /statserv command to the user StatServ on the set::stats-server server
  448. //alias StatServ { type stats; };
  449.  
  450. // Points the /superbot command to the user SuperBot
  451. //alias SuperBot { type normal; };
  452.  
  453.  
  454. /* Standard aliases */
  455. alias NickServ { type services; };
  456. alias ChanServ { type services; };
  457. alias OperServ { type services; };
  458. alias HelpServ { type services; };
  459. alias StatServ { type stats; };
  460.  
  461. /*
  462. * NEW: alias {}
  463. * OLD: N/A
  464. * This allows you to set command aliases such as /identify, /services, etc
  465. *
  466. * Syntax:
  467. * alias "name" {
  468. * format "format string" {
  469. * target "points to";
  470. * type aliastype;
  471. * parameters "parameters to send";
  472. * };
  473. * type command;
  474. * };
  475. */
  476. /* This is shown seperately because even though it has teh same name as the previous directive, it is very
  477. * different in syntax, although it provides a similar function and relys on the standard aliases to work.
  478. */
  479. /*
  480. alias "identify" {
  481. format "^#" {
  482. target "chanserv";
  483. type services;
  484. parameters "IDENTIFY %1-";
  485. };
  486. format "^[^#]" {
  487. target "nickserv";
  488. type services;
  489. parameters "IDENTIFY %1-";
  490. };
  491. type command;
  492. };
  493. */
  494. /* The alias::format directive is a regular expression. The first format matches the /identify command when
  495. * the first character is a #. It then passes this along to the chanserv alias with the parameters IDENTIFY
  496. * %1-. The second format matches then /identify command when the first character is not a #. It then
  497. * passes the command to the nickserv alias with parameters IDENTIFY %1-.
  498. */
  499.  
  500. /* The alias::format::parameters is similar to scripting languages. %N (where N is a number) represents a
  501. * parameter sent to the command (in this case /identify). If you specify %N- it means all parameters from
  502. * N until the last parameter in the string. You may also specify %n which is replaced by
  503. * the user's nickname.
  504. */
  505.  
  506. /* Standard aliases */
  507. alias "services" {
  508. format "^#" {
  509. target "chanserv";
  510. type services;
  511. parameters "%1-";
  512. };
  513. format "^[^#]" {
  514. target "nickserv";
  515. type services;
  516. parameters "%1-";
  517. };
  518. type command;
  519. };
  520.  
  521. alias "identify" {
  522. format "^#" {
  523. target "chanserv";
  524. type services;
  525. parameters "IDENTIFY %1-";
  526. };
  527. format "^[^#]" {
  528. target "nickserv";
  529. type services;
  530. parameters "IDENTIFY %1-";
  531. };
  532. type command;
  533. };
  534.  
  535. /* This is an example of a real command alias */
  536. /* This maps /GLINEBOT to /GLINE <parameter> 2d etc... */
  537. alias "glinebot" {
  538. format ".+" {
  539. command "gline";
  540. type real;
  541. parameters "%1 2d Bots are not allowed on this server, please read the faq at http://www.example.com/faq/123";
  542. };
  543. type command;
  544. };
  545.  
  546. /*
  547. * NEW: files {}
  548. * OLD: include/config.h
  549. *
  550. * This block overrides the IRCd's default paths for loading things
  551. * like the MOTD, saving its PID, or writing/loading its tunefile. The
  552. * existence of this block allows one UnrealIRCd installation to
  553. * support multiple running instances when combined with the -c
  554. * commandline option.
  555. *
  556. * As usual, relative paths are interpreted relative to the directory
  557. * where UnrealIRCd would find unrealircd.conf if -c is _not_
  558. * specified on the commandline.
  559. */
  560. files
  561. {
  562. /* The Message Of The Day shown to users who log in: */
  563. /* motd ircd.motd; */
  564.  
  565. /*
  566. * A short MOTD. If this file exists, it will be displayed to
  567. * the user in place of the MOTD. Users can still view the
  568. * full MOTD by using the /MOTD command.
  569. */
  570. /* shortmotd ircd.smotd; */
  571.  
  572. /* Shown when an operator /OPERs up */
  573. /* opermotd oper.motd; */
  574.  
  575. /* Services MOTD append. */
  576. /* svsmotd ircd.svsmotd; */
  577.  
  578. /* Bot MOTD */
  579. /* botmotd bot.motd; */
  580.  
  581. /* Shown upon /RULES */
  582. /* rules ircd.rules; */
  583.  
  584. /*
  585. * Where the IRCd stores and loads a few values which should
  586. * be persistent across server restarts. Must point to an
  587. * existing file which the IRCd has permission to alter or to
  588. * a file in a folder within which the IRCd may create files.
  589. */
  590. /* tunefile ircd.tune; */
  591.  
  592. /* Where to save the IRCd's pid. Should be writable by the IRCd. */
  593. /* pidfile ircd.pid; */
  594. };
  595.  
  596. /*
  597. * NEW: tld {}
  598. * OLD: T:Line
  599. * This sets a different motd and rules files
  600. * depending on the clients hostmask.
  601. * Syntax is as follows:
  602. * tld {
  603. * mask (ident@host);
  604. * motd "(motd file)";
  605. * rules "(rules file)";
  606. * };
  607. */
  608.  
  609. tld {
  610. mask *@*.fr;
  611. motd "ircd.motd.fr";
  612. rules "ircd.rules.fr";
  613. };
  614.  
  615. /* note: you can just delete the example block above,
  616. * in which case the defaults motd/rules files (ircd.motd, ircd.rules)
  617. * will be used for everyone.
  618. */
  619.  
  620. /*
  621. * NEW: ban nick {}
  622. * OLD: Q:Line
  623. * Bans a nickname, so it can't be used.
  624. * Syntax is as follows:
  625. * ban nick {
  626. * mask "(nick to ban)";
  627. * reason "(reason)";
  628. * };
  629. */
  630. ban nick {
  631. mask "*C*h*a*n*S*e*r*v*";
  632. reason "Reserved for Services";
  633. };
  634. /*
  635. * NEW: ban ip {}
  636. * OLD: Z:Line
  637. * Bans an ip from connecting to the network.
  638. * Syntax:
  639. * ban ip { mask (ip number/hostmask); reason "(reason)"; };
  640. */
  641. ban ip {
  642. mask 195.86.232.81;
  643. reason "Delinked server";
  644. };
  645. /*
  646. * NEW: ban server {}
  647. * OLD: Server Q:Line
  648. * Disables a server from connecting to the network.
  649. * if the server links to a remote server, local server
  650. * will disconnect from the network.
  651. * Syntax is as follows:
  652. * ban server {
  653. * mask "(server name)";
  654. * reason "(reason to give)";
  655. * };
  656. */
  657.  
  658. ban server {
  659. mask eris.berkeley.edu;
  660. reason "Get out of here.";
  661. };
  662. /*
  663. * NEW: ban user {}
  664. * OLD: K:Line
  665. * This makes it so a user from a certain mask can't connect
  666. * to your server.
  667. * Syntax:
  668. * ban user { mask (hostmask/ip number); reason "(reason)"; };
  669. */
  670.  
  671. ban user {
  672. mask *tirc@*.saturn.bbn.com;
  673. reason "Idiot";
  674. };
  675.  
  676. /*
  677. * NEW: ban realname {}
  678. * OLD: n:Line
  679. * This bans a certain realname from being used.
  680. * Syntax:
  681. * ban realname {
  682. * mask "(real name)";
  683. * reason "(reason)";
  684. * };
  685. */
  686.  
  687. ban realname {
  688. mask "Swat Team";
  689. reason "mIRKFORCE";
  690. };
  691.  
  692. ban realname {
  693. mask "sub7server";
  694. reason "sub7";
  695. };
  696.  
  697. /*
  698. * NOTE FOR ALL BANS, they may be repeated for addition entries!
  699. *
  700. * NEW: except ban {}
  701. * OLD: E:Line
  702. * This makes it so you can't get banned.
  703. * Syntax:
  704. * except ban { mask (ident@host); };
  705. * Repeat the except ban {} as many times
  706. * as you want for different hosts.
  707. */
  708.  
  709. except ban {
  710. /* don't ban stskeeps */
  711. mask *stskeeps@212.*;
  712. };
  713.  
  714. /*
  715. * NEW: deny dcc {}
  716. * OLD: dccdeny.conf
  717. * Use this to block dcc send's... stops
  718. * viruses better.
  719. * Syntax:
  720. * deny dcc
  721. * {
  722. * filename "file to block (ie, *exe)";
  723. * reason "reason";
  724. * };
  725. */
  726. deny dcc {
  727. filename "*sub7*";
  728. reason "Possible Sub7 Virus";
  729. };
  730.  
  731. /*
  732. * NEW: deny channel {}
  733. * OLD: N/A (NEW)
  734. * This blocks channels from being joined.
  735. * Syntax:
  736. * deny channel {
  737. * channel "(channel)";
  738. * reason "reason";
  739. * class "clients"; (optional)
  740. * };
  741. */
  742. deny channel {
  743. channel "*warez*";
  744. reason "Warez is illegal";
  745. class "clients";
  746. };
  747.  
  748. deny channel {
  749. channel "*teen*sex*";
  750. reason "Sex - mentioned channel are not allowed in this network.";
  751. warn on;
  752. };
  753.  
  754. deny channel {
  755. channel "*hentai*";
  756. reason "Anime sex-mentioned channel are not allowed in this network.";
  757. warn on;
  758. };
  759.  
  760. deny channel {
  761. channel "#Help";
  762. reason "We're not available at #Help, the network will direct you to our special help channel.";
  763. redirect "#QC_IRCAdmins";
  764. };
  765. /*
  766. * NEW: vhost {}
  767. * OLD: Vhost.conf file
  768. * This sets a fake ip for non-opers, or
  769. * opers too lazy to /sethost :P
  770. * Syntax:
  771. * vhost {
  772. * vhost (vhost.com);
  773. * from {
  774. * userhost (ident@host to allow to use it);
  775. * };
  776. * login (login name);
  777. * password (password);
  778. * };
  779. * then to use this vhost, do /vhost (login) (password) in IRC
  780. */
  781. vhost {
  782. vhost physics.explains.that.the.world.is.full.of.deja.vu;
  783. from {
  784. userhost *@*;
  785. };
  786. login AC;
  787. password hm;
  788. };
  789.  
  790. /* You can include other configuration files */
  791. /* include "klines.conf"; */
  792. /* include "aliases/anope.conf"; */
  793.  
  794. /* Network configuration */
  795. set {
  796. network-name "FreeChat v1.0b";
  797. default-server "irc.qc2011-my.com";
  798. services-server "Services.qc2011-my.com";
  799. help-channel "#Help";
  800. hiddenhost-prefix "irc.qc2011-my.com";
  801. /* prefix-quit "no"; */
  802. /* Cloak keys should be the same at all servers on the network.
  803. * They are used for generating masked hosts and should be kept secret.
  804. * The keys should be 3 random strings of 5-100 characters
  805. * (10-20 chars is just fine) and must consist of lowcase (a-z),
  806. * upcase (A-Z) and digits (0-9) [see first key example].
  807. * HINT: On *NIX, you can run './unreal gencloak' in your shell to let
  808. * Unreal generate 3 random strings for you.
  809. */
  810. cloak-keys {
  811. "CSAxDoaW1Pv2kWPsAtrZYbji7Bhkgv";
  812. "Syw0FwkGolciZDJ1AIN7RGvu0RUfWS";
  813. "fwYGYZncIIn6I7E2GzJu7CglUv1jsM";
  814. };
  815. /* on-oper host */
  816. hosts {
  817. local "LocalOp.qc2011-my.com";
  818. global "IrcOp.qc2011-my.com";
  819. coadmin "CoAdmin.qc2011-my.com";
  820. admin "Admin.qc2011-my.com";
  821. servicesadmin "ServicesAdmin.qc2011-my.com";
  822. netadmin "NetAdmin.qc2011-my.com";
  823. host-on-oper-up "yes";
  824.  
  825. };
  826. };
  827.  
  828. /* Server specific configuration */
  829.  
  830. set {
  831. kline-address "ac_qc2011@gmail.com";
  832. modes-on-connect "+ixw";
  833. modes-on-oper "+xwgs";
  834. modes-on-join "+nt";
  835. oper-auto-join "#QC_IRCAdmins";
  836. options {
  837. hide-ulines;
  838. /* You can enable ident checking here if you want */
  839. /* identd-check; */
  840. show-connect-info;
  841. };
  842.  
  843. maxchannelsperuser 10;
  844. /* The minimum time a user must be connected before being allowed to use a QUIT message,
  845. * This will hopefully help stop spam */
  846. anti-spam-quit-message-time 10s;
  847. /* Make the message in static-quit show in all quits - meaning no
  848. custom quits are allowed on local server */
  849. /* static-quit "Client quit"; */
  850.  
  851. /* You can also block all part reasons by uncommenting this and say 'yes',
  852. * or specify some other text (eg: "Bye bye!") to always use as a comment.. */
  853. /* static-part yes; */
  854.  
  855. /* This allows you to make certain stats oper only, use * for all stats,
  856. * leave it out to allow users to see all stats. Type '/stats' for a full list.
  857. * Some admins might want to remove the 'kGs' to allow normal users to list
  858. * klines, glines and shuns.
  859. */
  860. oper-only-stats "okfGsMRUEelLCXzdD";
  861.  
  862. /* Throttling: this example sets a limit of 3 connection attempts per 60s (per host). */
  863. throttle {
  864. connections 3;
  865. period 60s;
  866. };
  867.  
  868. /* Anti flood protection */
  869. anti-flood {
  870. nick-flood 3:60; /* 3 nickchanges per 60 seconds (the default) */
  871. };
  872.  
  873. /* Spam filter */
  874. spamfilter {
  875. ban-time 1d; /* default duration of a *line ban set by spamfilter */
  876. ban-reason "Spam/Advertising"; /* default reason */
  877. virus-help-channel "#help"; /* channel to use for 'viruschan' action */
  878. /* except "#help"; channel to exempt from filtering */
  879. };
  880. };
  881.  
  882. /*
  883. * Problems or need more help?
  884. * 1) www.vulnscan.org/UnrealIRCd/unreal32docs.html
  885. * 2) www.vulnscan.org/UnrealIRCd/faq/ <- contains 80% of your questions!
  886. * 3) If you still have problems you can go irc.unrealircd.org #unreal-support,
  887. * note that we require you to READ THE DOCUMENTATION and FAQ first!
  888. */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement