Advertisement
Guest User

UnrealIRCd Example Config File

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