Advertisement
Guest User

Untitled

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