Advertisement
Guest User

UnrealIRCd Config

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