Advertisement
Guest User

Unrealircd conf

a guest
Jan 9th, 2016
1,894
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 (osiris@unrealircd.org).
  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. "adamfdls@gmail.com";
  91. };
  92.  
  93. /*
  94. * NEW: class {}
  95. * OLD: Y:line (old was confusing)
  96. * These define settings for classes. A class is a group setting for
  97. * connections. Example, server connections, instead of going to a client's
  98. * class, you direct it to the server class. Syntax is as follows
  99. * class (class name)
  100. * {
  101. * pingfreq (how often to ping a user/server in seconds);
  102. * maxclients (how many connections for this class);
  103. * sendq (maximum send queue from a connection);
  104. * recvq (maximum receive queue from a connection [flood control]);
  105. * };
  106. */
  107.  
  108. class clients
  109. {
  110. pingfreq 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 ircadminAdam {
  201. class clients;
  202. from {
  203. userhost *@*;
  204. };
  205. password "f00";
  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. *
  334. * NEW: ulines {}
  335. * OLD: U:Line
  336. * U-lines give servers more power/commands, this should ONLY be set
  337. * for services/stats servers and NEVER for normal UnrealIRCd servers!
  338. * Syntax is as follows:
  339. * ulines {
  340. * (server to uline);
  341. * (server to uline);
  342. * [etc]
  343. * };
  344. */
  345.  
  346. //ulines {
  347. // services.roxnet.org;
  348. // stats.roxnet.org;
  349. //};
  350.  
  351. /*
  352. * NEW: drpass {}
  353. * OLD: X:Line
  354. * This defines the passwords for /die and /restart.
  355. * Syntax is as follows:
  356. * drpass {
  357. * restart "(password for restarting)";
  358. * die "(password for die)";
  359. * };
  360. */
  361. drpass {
  362. restart "I-love-to-restart";
  363. die "die-you-stupid";
  364. };
  365.  
  366. /*
  367. * NEW: log {} OLD: N/A Tells the ircd where and what to log(s). You can have
  368. * as many as you wish.
  369. *
  370. * FLAGS: errors, kills, tkl, connects, server-connects, oper
  371. *
  372. * Syntax:
  373. * log "log file"
  374. * {
  375. * flags
  376. * {
  377. * flag;
  378. * flag;
  379. * etc..
  380. * };
  381. * };
  382. */
  383.  
  384. log "ircd.log" {
  385. /* Delete the log file and start a new one when it reaches 2MB, leave this out to always use the
  386. same log */
  387. maxsize 2097152;
  388. flags {
  389. oper;
  390. connects;
  391. server-connects;
  392. kills;
  393. errors;
  394. sadmin-commands;
  395. chg-commands;
  396. oper-override;
  397. spamfilter;
  398. };
  399. };
  400.  
  401. /*
  402. * NEW: alias {}
  403. * OLD: N/A
  404. * This allows you to set command aliases such as /nickserv, /chanserv etc
  405. * FLAGS: services, stats, normal
  406. *
  407. * Syntax:
  408. * alias "name" {
  409. * target "points to";
  410. * type aliastype;
  411. * };
  412. *
  413. * [NOTE: You could also include a pre-defined alias file here, see doc/unreal32docs.html section 2.9]
  414. */
  415.  
  416. // This points the command /nickserv to the user NickServ who is connected to the set::services-server server
  417. /*alias NickServ {
  418. target "NickServ";
  419. type services;
  420. };*/
  421.  
  422. // If you want the command to point to the same nick as the command, you can leave the nick entry out
  423. //alias ChanServ { type services; };
  424.  
  425. // Points the /statserv command to the user StatServ on the set::stats-server server
  426. //alias StatServ { type stats; };
  427.  
  428. // Points the /superbot command to the user SuperBot
  429. //alias SuperBot { type normal; };
  430.  
  431.  
  432. /* Standard aliases */
  433. alias NickServ { type services; };
  434. alias ChanServ { type services; };
  435. alias OperServ { type services; };
  436. alias HelpServ { type services; };
  437. alias StatServ { type stats; };
  438.  
  439. /*
  440. * NEW: alias {}
  441. * OLD: N/A
  442. * This allows you to set command aliases such as /identify, /services, etc
  443. *
  444. * Syntax:
  445. * alias "name" {
  446. * format "format string" {
  447. * target "points to";
  448. * type aliastype;
  449. * parameters "parameters to send";
  450. * };
  451. * type command;
  452. * };
  453. */
  454. /* This is shown seperately because even though it has teh same name as the previous directive, it is very
  455. * different in syntax, although it provides a similar function and relys on the standard aliases to work.
  456. */
  457. /*
  458. alias "identify" {
  459. format "^#" {
  460. target "chanserv";
  461. type services;
  462. parameters "IDENTIFY %1-";
  463. };
  464. format "^[^#]" {
  465. target "nickserv";
  466. type services;
  467. parameters "IDENTIFY %1-";
  468. };
  469. type command;
  470. };
  471. */
  472. /* The alias::format directive is a regular expression. The first format matches the /identify command when
  473. * the first character is a #. It then passes this along to the chanserv alias with the parameters IDENTIFY
  474. * %1-. The second format matches then /identify command when the first character is not a #. It then
  475. * passes the command to the nickserv alias with parameters IDENTIFY %1-.
  476. */
  477.  
  478. /* The alias::format::parameters is similar to scripting languages. %N (where N is a number) represents a
  479. * parameter sent to the command (in this case /identify). If you specify %N- it means all parameters from
  480. * N until the last parameter in the string. You may also specify %n which is replaced by
  481. * the user's nickname.
  482. */
  483.  
  484. /* Standard aliases */
  485. alias "services" {
  486. format "^#" {
  487. target "chanserv";
  488. type services;
  489. parameters "%1-";
  490. };
  491. format "^[^#]" {
  492. target "nickserv";
  493. type services;
  494. parameters "%1-";
  495. };
  496. type command;
  497. };
  498.  
  499. alias "identify" {
  500. format "^#" {
  501. target "chanserv";
  502. type services;
  503. parameters "IDENTIFY %1-";
  504. };
  505. format "^[^#]" {
  506. target "nickserv";
  507. type services;
  508. parameters "IDENTIFY %1-";
  509. };
  510. type command;
  511. };
  512.  
  513. /* This is an example of a real command alias */
  514. /* This maps /GLINEBOT to /GLINE <parameter> 2d etc... */
  515. alias "glinebot" {
  516. format ".+" {
  517. command "gline";
  518. type real;
  519. parameters "%1 2d Bots are not allowed on this server, please read the faq at http://www.example.com/faq/123";
  520. };
  521. type command;
  522. };
  523.  
  524. /*
  525. * NEW: files {}
  526. * OLD: include/config.h
  527. *
  528. * This block overrides the IRCd's default paths for loading things
  529. * like the MOTD, saving its PID, or writing/loading its tunefile. The
  530. * existence of this block allows one UnrealIRCd installation to
  531. * support multiple running instances when combined with the -c
  532. * commandline option.
  533. *
  534. * As usual, relative paths are interpreted relative to the directory
  535. * where UnrealIRCd would find unrealircd.conf if -c is _not_
  536. * specified on the commandline.
  537. */
  538. files
  539. {
  540. /* The Message Of The Day shown to users who log in: */
  541. /* motd ircd.motd; */
  542.  
  543. /*
  544. * A short MOTD. If this file exists, it will be displayed to
  545. * the user in place of the MOTD. Users can still view the
  546. * full MOTD by using the /MOTD command.
  547. */
  548. /* shortmotd ircd.smotd; */
  549.  
  550. /* Shown when an operator /OPERs up */
  551. /* opermotd oper.motd; */
  552.  
  553. /* Services MOTD append. */
  554. /* svsmotd ircd.svsmotd; */
  555.  
  556. /* Bot MOTD */
  557. /* botmotd bot.motd; */
  558.  
  559. /* Shown upon /RULES */
  560. /* rules ircd.rules; */
  561.  
  562. /*
  563. * Where the IRCd stores and loads a few values which should
  564. * be persistent across server restarts. Must point to an
  565. * existing file which the IRCd has permission to alter or to
  566. * a file in a folder within which the IRCd may create files.
  567. */
  568. /* tunefile ircd.tune; */
  569.  
  570. /* Where to save the IRCd's pid. Should be writable by the IRCd. */
  571. /* pidfile ircd.pid; */
  572. };
  573.  
  574. /*
  575. * NEW: tld {}
  576. * OLD: T:Line
  577. * This sets a different motd and rules files
  578. * depending on the clients hostmask.
  579. * Syntax is as follows:
  580. * tld {
  581. * mask (ident@host);
  582. * motd "(motd file)";
  583. * rules "(rules file)";
  584. * };
  585. */
  586.  
  587. tld {
  588. mask *@*.fr;
  589. motd "ircd.motd.fr";
  590. rules "ircd.rules.fr";
  591. };
  592.  
  593. /* note: you can just delete the example block above,
  594. * in which case the defaults motd/rules files (ircd.motd, ircd.rules)
  595. * will be used for everyone.
  596. */
  597.  
  598. /*
  599. * NEW: ban nick {}
  600. * OLD: Q:Line
  601. * Bans a nickname, so it can't be used.
  602. * Syntax is as follows:
  603. * ban nick {
  604. * mask "(nick to ban)";
  605. * reason "(reason)";
  606. * };
  607. */
  608. ban nick {
  609. mask "*C*h*a*n*S*e*r*v*";
  610. reason "Reserved for Services";
  611. };
  612. /*
  613. * NEW: ban ip {}
  614. * OLD: Z:Line
  615. * Bans an ip from connecting to the network.
  616. * Syntax:
  617. * ban ip { mask (ip number/hostmask); reason "(reason)"; };
  618. */
  619. ban ip {
  620. mask 195.86.232.81;
  621. reason "Delinked server";
  622. };
  623. /*
  624. * NEW: ban server {}
  625. * OLD: Server Q:Line
  626. * Disables a server from connecting to the network.
  627. * if the server links to a remote server, local server
  628. * will disconnect from the network.
  629. * Syntax is as follows:
  630. * ban server {
  631. * mask "(server name)";
  632. * reason "(reason to give)";
  633. * };
  634. */
  635.  
  636. ban server {
  637. mask eris.berkeley.edu;
  638. reason "Get out of here.";
  639. };
  640. /*
  641. * NEW: ban user {}
  642. * OLD: K:Line
  643. * This makes it so a user from a certain mask can't connect
  644. * to your server.
  645. * Syntax:
  646. * ban user { mask (hostmask/ip number); reason "(reason)"; };
  647. */
  648.  
  649. ban user {
  650. mask *tirc@*.saturn.bbn.com;
  651. reason "Idiot";
  652. };
  653.  
  654. /*
  655. * NEW: ban realname {}
  656. * OLD: n:Line
  657. * This bans a certain realname from being used.
  658. * Syntax:
  659. * ban realname {
  660. * mask "(real name)";
  661. * reason "(reason)";
  662. * };
  663. */
  664.  
  665. ban realname {
  666. mask "Swat Team";
  667. reason "mIRKFORCE";
  668. };
  669.  
  670. ban realname {
  671. mask "sub7server";
  672. reason "sub7";
  673. };
  674.  
  675. /*
  676. * NOTE FOR ALL BANS, they may be repeated for addition entries!
  677. *
  678. * NEW: except ban {}
  679. * OLD: E:Line
  680. * This makes it so you can't get banned.
  681. * Syntax:
  682. * except ban { mask (ident@host); };
  683. * Repeat the except ban {} as many times
  684. * as you want for different hosts.
  685. */
  686.  
  687. except ban {
  688. /* don't ban stskeeps */
  689. mask *stskeeps@212.*;
  690. };
  691.  
  692. /*
  693. * NEW: deny dcc {}
  694. * OLD: dccdeny.conf
  695. * Use this to block dcc send's... stops
  696. * viruses better.
  697. * Syntax:
  698. * deny dcc
  699. * {
  700. * filename "file to block (ie, *exe)";
  701. * reason "reason";
  702. * };
  703. */
  704. deny dcc {
  705. filename "*sub7*";
  706. reason "Possible Sub7 Virus";
  707. };
  708.  
  709. /*
  710. * NEW: deny channel {}
  711. * OLD: N/A (NEW)
  712. * This blocks channels from being joined.
  713. * Syntax:
  714. * deny channel {
  715. * channel "(channel)";
  716. * reason "reason";
  717. * class "clients"; (optional)
  718. * };
  719. */
  720. deny channel {
  721. channel "*warez*";
  722. reason "Warez is illegal";
  723. class "clients";
  724. };
  725.  
  726. /*
  727. * NEW: vhost {}
  728. * OLD: Vhost.conf file
  729. * This sets a fake ip for non-opers, or
  730. * opers too lazy to /sethost :P
  731. * Syntax:
  732. * vhost {
  733. * vhost (vhost.com);
  734. * from {
  735. * userhost (ident@host to allow to use it);
  736. * };
  737. * login (login name);
  738. * password (password);
  739. * };
  740. * then to use this vhost, do /vhost (login) (password) in IRC
  741. */
  742. vhost {
  743. vhost i.hate.microsefrs.com;
  744. from {
  745. userhost *@*.image.dk;
  746. };
  747. login stskeeps;
  748. password moocowsrulemyworld;
  749. };
  750.  
  751. /* You can include other configuration files */
  752. /* include "klines.conf"; */
  753.  
  754. /* Network configuration */
  755. set {
  756. network-name "chat.com";
  757. default-server "irc.chat.com";
  758. services-server "services.chat.com";
  759. stats-server "stats.chat.com";
  760. help-channel "#chatNET";
  761. hiddenhost-prefix "chat";
  762. /* prefix-quit "no"; */
  763. /* Cloak keys should be the same at all servers on the network.
  764. * They are used for generating masked hosts and should be kept secret.
  765. * The keys should be 3 random strings of 5-100 characters
  766. * (10-20 chars is just fine) and must consist of lowcase (a-z),
  767. * upcase (A-Z) and digits (0-9) [see first key example].
  768. * HINT: On *NIX, you can run './unreal gencloak' in your shell to let
  769. * Unreal generate 3 random strings for you.
  770. */
  771. cloak-keys {
  772. "aoAr1HnR6gl3sJ7hVz4Zb7x4YwpW";
  773. "amsndKJAHSDjansdkajsLa89789d";
  774. "a879sd6JhaskjdhakjsdgjaksKjj";
  775. };
  776. /* on-oper host */
  777. hosts {
  778. local "locop.chat.com";
  779. global "ircop.chat.com";
  780. coadmin "coadmin.chat.com";
  781. admin "admin.chat.com";
  782. servicesadmin "csops.chat.com";
  783. netadmin "netadmin.chat.com";
  784. host-on-oper-up "no";
  785. };
  786. };
  787.  
  788. /* Server specific configuration */
  789.  
  790. set {
  791. kline-address "adamfdls@gmail.com";
  792. modes-on-connect "+ixw";
  793. modes-on-oper "+xwgs";
  794. oper-auto-join "#opers";
  795. options {
  796. hide-ulines;
  797. /* You can enable ident checking here if you want */
  798. /* identd-check; */
  799. show-connect-info;
  800. };
  801.  
  802. maxchannelsperuser 10;
  803. /* The minimum time a user must be connected before being allowed to use a QUIT message,
  804. * This will hopefully help stop spam */
  805. anti-spam-quit-message-time 10s;
  806. /* Make the message in static-quit show in all quits - meaning no
  807. custom quits are allowed on local server */
  808. /* static-quit "Client quit"; */
  809.  
  810. /* You can also block all part reasons by uncommenting this and say 'yes',
  811. * or specify some other text (eg: "Bye bye!") to always use as a comment.. */
  812. /* static-part yes; */
  813.  
  814. /* This allows you to make certain stats oper only, use * for all stats,
  815. * leave it out to allow users to see all stats. Type '/stats' for a full list.
  816. * Some admins might want to remove the 'kGs' to allow normal users to list
  817. * klines, glines and shuns.
  818. */
  819. oper-only-stats "okfGsMRUEelLCXzdD";
  820.  
  821. /* Throttling: this example sets a limit of 3 connection attempts per 60s (per host). */
  822. throttle {
  823. connections 3;
  824. period 60s;
  825. };
  826.  
  827. /* Anti flood protection */
  828. anti-flood {
  829. nick-flood 3:60; /* 3 nickchanges per 60 seconds (the default) */
  830. };
  831.  
  832. /* Spam filter */
  833. spamfilter {
  834. ban-time 1d; /* default duration of a *line ban set by spamfilter */
  835. ban-reason "Spam/Advertising"; /* default reason */
  836. virus-help-channel "#help"; /* channel to use for 'viruschan' action */
  837. /* except "#help"; channel to exempt from filtering */
  838. };
  839. };
  840.  
  841. /*
  842. * Problems or need more help?
  843. * 1) www.vulnscan.org/UnrealIRCd/unreal32docs.html
  844. * 2) www.vulnscan.org/UnrealIRCd/faq/ <- contains 80% of your questions!
  845. * 3) If you still have problems you can go irc.unrealircd.org #unreal-support,
  846. * note that we require you to READ THE DOCUMENTATION and FAQ first!
  847. */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement