Guest User

Untitled

a guest
Jan 24th, 2020
716
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.01 KB | None | 0 0
  1. /*
  2. * example.conf by Daniel Hawton AKA Osiris ([email protected]).
  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. include "modules.default.conf";
  37. include "operclass.default.conf";
  38. /* NOTE: cloaking module is included in modules.default.conf */
  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/help.conf";
  51. /* all badwords are now in badwords.conf */
  52. include "badwords.conf";
  53. include "spamfilter.conf";
  54.  
  55. /*
  56. * NEW: me {}
  57. * OLD: M:Line
  58. * me {} defines the name, description and unreal server numeric for
  59. * this server. Syntax is as follows:
  60. * me {
  61. * name "server.name";
  62. * info "Server Description";
  63. * numeric (server numeric*);
  64. * };
  65. * If linking, this numeric may not be used by any other server on the network.
  66. */
  67. me {
  68. name irc.chatlatin.org;
  69. info "LATIN CHAT servidor";
  70. sid 001;
  71. };
  72.  
  73. /*
  74. * NEW: admin {}
  75. * OLD: A:Line
  76. * Admin gives information on the server admin. you
  77. * may put as many lines under admin { as you wish.
  78. * Syntax is as follows:
  79. * admin {
  80. * "first line";
  81. * "second line";
  82. * [etc]
  83. * };
  84. */
  85. admin {
  86. "Aaron Farias";
  87. "Dark";
  88. };
  89.  
  90. /*
  91. * NEW: class {}
  92. * OLD: Y:line (old was confusing)
  93. * These define settings for classes. A class is a group setting for
  94. * connections. Example, server connections, instead of going to a client's
  95. * class, you direct it to the server class. Syntax is as follows
  96. * class (class name)
  97. * {
  98. * pingfreq (how often to ping a user/server in seconds);
  99. * maxclients (how many connections for this class);
  100. * sendq (maximum send queue from a connection);
  101. * recvq (maximum receive queue from a connection [flood control]);
  102. * };
  103. */
  104.  
  105. class clients
  106. {
  107. pingfreq 90;
  108. maxclients 500;
  109. sendq 100000;
  110. recvq 8000;
  111. };
  112.  
  113. class servers
  114. {
  115. pingfreq 90;
  116. maxclients 10; /* Max servers we can have linked at a time */
  117. sendq 1000000;
  118. connfreq 100; /* How many seconds between each connection attempt */
  119. };
  120.  
  121. /*
  122. * NEW: allow {}
  123. * OLD: I:Line
  124. * This defines allowing of connections...
  125. * Basically for clients, it allows them to connect so you can have some
  126. * control and/or set a password.
  127. * Syntax is as follows:
  128. * allow {
  129. * ip (ip mask to allow);
  130. * hostname (host mask);
  131. * class (class to send them to [see class {}]);
  132. * password "(password)"; (optional)
  133. * maxperip (how many connections per ip); (optional)
  134. * };
  135. */
  136.  
  137. allow {
  138. ip "*@*";
  139. class clients;
  140. maxperip 65535;
  141. };
  142.  
  143. /* Passworded allow line */
  144. allow {
  145. /* CHANGED BY 3.2.x TO 4.0 CONF UPGRADE!! Was: ip *@255.255.255.255; hostname *@*.passworded.ugly.people; */
  146. ip "*@255.255.255.255";
  147. class clients;
  148. maxperip 1;
  149. password "f00Ness";
  150. };
  151.  
  152. /*
  153. * NEW: allow channel {}
  154. * OLD: chrestrict
  155. * Allows a user to join a channel...
  156. * like an except from deny channel.
  157. * Syntax:
  158. * allow channel {
  159. * channel "channel name";
  160. * class "clients"; (optional)
  161. * };
  162. */
  163. allow channel {
  164. channel "#WarezSucks";
  165. class "clients";
  166. };
  167.  
  168. /*
  169. * NEW: oper {}
  170. * OLD: O:Line
  171. * Defines an IRC Operator
  172. * IRC operators are there to keep sanity to the server and usually keep it
  173. * maintained and connected to the network.
  174. * The syntax is as follows:
  175. * oper (login) {
  176. * class (class to put them in, if different from I, moves them to new
  177. * class);
  178. * from {
  179. * userhost (ident@host);
  180. * userhost (ident@host);
  181. * };
  182. * flags
  183. * {
  184. * (flags here*);
  185. * };
  186. * OR
  187. * flags "old type flags, like OAaRD";
  188. * };
  189. */
  190.  
  191.  
  192. /* For a list of oper flags, see doc/unreal32docs.html#operblock
  193. * [HIGHLY recommended to read]
  194. */
  195.  
  196. oper Dark {
  197. mask *;
  198. password "clave";
  199. class clients;
  200. operclass netadmin;
  201. swhois "is a Network Root Administrator";
  202. };
  203.  
  204. oper DJ {
  205. mask *@*;
  206. password "clve";
  207. class clients;
  208. operclass netadmin;
  209. swhois "is a Network Administrator";
  210. };
  211.  
  212.  
  213.  
  214. /*
  215. * NEW: listen {}
  216. * OLD: P:Line
  217. * This defines a port for the ircd to bind to, to
  218. * allow users/servers to connect to the server.
  219. * Syntax is as follows:
  220. * listen (ip number):(port number)
  221. * {
  222. * options {
  223. * (options here);
  224. * };
  225. * };
  226. * or for a plain
  227. * listen: listen (ip):(port);
  228. *
  229. * NOTICE: for ipv6 ips (3ffe:b80:2:51d::2 etc), use listen [ip]:port;
  230. *
  231. * That works also.
  232. */
  233.  
  234. /* Options for listen:
  235. OLD | NEW
  236. S serversonly
  237. C clientsonly
  238. J java
  239. s ssl
  240. * standard
  241. */
  242.  
  243. /* NOTE ON SSL PORTS: SSL ports are pretty non-standardized,
  244. * besides numerous high-SSL ports, some people say you should run
  245. * it at 994 because that's the official SSL port.. but that
  246. * requires root! Besides, port 194 is the official irc port and
  247. * have you ever seen an ircd running on that?
  248. * So, our suggestion is to use port 6697 for SSL, this is used by
  249. * quite some networks and is recognized by for example StunTour.
  250. * You are free to open up as many SSL ports as you want, but
  251. * by (also) using 6697 you help the world standardize a bit ;).
  252. */
  253. /*
  254. listen *:7999
  255. {
  256. options
  257. {
  258. ssl;
  259. clientsonly;
  260. };
  261. };
  262. */
  263.  
  264. listen {
  265. ip *;
  266. port 9999;
  267. };
  268.  
  269. listen {
  270. ip *;
  271. port 8888;
  272. options {
  273. ssl;
  274. };
  275. };
  276.  
  277. /* NOTE: If you are on an IRCd shell with multiple IP's you are
  278. * likely to get 'Address already in use' errors in your log
  279. * and the ircd won't start. This means you MUST bind
  280. * to a specific IP instead of '*', so for example:
  281. * listen 1.2.3.4:6667;
  282. * Obviously, replace the IP with the IP that was assigned to you.
  283. */
  284.  
  285. /*
  286. * NEW: link {}
  287. * OLD: C/N:Lines
  288. * This defines an okay for a server connection.
  289. * NOTE: BOTH SERVERS NEED A LINK {} SETTING TO CONNECT PROPERLY!
  290. * Syntax is as follows:
  291. * link (server name)
  292. * {
  293. * username (username, * works too);
  294. * hostname (ip number/hostmask);
  295. * bind-ip (What IP to bind to when connecting, or *);
  296. * port (port to connect to, if any);
  297. * hub (If this is a hub, * works, or servermasks it may bring in);
  298. * [or leaf *;]
  299. * password-connect "(pass to send)";
  300. * password-receive "(pass we should receive)";
  301. * class (class to direct servers into);
  302. * options {
  303. * (options here*);
  304. * };
  305. * // If we use SSL, we can choose what cipher to use in SSL mode
  306. * // Retrieve a list by "openssl ciphers", separate ciphers with :'s
  307. *
  308. * ciphers "DES-CBC3-MD5";
  309. *
  310. * };
  311. */
  312.  
  313.  
  314.  
  315.  
  316.  
  317. /*
  318. *
  319. * NEW: ulines {}
  320. * OLD: U:Line
  321. * U-lines give servers more power/commands, this should ONLY be set
  322. * for services/stats servers and NEVER for normal UnrealIRCd servers!
  323. * Syntax is as follows:
  324. * ulines {
  325. * (server to uline);
  326. * (server to uline);
  327. * [etc]
  328. * };
  329. */
  330. ulines {
  331. services.roxnet.org;
  332. stats.roxnet.org;
  333. };
  334.  
  335. /*
  336. * NEW: drpass {}
  337. * OLD: X:Line
  338. * This defines the passwords for /die and /restart.
  339. * Syntax is as follows:
  340. * drpass {
  341. * restart "(password for restarting)";
  342. * die "(password for die)";
  343. * };
  344. */
  345. drpass {
  346. restart "I-love-to-restart";
  347. die "die-you-stupid";
  348. };
  349.  
  350. /*
  351. * NEW: log {} OLD: N/A Tells the ircd where and what to log(s). You can have
  352. * as many as you wish.
  353. *
  354. * FLAGS: errors, kills, tkl, connects, server-connects, oper
  355. *
  356. * Syntax:
  357. * log "log file"
  358. * {
  359. * flags
  360. * {
  361. * flag;
  362. * flag;
  363. * etc..
  364. * };
  365. * };
  366. */
  367.  
  368. log "ircd.log" {
  369. /* Delete the log file and start a new one when it reaches 2MB, leave this out to always use the
  370. same log */
  371. maxsize 2097152;
  372. flags {
  373. oper;
  374. connects;
  375. server-connects;
  376. kills;
  377. errors;
  378. sadmin-commands;
  379. chg-commands;
  380. oper-override;
  381. spamfilter;
  382. };
  383. };
  384.  
  385. /*
  386. * NEW: alias {}
  387. * OLD: N/A
  388. * This allows you to set command aliases such as /nickserv, /chanserv etc
  389. * FLAGS: services, stats, normal
  390. *
  391. * Syntax:
  392. * alias "name" {
  393. * target "points to";
  394. * type aliastype;
  395. * };
  396. *
  397. * [NOTE: You could also include a pre-defined alias file here, see doc/unreal32docs.html section 2.9]
  398. */
  399.  
  400. // This points the command /nickserv to the user NickServ who is connected to the set::services-server server
  401. /*alias NickServ {
  402. target "NickServ";
  403. type services;
  404. };*/
  405.  
  406. // If you want the command to point to the same nick as the command, you can leave the nick entry out
  407. //alias ChanServ { type services; };
  408.  
  409. // Points the /statserv command to the user StatServ on the set::stats-server server
  410. //alias StatServ { type stats; };
  411.  
  412. // Points the /superbot command to the user SuperBot
  413. //alias SuperBot { type normal; };
  414.  
  415.  
  416. /* Standard aliases */
  417. alias NickServ { type services; };
  418. alias ChanServ { type services; };
  419. alias MemoServ { type services; };
  420. alias OperServ { type services; };
  421. alias HelpServ { type services; };
  422. alias StatServ { type services; };
  423. alias BotServ { type services; };
  424. alias HostServ { type services; };
  425. alias cs { nick chanserv; type services; };
  426. alias ns { nick nickserv; type services; };
  427. alias ms { nick memoserv; type services; };
  428. alias os { nick operserv; type services; };
  429. alias hs { nick hostserv; type services; };
  430. alias bs { nick botserv; type services; };
  431.  
  432. /*
  433. * NEW: alias {}
  434. * OLD: N/A
  435. * This allows you to set command aliases such as /identify, /services, etc
  436. *
  437. * Syntax:
  438. * alias "name" {
  439. * format "format string" {
  440. * target "points to";
  441. * type aliastype;
  442. * parameters "parameters to send";
  443. * };
  444. * type command;
  445. * };
  446. */
  447. /* This is shown seperately because even though it has teh same name as the previous directive, it is very
  448. * different in syntax, although it provides a similar function and relys on the standard aliases to work.
  449. */
  450. /*
  451. alias "identify" {
  452. format "^#" {
  453. target "chanserv";
  454. type services;
  455. parameters "IDENTIFY %1-";
  456. };
  457. format "^[^#]" {
  458. target "nickserv";
  459. type services;
  460. parameters "IDENTIFY %1-";
  461. };
  462. type command;
  463. };
  464. */
  465. /* The alias::format directive is a regular expression. The first format matches the /identify command when
  466. * the first character is a #. It then passes this along to the chanserv alias with the parameters IDENTIFY
  467. * %1-. The second format matches then /identify command when the first character is not a #. It then
  468. * passes the command to the nickserv alias with parameters IDENTIFY %1-.
  469. */
  470.  
  471. /* The alias::format::parameters is similar to scripting languages. %N (where N is a number) represents a
  472. * parameter sent to the command (in this case /identify). If you specify %N- it means all parameters from
  473. * N until the last parameter in the string. You may also specify %n which is replaced by
  474. * the user's nickname.
  475. */
  476.  
  477. /* Standard aliases */
  478. alias "services" {
  479. format "^#" {
  480. target "chanserv";
  481. type services;
  482. parameters "%1-";
  483. };
  484. format "^[^#]" {
  485. target "nickserv";
  486. type services;
  487. parameters "%1-";
  488. };
  489. type command;
  490. };
  491.  
  492. alias "identify" {
  493. format "^#" {
  494. target "chanserv";
  495. type services;
  496. parameters "IDENTIFY %1-";
  497. };
  498. format "^[^#]" {
  499. target "nickserv";
  500. type services;
  501. parameters "IDENTIFY %1-";
  502. };
  503. type command;
  504. };
  505.  
  506. /* This is an example of a real command alias */
  507. /* This maps /GLINEBOT to /GLINE <parameter> 2d etc... */
  508. alias "glinebot" {
  509. format ".+" {
  510. command "gline";
  511. type real;
  512. parameters "%1 2d Bots are not allowed on this server, please read the faq at http://www.example.com/faq/123";
  513. };
  514. type command;
  515. };
  516.  
  517. /*
  518. * NEW: files {}
  519. * OLD: include/config.h
  520. *
  521. * This block overrides the IRCd's default paths for loading things
  522. * like the MOTD, saving its PID, or writing/loading its tunefile. The
  523. * existence of this block allows one UnrealIRCd installation to
  524. * support multiple running instances when combined with the -c
  525. * commandline option.
  526. *
  527. * As usual, relative paths are interpreted relative to the directory
  528. * where UnrealIRCd would find unrealircd.conf if -c is _not_
  529. * specified on the commandline.
  530. */
  531. files
  532. {
  533. /* The Message Of The Day shown to users who log in: */
  534. /* motd /home/ircd/unreal/ircd.motd; */
  535.  
  536. /*
  537. * A short MOTD. If this file exists, it will be displayed to
  538. * the user in place of the MOTD. Users can still view the
  539. * full MOTD by using the /MOTD command.
  540. */
  541. /* shortmotd ircd.smotd; */
  542.  
  543. /* Shown when an operator /OPERs up */
  544. /* opermotd oper.motd; */
  545.  
  546. /* Services MOTD append. */
  547. /* svsmotd ircd.svsmotd; */
  548.  
  549. /* Bot MOTD */
  550. /* botmotd bot.motd; */
  551.  
  552. /* Shown upon /RULES */
  553. /* rules ircd.rules; */
  554.  
  555. /*
  556. * Where the IRCd stores and loads a few values which should
  557. * be persistent across server restarts. Must point to an
  558. * existing file which the IRCd has permission to alter or to
  559. * a file in a folder within which the IRCd may create files.
  560. */
  561. /* tunefile ircd.tune; */
  562.  
  563. /* Where to save the IRCd's pid. Should be writable by the IRCd. */
  564. /* pidfile ircd.pid; */
  565. };
  566.  
  567. /*
  568. * NEW: tld {}
  569. * OLD: T:Line
  570. * This sets a different motd and rules files
  571. * depending on the clients hostmask.
  572. * Syntax is as follows:
  573. * tld {
  574. * mask (ident@host);
  575. * motd "(motd file)";
  576. * rules "(rules file)";
  577. * };
  578. */
  579.  
  580. tld {
  581. mask *@*;
  582. motd "/home/dark/unrealircd/ircd.motd";
  583. rules "/home/dark/unrealircd/ircd.motd";
  584. channel "#main";
  585. };
  586.  
  587. official-channels {
  588. "#main" { topic "The Main Channel"; };
  589. "#opers" { topic "Our Opers"; };
  590. };
  591.  
  592. /* note: you can just delete the example block above,
  593. * in which case the defaults motd/rules files (ircd.motd, ircd.rules)
  594. * will be used for everyone.
  595. */
  596.  
  597. /*
  598. * NEW: ban nick {}
  599. * OLD: Q:Line
  600. * Bans a nickname, so it can't be used.
  601. * Syntax is as follows:
  602. * ban nick {
  603. * mask "(nick to ban)";
  604. * reason "(reason)";
  605. * };
  606. */
  607. ban nick {
  608. mask "*C*h*a*n*S*e*r*v*";
  609. reason "Reserved for Services";
  610. };
  611. /*
  612. * NEW: ban ip {}
  613. * OLD: Z:Line
  614. * Bans an ip from connecting to the network.
  615. * Syntax:
  616. * ban ip { mask (ip number/hostmask); reason "(reason)"; };
  617. */
  618. ban ip {
  619. mask 195.86.232.81;
  620. reason "Delinked server";
  621. };
  622. /*
  623. * NEW: ban server {}
  624. * OLD: Server Q:Line
  625. * Disables a server from connecting to the network.
  626. * if the server links to a remote server, local server
  627. * will disconnect from the network.
  628. * Syntax is as follows:
  629. * ban server {
  630. * mask "(server name)";
  631. * reason "(reason to give)";
  632. * };
  633. */
  634.  
  635. ban server {
  636. mask eris.berkeley.edu;
  637. reason "Get out of here.";
  638. };
  639. /*
  640. * NEW: ban user {}
  641. * OLD: K:Line
  642. * This makes it so a user from a certain mask can't connect
  643. * to your server.
  644. * Syntax:
  645. * ban user { mask (hostmask/ip number); reason "(reason)"; };
  646. */
  647.  
  648. ban user {
  649. mask *tirc@*.saturn.bbn.com;
  650. reason "Idiot";
  651. };
  652.  
  653. /*
  654. * NEW: ban realname {}
  655. * OLD: n:Line
  656. * This bans a certain realname from being used.
  657. * Syntax:
  658. * ban realname {
  659. * mask "(real name)";
  660. * reason "(reason)";
  661. * };
  662. */
  663.  
  664. ban realname {
  665. mask "Swat Team";
  666. reason "mIRKFORCE";
  667. };
  668.  
  669. ban realname {
  670. mask "sub7server";
  671. reason "sub7";
  672. };
  673.  
  674. /*
  675. * NOTE FOR ALL BANS, they may be repeated for addition entries!
  676. *
  677. * NEW: except ban {}
  678. * OLD: E:Line
  679. * This makes it so you can't get banned.
  680. * Syntax:
  681. * except ban { mask (ident@host); };
  682. * Repeat the except ban {} as many times
  683. * as you want for different hosts.
  684. */
  685.  
  686. except ban {
  687. /* don't ban stskeeps */
  688. mask *stskeeps@212.*;
  689. };
  690.  
  691. /*
  692. * NEW: deny dcc {}
  693. * OLD: dccdeny.conf
  694. * Use this to block dcc send's... stops
  695. * viruses better.
  696. * Syntax:
  697. * deny dcc
  698. * {
  699. * filename "file to block (ie, *exe)";
  700. * reason "reason";
  701. * };
  702. */
  703. deny dcc {
  704. filename "*sub7*";
  705. reason "Possible Sub7 Virus";
  706. };
  707.  
  708. /*
  709. * NEW: deny channel {}
  710. * OLD: N/A (NEW)
  711. * This blocks channels from being joined.
  712. * Syntax:
  713. * deny channel {
  714. * channel "(channel)";
  715. * reason "reason";
  716. * class "clients"; (optional)
  717. * };
  718. */
  719. deny channel {
  720. channel "*warez*";
  721. reason "Warez is illegal";
  722. class "clients";
  723. };
  724.  
  725. /*
  726. * NEW: vhost {}
  727. * OLD: Vhost.conf file
  728. * This sets a fake ip for non-opers, or
  729. * opers too lazy to /sethost :P
  730. * Syntax:
  731. * vhost {
  732. * vhost (vhost.com);
  733. * from {
  734. * userhost (ident@host to allow to use it);
  735. * };
  736. * login (login name);
  737. * password (password);
  738. * };
  739. * then to use this vhost, do /vhost (login) (password) in IRC
  740. */
  741. vhost {
  742. vhost i.hate.microsefrs.com;
  743. mask *.image.dk;
  744. login stskeeps;
  745. password moocowsrulemyworld;
  746. };
  747.  
  748. /* You can include other configuration files */
  749. /* include "klines.conf"; */
  750.  
  751. /* Network configuration */
  752. set {
  753. modes-on-join "+fnr-cipst [15m#m3,4j#R5]:10";
  754. network-name "Latin-chat";
  755. default-server "irc.chatlatin.org";
  756. services-server "services.localhost";
  757. stats-server "stats.localhost";
  758. help-channel "#main";
  759. hiddenhost-prefix "rox";
  760. /* prefix-quit "no"; */
  761. /* Cloak keys should be the same at all servers on the network.
  762. * They are used for generating masked hosts and should be kept secret.
  763. * The keys should be 3 random strings of 5-100 characters
  764. * (10-20 chars is just fine) and must consist of lowcase (a-z),
  765. * upcase (A-Z) and digits (0-9) [see first key example].
  766. * HINT: On *NIX, you can run './unreal gencloak' in your shell to let
  767. * Unreal generate 3 random strings for you.
  768. */
  769. cloak-keys {
  770. "aoAr1HnR6gl3sJ7hVz4Zb7x4YwpW";
  771. "aoAr1HnR6gl3sJ7hVz4Zb7x4Yw11";
  772. "aoAr1HnR6gl3sJ7hVz4Zb7x4Yw22";
  773. };
  774. /* on-oper host */
  775. };
  776.  
  777. /* Server specific configuration */
  778.  
  779. set {
  780. kline-address "[email protected]";
  781. modes-on-connect "+w";
  782. modes-on-oper "+xwgs";
  783. oper-auto-join "#opers";
  784. options {
  785. hide-ulines;
  786. /* You can enable ident checking here if you want */
  787. /* identd-check; */
  788. show-connect-info;
  789. };
  790.  
  791. maxchannelsperuser 10;
  792. /* The minimum time a user must be connected before being allowed to use a QUIT message,
  793. * This will hopefully help stop spam */
  794. anti-spam-quit-message-time 10s;
  795. /* Make the message in static-quit show in all quits - meaning no
  796. custom quits are allowed on local server */
  797. /* static-quit "Client quit"; */
  798.  
  799. /* You can also block all part reasons by uncommenting this and say 'yes',
  800. * or specify some other text (eg: "Bye bye!") to always use as a comment.. */
  801. /* static-part yes; */
  802.  
  803. /* This allows you to make certain stats oper only, use * for all stats,
  804. * leave it out to allow users to see all stats. Type '/stats' for a full list.
  805. * Some admins might want to remove the 'kGs' to allow normal users to list
  806. * klines, glines and shuns.
  807. */
  808. oper-only-stats "okfGsMRUEelLCXzdD";
  809.  
  810. /* Throttling: this example sets a limit of 3 connection attempts per 60s (per host). */
  811. anti-flood { connect-flood 3:60; };
  812.  
  813. /* Anti flood protection */
  814. anti-flood {
  815. nick-flood 3:60; /* 3 nickchanges per 60 seconds (the default) */
  816. };
  817.  
  818. /* Spam filter */
  819. spamfilter {
  820. ban-time 1d; /* default duration of a *line ban set by spamfilter */
  821. ban-reason "Spam/Advertising"; /* default reason */
  822. virus-help-channel "#help"; /* channel to use for 'viruschan' action */
  823. /* except "#help"; channel to exempt from filtering */
  824. };
  825. };
  826.  
  827. /*
  828. * Problems or need more help?
  829. * 1) www.vulnscan.org/UnrealIRCd/unreal32docs.html
  830. * 2) www.vulnscan.org/UnrealIRCd/faq/ <- contains 80% of your questions!
  831. * 3) If you still have problems you can go irc.unrealircd.org #unreal-support,
  832. * note that we require you to READ THE DOCUMENTATION and FAQ first!
  833. */
  834.  
  835.  
  836. link services.localhost {
  837. incoming {
  838. mask *;
  839. };
  840. outgoing {
  841. bind-ip *;
  842. hostname 127.0.0.1;
  843. port 5825;
  844. options { };
  845. };
  846. password "clave";
  847. class servers;
  848. };
  849.  
  850. ulines {
  851. services.localhost;
  852. };
  853.  
  854. listen {
  855. ip 127.0.0.1;
  856. port 5825;
  857. options {
  858. serversonly;
  859. };
  860. };
  861.  
  862.  
  863. listen { ip *; port 5825; options { }; };
  864.  
  865.  
  866.  
  867. webirc {
  868. mask 99.88.239.170;
  869. password "clave";
  870. };
  871.  
  872.  
  873. blacklist efnetrbl {
  874. dns {
  875. name rbl.efnetrbl.org;
  876. type record;
  877. reply { 1; 4; 5; };
  878. };
  879. action gline;
  880. ban-time 24h;
  881. reason "Proxy/Drone/TOR detected. Check http://rbl.efnetrbl.org/?i=$ip for details.";
  882. };
  883.  
  884.  
  885.  
  886.  
  887.  
  888. blacklist dronebl {
  889. dns {
  890. name dnsbl.dronebl.org;
  891. type record;
  892. reply { 3; 5; 6; 7; 8; 9; 10; 11; 12; 13; 14; 15; 16; };
  893. };
  894. action gline;
  895. ban-time 24h;
  896. reason "Proxy/Drone detected. Check https://dronebl.org/lookup?ip=$ip for details. No Lamers Use your Real Host";
  897. };
Advertisement
Add Comment
Please, Sign In to add comment