Advertisement
Guest User

Untitled

a guest
Jan 16th, 2018
332
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.61 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. name "irc.ThePlaceToChat.net";
  70. info "ThePlaceToChat";
  71. numeric 98;
  72. };
  73.  
  74. /*
  75. * NEW: admin {}
  76. * OLD: A:Line
  77. * Admin gives information on the server admin. you
  78. * may put as many lines under admin { as you wish.
  79. * Syntax is as follows:
  80. * admin {
  81. * "first line";
  82. * "second line";
  83. * [etc]
  84. * };
  85. */
  86.  
  87. admin {
  88. “CoolDude(Founder)”;
  89. “Konnxion(Admin)”;
  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 100;
  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 300; /* 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 2;
  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 2;
  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 CoolDude {
  199. class clients;
  200. from {
  201. userhost *@*;
  202. };
  203. password "";
  204. flags {
  205. netadmin;
  206. global;
  207. can_rehash;
  208. can_override;
  209. can_globops;
  210. can_zline;
  211. can_kline;
  212. services-admin;
  213. admin;
  214. helpop;
  215. };
  216. swhois "Keep Calm & Code On";
  217.  
  218. };
  219. oper Aaron {
  220. class clients;
  221. from {
  222. userhost *@*;
  223. };
  224. password "";
  225. flags {
  226. global;
  227. };
  228. };
  229. /*
  230. * NEW:]listen {}
  231. * OLD: P:Line
  232. * This defines a port for the ircd to bind to, to
  233. * allow users/servers to connect to the server.
  234. * Syntax is as follows:
  235. * listen (ip number):(port number)
  236. * {
  237. * options {
  238. * (options here);
  239. * };
  240. * };
  241. * or for a plain
  242. * listen: listen (ip):(port);
  243. *
  244. * NOTICE: for ipv6 ips (3ffe:b80:2:51d::2 etc), use listen [ip]:port;
  245. *
  246. * That works also.
  247. */
  248.  
  249. /* Options for listen:
  250. OLD | NEW
  251. S serversonly
  252. C clientsonly
  253. J java
  254. s ssl
  255. * standard
  256. */
  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.  
  269. listen 104.192.227.110:6667;
  270.  
  271. /* NOTE: If you are on an IRCd shell with multiple IP's you are
  272. * likely to get 'Address already in use' errors in your log
  273. * and the ircd won't start. This means you MUST bind
  274. * to a specific IP instead of '*', so for example:
  275. * listen 1.2.3.4:6667;
  276. * Obviously, replace the IP with the IP that was assigned to you.
  277. */
  278.  
  279. /*
  280. * NEW: link {}
  281. * OLD: C/N:Lines
  282. * This defines an okay for a server connection.
  283. * NOTE: BOTH SERVERS NEED A LINK {} SETTING TO CONNECT PROPERLY!
  284. * Syntax is as follows:
  285. * link (server name)
  286. * {
  287. * username (username, * works too);
  288. * hostname (ip number/hostmask);
  289. * bind-ip (What IP to bind to when connecting, or *);
  290. * port (port to connect to, if any);
  291. * hub (If this is a hub, * works, or servermasks it may bring in);
  292. * [or leaf *;]
  293. * password-connect "(pass to send)";
  294. * password-receive "(pass we should receive)";
  295. * class (class to direct servers into);
  296. * options {
  297. * (options here*);
  298. * };
  299. * // If we use SSL, we can choose what cipher to use in SSL mode
  300. * // Retrieve a list by "openssl ciphers", separate ciphers with :'s
  301. *
  302. * ciphers "DES-CBC3-MD5";
  303. *
  304. * };
  305. */
  306.  
  307. /*
  308. options:
  309. OLD | NEW
  310. S ssl
  311. Z zip
  312. N/A autoconnect
  313. N/A quarantine
  314. N/A nodnscache
  315. */
  316.  
  317.  
  318.  
  319. link irc.nfsrb.ru
  320. {
  321. username *;
  322. hostname irc.nfsrb.ru;
  323. bind-ip *;
  324. port *;
  325. hub *;
  326. password-connect "nfsrb22";
  327. password-receive "nfsrb22";
  328. class servers;
  329. options {
  330. autoconnect;
  331. };
  332. };
  333.  
  334. /*
  335. *
  336. * NEW: ulines {}
  337. * OLD: U:Line
  338. * U-lines give servers more power/commands, this should ONLY be set
  339. * for services/stats servers and NEVER for normal UnrealIRCd servers!
  340. * Syntax is as follows:
  341. * ulines {
  342. * (server to uline);
  343. * (server to uline);
  344. * [etc]
  345. * };
  346. */
  347. ulines {
  348. services.nfsrb.ru;
  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";
  358. * die "password";
  359. * };
  360. */
  361. drpass {
  362. restart "TnMGDJjNRYyftPF93mX7LVW2kHbZvqwK";
  363. die "LJfQYbF6XvCjKghqw8mzryTcdGPxB42N";
  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 NS {
  418. target "NickServ";
  419. type services;
  420. };
  421.  
  422. alias CS {
  423. target "ChanServ";
  424. type services;
  425. };
  426.  
  427. alias HS {
  428. target "HostServ";
  429. type services;
  430. };
  431.  
  432. alias MS {
  433. target "MemoServ";
  434. type services;
  435. };
  436.  
  437. alias OS {
  438. target "OperServ";
  439. type services;
  440. };
  441.  
  442. alias BS {
  443. target "BotServ";
  444. type services;
  445. };
  446.  
  447. // If you want the command to point to the same nick as the command, you can leave the nick entry out
  448. //alias ChanServ { type services; };
  449.  
  450. // Points the /statserv command to the user StatServ on the set::stats-server server
  451. //alias StatServ { type stats; };
  452.  
  453. // Points the /superbot command to the user SuperBot
  454. //alias SuperBot { type normal; };
  455.  
  456.  
  457. /* Standard aliases */
  458. alias NickServ { type services; };
  459. alias ChanServ { type services; };
  460. alias OperServ { type services; };
  461. alias HelpServ { type services; };
  462. alias StatServ { type stats; };
  463.  
  464. /*
  465. * NEW: alias {}
  466. * OLD: N/A
  467. * This allows you to set command aliases such as /identify, /services, etc
  468. *
  469. * Syntax:
  470. * alias "name" {
  471. * format "format string" {
  472. * target "points to";
  473. * type aliastype;
  474. * parameters "parameters to send";
  475. * };
  476. * type command;
  477. * };
  478. */
  479. /* This is shown seperately because even though it has teh same name as the previous directive, it is very
  480. * different in syntax, although it provides a similar function and relys on the standard aliases to work.
  481. */
  482. /*
  483. alias "identify" {
  484. format "^#" {
  485. target "chanserv";
  486. type services;
  487. parameters "IDENTIFY %1-";
  488. };
  489. format "^[^#]" {
  490. target "nickserv";
  491. type services;
  492. parameters "IDENTIFY %1-";
  493. };
  494. type command;
  495. };
  496. */
  497. /* The alias::format directive is a regular expression. The first format matches the /identify command when
  498. * the first character is a #. It then passes this along to the chanserv alias with the parameters IDENTIFY
  499. * %1-. The second format matches then /identify command when the first character is not a #. It then
  500. * passes the command to the nickserv alias with parameters IDENTIFY %1-.
  501. */
  502.  
  503. /* The alias::format::parameters is similar to scripting languages. %N (where N is a number) represents a
  504. * parameter sent to the command (in this case /identify). If you specify %N- it means all parameters from
  505. * N until the last parameter in the string. You may also specify %n which is replaced by
  506. * the user's nickname.
  507. */
  508.  
  509. /* Standard aliases */
  510. alias "services" {
  511. format "^#" {
  512. target "chanserv";
  513. type services;
  514. parameters "%1-";
  515. };
  516. format "^[^#]" {
  517. target "nickserv";
  518. type services;
  519. parameters "%1-";
  520. };
  521. type command;
  522. };
  523.  
  524. alias "identify" {
  525. format "^#" {
  526. target "chanserv";
  527. type services;
  528. parameters "IDENTIFY %1-";
  529. };
  530. format "^[^#]" {
  531. target "nickserv";
  532. type services;
  533. parameters "IDENTIFY %1-";
  534. };
  535. type command;
  536. };
  537.  
  538. /* This is an example of a real command alias */
  539. /* This maps /GLINEBOT to /GLINE <parameter> 2d etc... */
  540. alias "glinebot" {
  541. format ".+" {
  542. command "gline";
  543. type real;
  544. parameters "%1 2d Bots are not allowed on this server, please read the faq at http://www.example.com/faq/123";
  545. };
  546. type command;
  547. };
  548.  
  549. /*
  550. * NEW: files {}
  551. * OLD: include/config.h
  552. *
  553. * This block overrides the IRCd's default paths for loading things
  554. * like the MOTD, saving its PID, or writing/loading its tunefile. The
  555. * existence of this block allows one UnrealIRCd installation to
  556. * support multiple running instances when combined with the -c
  557. * commandline option.
  558. *
  559. * As usual, relative paths are interpreted relative to the directory
  560. * where UnrealIRCd would find unrealircd.conf if -c is _not_
  561. * specified on the commandline.
  562. */
  563. files
  564. {
  565. /* The Message Of The Day shown to users who log in: */
  566. /* motd motd.txt; */
  567.  
  568. /*
  569. * A short MOTD. If this file exists, it will be displayed to
  570. * the user in place of the MOTD. Users can still view the
  571. * full MOTD by using the /MOTD command.
  572. */
  573. /* shortmotd ircd.smotd; */
  574.  
  575. /* Shown when an operator /OPERs up */
  576. /* opermotd oper.motd; */
  577.  
  578. /* Services MOTD append. */
  579. /* svsmotd ircd.svsmotd; */
  580.  
  581. /* Bot MOTD */
  582. /* botmotd bot.motd; */
  583.  
  584. /* Shown upon /RULES */
  585. /* rules rules.txt; */
  586.  
  587. /*
  588. * Where the IRCd stores and loads a few values which should
  589. * be persistent across server restarts. Must point to an
  590. * existing file which the IRCd has permission to alter or to
  591. * a file in a folder within which the IRCd may create files.
  592. */
  593. /* tunefile ircd.tune; */
  594.  
  595. /* Where to save the IRCd's pid. Should be writable by the IRCd. */
  596. /* pidfile ircd.pid; */
  597. };
  598.  
  599. /*
  600. * NEW: tld {}
  601. * OLD: T:Line
  602. * This sets a different motd and rules files
  603. * depending on the clients hostmask.
  604. * Syntax is as follows:
  605. * tld {
  606. * mask (ident@host);
  607. * motd "(motd file)";
  608. * rules "(rules file)";
  609. * };
  610. */
  611.  
  612. tld {
  613. mask *@*;
  614. motd "motd.txt";
  615. rules "rules.txt";
  616. };
  617.  
  618. /* note: you can just delete the example block above,
  619. * in which case the defaults motd/rules files (ircd.motd, ircd.rules)
  620. * will be used for everyone.
  621. */
  622.  
  623. /*
  624. * NEW: ban nick {}
  625. * OLD: Q:Line
  626. * Bans a nickname, so it can't be used.
  627. * Syntax is as follows:
  628. * ban nick {
  629. * mask "(nick to ban)";
  630. * reason "(reason)";
  631. * };
  632. */
  633. ban nick {
  634. mask "A*S*D*F";
  635. reason "Nick Has Been Perm Banned On This Network";
  636. };
  637. ban nick {
  638. mask "A*S*D*F*1";
  639. reason "Nick Has Been Perm Banned On This Network";
  640. };
  641. ban nick {
  642. mask "T*E*C*H*M*A*N*-";
  643. reason "Nick Has Been Perm Banned On This Network";
  644. };
  645. /*
  646. * NEW: ban ip {}
  647. * OLD: Z:Line
  648. * Bans an ip from connecting to the network.
  649. * Syntax:
  650. * ban ip { mask (ip number/hostmask); reason "(reason)"; };
  651. */
  652. ban ip {
  653. mask 195.86.232.81;
  654. reason "Delinked server";
  655. };
  656. /*
  657. * NEW: ban server {}
  658. * OLD: Server Q:Line
  659. * Disables a server from connecting to the network.
  660. * if the server links to a remote server, local server
  661. * will disconnect from the network.
  662. * Syntax is as follows:
  663. * ban server {
  664. * mask "(server name)";
  665. * reason "(reason to give)";
  666. * };
  667. */
  668.  
  669. ban server {
  670. mask eris.berkeley.edu;
  671. reason "Get out of here.";
  672. };
  673. /*
  674. * NEW: ban user {}
  675. * OLD: K:Line
  676. * This makes it so a user from a certain mask can't connect
  677. * to your server.
  678. * Syntax:
  679. * ban user { mask (hostmask/ip number); reason "(reason)"; };
  680. */
  681.  
  682. ban user {
  683. mask *tirc@*.saturn.bbn.com;
  684. reason "Idiot";
  685. };
  686. ban user {
  687. mask *asdf@*;
  688. reason "idiot";
  689. };
  690.  
  691. /*
  692. * NEW: ban realname {}
  693. * OLD: n:Line
  694. * This bans a certain realname from being used.
  695. * Syntax:
  696. * ban realname {
  697. * mask "(real name)";
  698. * reason "(reason)";
  699. * };
  700. */
  701.  
  702. ban realname {
  703. mask "Swat Team";
  704. reason "mIRKFORCE";
  705. };
  706.  
  707. ban realname {
  708. mask "asdf";
  709. reason "sub7";
  710. };
  711.  
  712. /*
  713. * NOTE FOR ALL BANS, they may be repeated for addition entries!
  714. *
  715. * NEW: except ban {}
  716. * OLD: E:Line
  717. * This makes it so you can't get banned.
  718. * Syntax:
  719. * except ban { mask (ident@host); };
  720. * Repeat the except ban {} as many times
  721. * as you want for different hosts.
  722. */
  723.  
  724. except ban {
  725.  
  726. mask *@104.192.227.110;
  727. };
  728.  
  729. /*
  730. * NEW: deny dcc {}
  731. * OLD: dccdeny.conf
  732. * Use this to block dcc send's... stops
  733. * viruses better.
  734. * Syntax:
  735. * deny dcc
  736. * {
  737. * filename "file to block (ie, *exe)";
  738. * reason "reason";
  739. * };
  740. */
  741. deny dcc {
  742. filename "*sub7*";
  743. reason "Possible Sub7 Virus";
  744. };
  745.  
  746. /*
  747. * NEW: deny channel {}
  748. * OLD: N/A (NEW)
  749. * This blocks channels from being joined.
  750. * Syntax:
  751. * deny channel {
  752. * channel "(channel)";
  753. * reason "reason";
  754. * };
  755. */
  756. deny channel {
  757. channel "*warez*";
  758. reason "Warez is illegal";
  759. };
  760.  
  761. /*
  762. * NEW: vhost {}
  763. * OLD: Vhost.conf file
  764. * This sets a fake ip for non-opers, or
  765. * opers too lazy to /sethost :P
  766. * Syntax:
  767. * vhost {
  768. * vhost (vhost.com);
  769. * from {
  770. * userhost (ident@host to allow to use it);
  771. * };
  772. * login (login name);
  773. * password (password);
  774. * };
  775. * then to use this vhost, do /vhost (login) (password) in IRC
  776. */
  777. vhost {
  778. vhost i.hate.microsefrs.com;
  779. from {
  780. userhost *@*.image.dk;
  781. };
  782. login stskeeps;
  783. password moocowsrulemyworld;
  784. };
  785.  
  786. /* You can include other configuration files */
  787. /* include "klines.conf"; */
  788.  
  789. /* Network configuration */
  790. set {
  791. network-name "ThePlaceToChat";
  792. default-server "104.192.227.110";
  793. services-server "services.nfsrb.ru";
  794. stats-server "stats.konnectirc.net";
  795. help-channel "#Support";
  796. hiddenhost-prefix "EVO";
  797. /* prefix-quit "no"; */
  798. /* Cloak keys should be the same at all servers on the network.
  799. * They are used for generating masked hosts and should be kept secret.
  800. * The keys should be 3 random strings of 5-100 characters
  801. * (10-20 chars is just fine) and must consist of lowcase (a-z),
  802. * upcase (A-Z) and digits (0-9) [see first key example].
  803. * HINT: On *NIX, you can run './unreal gencloak' in your shell to let
  804. * Unreal generate 3 random strings for you.
  805. */
  806. cloak-keys {
  807. "oeWEij123456789okweIJij4IJEF";
  808. "oeWEGj123456789ogweIJij4IJEF";
  809. "oeWEDjH123456789oweIJij4IJEF";
  810. };
  811. /* on-oper host */
  812. hosts {
  813. local "locop.server.co.uk";
  814. global "ircop.server.co.uk";
  815. coadmin "coadmin.server.co.uk";
  816. admin "admin.server.co.uk";
  817. servicesadmin "csops.server.co.uk";
  818. netadmin "netadmin.server.co.uk";
  819. host-on-oper-up "yes";
  820. };
  821. };
  822.  
  823.  
  824.  
  825. /* Server specific configuration */
  826.  
  827. set {
  828. kline-address "klines@server.co.uk";
  829. modes-on-connect "+ixw";
  830. modes-on-oper "+xwgs";
  831. oper-auto-join "#Support,#Admins";
  832. options {
  833. hide-ulines;
  834. /* You can enable ident checking here if you want */
  835. /* identd-check; */
  836. show-connect-info;
  837. };
  838.  
  839. maxchannelsperuser 50;
  840. /* The minimum time a user must be connected before being allowed to use a QUIT message,
  841. * This will hopefully help stop spam */
  842. anti-spam-quit-message-time 10s;
  843. /* Make the message in static-quit show in all quits - meaning no
  844. custom quits are allowed on local server */
  845. /* static-quit "Client quit"; */
  846.  
  847. /* You can also block all part reasons by uncommenting this and say 'yes',
  848. * or specify some other text (eg: "Bye bye!") to always use as a comment.. */
  849. /* static-part yes; */
  850.  
  851. /* This allows you to make certain stats oper only, use * for all stats,
  852. * leave it out to allow users to see all stats. Type '/stats' for a full list.
  853. * Some admins might want to remove the 'kGs' to allow normal users to list
  854. * klines, glines and shuns.
  855. */
  856. oper-only-stats "okfGsMRUEelLCXzdD";
  857.  
  858. /* Throttling: this example sets a limit of 6 connection attempts per 60s (per host). */
  859. throttle {
  860. connections 20;
  861. period 60s;
  862. };
  863.  
  864. /* Anti flood protection */
  865. anti-flood {
  866. nick-flood 3:60; /* 3 nickchanges per 60 seconds (the default) */
  867. };
  868.  
  869. /* Spam filter */
  870. spamfilter {
  871. ban-time 1d; /* default duration of a *line ban set by spamfilter */
  872. ban-reason "Spam/Advertising"; /* default reason */
  873. virus-help-channel "#help"; /* channel to use for 'viruschan' action */
  874. /* except "#help"; channel to exempt from filtering */
  875. };
  876. };
  877.  
  878. except throttle
  879. {
  880. mask 104.192.227.110;
  881. };
  882.  
  883. cgiirc {
  884. type webirc;
  885. hostname 109.169.31.4;
  886. password ;
  887. };
  888. cgiirc {
  889. type webirc;
  890. hostname 107.161.19.53;
  891. password ;
  892. };
  893. cgiirc {
  894. type webirc;
  895. hostname 107.161.19.109;
  896. password ;
  897. };
  898.  
  899. blacklist {
  900. name = "tor.efnet.org";
  901. type = "A record reply";
  902. ban_unknown = no;
  903. reply {
  904. 1 = "TOR";
  905. };
  906. kline = "KLINE 1440 *@%h :TOR exit node found. Visit http://rbl.efnet.org/?i=%i for info.";
  907. };
  908.  
  909. /*
  910. * Problems or need more help?
  911. * 1) www.vulnscan.org/UnrealIRCd/unreal32docs.html
  912. * 2) www.vulnscan.org/UnrealIRCd/faq/ <- contains 80% of your questions!
  913. * 3) If you still have problems you can go irc.unrealircd.org #unreal-support,
  914. * note that we require you to READ THE DOCUMENTATION and FAQ first!
  915. */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement