Guest User

Untitled

a guest
Mar 20th, 2016
338
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /* Configuration file for UnrealIRCd 4.0
  2. *
  3. * Simply copy this file to your conf/ directory, call it
  4. * 'unrealircd.conf' and walk through it line by line (edit it!)
  5. *
  6. * Important: All lines, except the opening { line, end with an ;
  7. * including };. This is very important, if you miss a ; somewhere then
  8. * the configuration file parser will complain and your file will not
  9. * be processed correctly!
  10. * If this is your first experience with an UnrealIRCd configuration
  11. * file then we really recommend you to read a little about the syntax,
  12. * this only takes a few minutes and will help you a lot:
  13. * https://www.unrealircd.org/docs/Configuration#Configuration_file_syntax
  14. *
  15. * UnrealIRCd 4 documentation (very extensive!):
  16. * https://www.unrealircd.org/docs/UnrealIRCd_4_documentation
  17. *
  18. * Frequently Asked Questions:
  19. * https://www.unrealircd.org/docs/FAQ
  20. *
  21. */
  22.  
  23. /* This is a comment, all text here is ignored (comment type #1) */
  24. // This is also a comment, this line is ignored (comment type #2)
  25. # This is also a comment, again this line is ignored (comment type #3)
  26.  
  27. /* UnrealIRCd makes heavy use of modules. Modules allow you to completely
  28. * customize the featureset you wish to enable in UnrealIRCd.
  29. * See: https://www.unrealircd.org/docs/Modules
  30. *
  31. * By using the include below we instruct the IRCd to read the file
  32. * 'modules.default.conf' which will load more than 150 modules
  33. * shipped with UnrealIRCd. In other words: this will simply load
  34. * all the available features in UnrealIRCd.
  35. * If you are setting up UnrealIRCd for the first time we suggest you
  36. * use this. Then, when everything is up and running you can come
  37. * back later to customize the list (if you wish).
  38. */
  39. include "modules.default.conf";
  40.  
  41. /* Now let's include some other files as well:
  42. * - help/help.conf for our on-IRC /HELPOP system
  43. * - badwords.conf for channel and user mode +G
  44. * - spamfilter.conf as an example for spamfilter usage
  45. * - operclass.default.conf contains some good operclasses which
  46. * you can use in your oper blocks.
  47. */
  48. include "help/help.conf";
  49. include "badwords.conf";
  50. include "spamfilter.conf";
  51. include "operclass.default.conf";
  52.  
  53. /* This is the me { } block which basically says who we are.
  54. * It defines our server name, some information line and an unique "sid".
  55. * The server id (sid) must start with a digit followed by two digits or
  56. * letters. The sid must be unique for your IRC network (each server should
  57. * have it's own sid).
  58. */
  59. me {
  60. name "aurorarpg.com";
  61. info "AuroraRPG IRC Server";
  62. sid "001";
  63. };
  64.  
  65. /* The admin { } block defines what users will see if they type /ADMIN.
  66. * It normally contains information on how to contact the administrator.
  67. */
  68. admin {
  69. "Melad Akram";
  70. "Melad";
  71. "melad@aurorarpg.com";
  72. };
  73.  
  74. /* Clients and servers are put in class { } blocks, we define them here.
  75. * Class blocks consist of the following items:
  76. * - pingfreq: how often to ping a user / server (in seconds)
  77. * - connfreq: how often we try to connect to this server (in seconds)
  78. * - sendq: the maximum queue size for a connection
  79. * - recvq: maximum receive queue from a connection (flood control)
  80. */
  81.  
  82. /* Client class with good defaults */
  83. class clients
  84. {
  85. pingfreq 90;
  86. maxclients 1000;
  87. sendq 200k;
  88. recvq 8000;
  89. };
  90.  
  91. /* Special class for IRCOps with higher limits */
  92. class opers
  93. {
  94. pingfreq 90;
  95. maxclients 50;
  96. sendq 1M;
  97. recvq 8000;
  98. };
  99.  
  100. /* Server class with good defaults */
  101. class servers
  102. {
  103. pingfreq 60;
  104. connfreq 15; /* try to connect every 15 seconds */
  105. maxclients 10; /* max servers */
  106. sendq 5M;
  107. };
  108.  
  109. /* Allow blocks define which clients may connect to this server.
  110. * This allows you to add a server password or restrict the server to
  111. * specific IP's only. You also configure the maximum connections
  112. * allowed per IP here.
  113. * See also: https://www.unrealircd.org/docs/Allow_block
  114. */
  115.  
  116. /* Allow everyone in, but only 3 connections per IP */
  117. allow {
  118. ip *@*;
  119. class clients;
  120. maxperip 3;
  121. };
  122.  
  123. /* Example of a special allow block on a specific IP:
  124. * Requires users on that IP to connect with a password. If the password
  125. * is correct then it permits 20 connections on that IP.
  126. */
  127. allow {
  128. ip *@192.0.2.1;
  129. class clients;
  130. password "somesecretpasswd";
  131. maxperip 20;
  132. };
  133.  
  134. /* Oper blocks define your IRC Operators.
  135. * IRC Operators are people who have "extra rights" compared to others,
  136. * for example they may /KILL other people, initiate server linking,
  137. * /JOIN channels even though they are banned, etc.
  138. * See also: https://www.unrealircd.org/docs/Oper_block
  139. */
  140.  
  141. /* Here is an example oper block for 'bobsmith' with password 'test'.
  142. * You MUST change this!!
  143. */
  144. oper epozide {
  145. class opers;
  146. mask *@*;
  147. password "lol";
  148. /* Oper permissions are defined in an 'operclass' block.
  149. * See https://www.unrealircd.org/docs/Operclass_block
  150. * UnrealIRCd ships with a number of default blocks, see
  151. * the article for a full list. We choose 'netadmin' here.
  152. */
  153. operclass netadmin;
  154. swhois "is a Network Administrator";
  155. vhost netadmin.aurorarpg.com;
  156. };
  157.  
  158. /* Listen blocks define the ports where the server should listen on.
  159. * In other words: the ports that clients and servers may use to
  160. * connect to this server.
  161. *
  162. * Syntax:
  163. * listen {
  164. * {
  165. * ip <ip>;
  166. * port <port>;
  167. * options {
  168. * <options....>;
  169. * };
  170. * };
  171. */
  172.  
  173. /* Standard IRC port 6667 */
  174. listen {
  175. ip *;
  176. port 6667;
  177. };
  178.  
  179. /* Standard IRC SSL/TLS port 6697 */
  180. listen {
  181. ip *;
  182. port 6697;
  183. options { ssl; };
  184. };
  185.  
  186. /* Special SSL/TLS servers-only port for linking */
  187. listen {
  188. ip *;
  189. port 6900;
  190. options { ssl; serversonly; };
  191. };
  192.  
  193. /* NOTE: If you are on an IRCd shell with multiple IP's and you use
  194. * the above listen { } blocks then you will likely get an
  195. * 'Address already in use' error and the ircd won't start.
  196. * This means you MUST bind to a specific IP instead of '*' like:
  197. * listen { ip 1.2.3.4; port 6667; };
  198. * Of course, replace the IP with the IP that was assigned to you.
  199. */
  200.  
  201. /*
  202. * Link blocks allow you to link multiple servers together to form a network.
  203. * See https://www.unrealircd.org/docs/Tutorial:_Linking_servers
  204. */
  205. link hub.mynet.org
  206. {
  207. incoming {
  208. mask *@something;
  209. };
  210.  
  211. outgoing {
  212. bind-ip *; /* or explicitly an IP */
  213. hostname hub.aurorarpg.org;
  214. port 6900;
  215. options { ssl; };
  216. };
  217.  
  218. password "00:11:22:33:44:55:66:77:88:99:AA:BB:CC:DD:EE:FF"; /* SSL fingerprint of other server */
  219.  
  220. class servers;
  221. };
  222.  
  223. /* U-lines give other servers (even) more power/commands.
  224. * If you use services you must add them here.
  225. * NEVER put the name of a (normal) UnrealIRCd server here!!!
  226. * ( If you wonder what Services are then see
  227. * https://www.unrealircd.org/docs/Services )
  228. */
  229. ulines {
  230. services.aurorarpg.com;
  231. };
  232.  
  233. /* Here you can add a password for the IRCOp-only /DIE and /RESTART commands.
  234. * This is mainly meant to provide a little protection against accidental
  235. * restarts and server kills.
  236. */
  237. drpass {
  238. restart "restart";
  239. die "die";
  240. };
  241.  
  242. /* The log block defines what should be logged and to what file.
  243. * See also https://www.unrealircd.org/docs/Log_block
  244. */
  245.  
  246. /* This is a good default, it logs almost everything */
  247. log "ircd.log" {
  248. flags {
  249. oper;
  250. connects;
  251. server-connects;
  252. kills;
  253. errors;
  254. sadmin-commands;
  255. chg-commands;
  256. oper-override;
  257. tkl;
  258. spamfilter;
  259. };
  260. };
  261.  
  262. /* With "aliases" you can create an alias like /SOMETHING to send a message to
  263. * some user or bot. They are usually used for services.
  264. *
  265. * We have a number of pre-set alias files, check out the alias/ directory.
  266. * As an example, here we include all aliases used for anope services.
  267. */
  268. include "aliases/anope.conf";
  269.  
  270. /* Ban nick names so they cannot be used by regular users */
  271. ban nick {
  272. mask "*C*h*a*n*S*e*r*v*";
  273. reason "Reserved for Services";
  274. };
  275.  
  276. /* Ban ip.
  277. * Note that you normally use /KLINE, /GLINE and /ZLINE for this.
  278. */
  279. ban ip {
  280. mask 195.86.232.81;
  281. reason "Hate you";
  282. };
  283.  
  284. /* Ban server - if we see this server linked to someone then we delink */
  285. ban server {
  286. mask eris.berkeley.edu;
  287. reason "Get out of here.";
  288. };
  289.  
  290. /* Ban user - just as an example, you normally use /KLINE or /GLINE for this */
  291. ban user {
  292. mask *tirc@*.saturn.bbn.com;
  293. reason "Idiot";
  294. };
  295.  
  296. /* Ban realname allows you to ban clients based on their 'real name'
  297. * or 'gecos' field.
  298. */
  299. ban realname {
  300. mask "Swat Team";
  301. reason "mIRKFORCE";
  302. };
  303.  
  304. ban realname {
  305. mask "sub7server";
  306. reason "sub7";
  307. };
  308.  
  309. /* Ban and TKL exceptions. Allows you to exempt users / machines from
  310. * KLINE, GLINE, etc.
  311. * If you are an IRCOp with a static IP (and no untrusted persons on that IP)
  312. * then we suggest you add yourself here. That way you can always get in
  313. * even if you accidentally place a *LINE ban on yourself.
  314. */
  315.  
  316. /* except ban protects you from KLINE and ZLINE */
  317. except ban {
  318. mask *@192.0.2.1;
  319. // you may add more mask entries here..
  320. };
  321.  
  322. /* except tkl with type 'all' protects you from GLINE, GZLINE, QLINE, SHUN */
  323. except tkl {
  324. mask *@192.0.2.1;
  325. type all;
  326. };
  327.  
  328. /* With deny dcc blocks you can ban filenames for DCC */
  329. deny dcc {
  330. filename "*sub7*";
  331. reason "Possible Sub7 Virus";
  332. };
  333.  
  334. /* deny channel allows you to ban a channel (mask) entirely */
  335. deny channel {
  336. channel "*warez*";
  337. reason "Warez is illegal";
  338. class "clients";
  339. };
  340.  
  341. /* VHosts (Virtual Hosts) allow users to acquire a different host.
  342. * See https://www.unrealircd.org/docs/Vhost_block
  343. */
  344.  
  345. /* Example vhost which you can use. On IRC type: /VHOST test test
  346. * NOTE: only people with an 'unrealircd.com' host may use it so
  347. * be sure to change the vhost::mask before you test.
  348. */
  349. vhost {
  350. vhost i.hate.microsefrs.com;
  351. mask *@unrealircd.com;
  352. login "test";
  353. password "test";
  354. };
  355.  
  356. /* You can include other configuration files */
  357. /* include "klines.conf"; */
  358.  
  359. /* Network configuration */
  360. set {
  361. network-name "AuroraRPG";
  362. default-server "irc.aurorarpg.com";
  363. services-server "services.aurorarpg.com";
  364. stats-server "stats.aurorarpg.com";
  365. help-channel "#Support";
  366. hiddenhost-prefix "Clk";
  367. prefix-quit "Quit";
  368.  
  369. /* Cloak keys should be the same at all servers on the network.
  370. * They are used for generating masked hosts and should be kept secret.
  371. * The keys should be 3 random strings of 50-100 characters
  372. * and must consist of lowcase (a-z), upcase (A-Z) and digits (0-9).
  373. * HINT: On *NIX, you can run './unrealircd gencloak' in your shell to let
  374. * UnrealIRCd generate 3 random strings for you.
  375. */
  376. cloak-keys {
  377. "aoAr1HnR6gl3sJ7hVz4Zb7x4YwpW";
  378. "asdf646Ads96d4sa67489DSA46d4";
  379. "fdas545ADS65465456ASD456a546";
  380. };
  381. };
  382.  
  383. /* Server specific configuration */
  384.  
  385. set {
  386. kline-address "support@aurorarpg.com"; /* e-mail or URL shown when a user is banned */
  387. modes-on-connect "+ixw"; /* when users connect, they will get these user modes */
  388. modes-on-oper "+xwgs"; /* when someone becomes IRCOp they'll get these modes */
  389. oper-auto-join "#opers"; /* IRCOps are auto-joined to this channel */
  390. options {
  391. hide-ulines; /* hide U-lines in /MAP and /LINKS */
  392. show-connect-info; /* show "looking up your hostname" messages on connect */
  393. };
  394.  
  395. maxchannelsperuser 10; /* maximum number of channels a user may /JOIN */
  396.  
  397. /* The minimum time a user must be connected before being allowed to
  398. * use a QUIT message. This will hopefully help stop spam.
  399. */
  400. anti-spam-quit-message-time 10s;
  401.  
  402. /* Or simply set a static quit, meaning any /QUIT reason is ignored */
  403. /* static-quit "Client quit"; */
  404.  
  405. /* static-part does the same for /PART */
  406. /* static-part yes; */
  407.  
  408. /* Which /STATS to restrict to opers only. We suggest to leave it to * (ALL) */
  409. oper-only-stats "*";
  410.  
  411. /* Anti flood protection */
  412. anti-flood {
  413. nick-flood 3:60; /* 3 nick changes per 60 seconds (the default) */
  414. connect-flood 3:60; /* 3 connection attempts per 60 seconds (the default) */
  415. away-flood 4:120; /* 4 times per 2 minutes you may use /AWAY (default) */
  416. };
  417.  
  418. /* Settings for spam filter */
  419. spamfilter {
  420. ban-time 1d; /* default duration of a *LINE ban set by spamfilter */
  421. ban-reason "Spam/Advertising"; /* default reason */
  422. virus-help-channel "#help"; /* channel to use for 'viruschan' action */
  423. /* except "#help"; channel to exempt from Spamfilter */
  424. };
  425. };
  426.  
  427. /* Finally, you may wish to have a MOTD (Message of the Day), this can be
  428. * done by creating an 'ircd.motd' text file in your conf/ directory.
  429. * This file will be shown to your users on connect.
  430. * For more information see https://www.unrealircd.org/docs/MOTD_and_Rules
  431. */
  432.  
  433. /*
  434. * Problems or need more help?
  435. * 1) https://www.unrealircd.org/docs/UnrealIRCd_4_documentation
  436. * 2) https://www.unrealircd.org/docs/FAQ <- answers 80% of your questions!
  437. * 3) If you are still having problems then you can get support:
  438. * - Forums: https://forums.unrealircd.org/
  439. * - IRC: irc.unrealircd.org / #unreal-support
  440. * Note that we require you to read the documentation and FAQ first!
  441. */
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×