Advertisement
Guest User

unrealircd.conf

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