Guest User

Unrealircd conf

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