Zekahs

unrealircd.config

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