Advertisement
Guest User

here

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