Advertisement
Guest User

Untitled

a guest
Apr 3rd, 2013
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.55 KB | None | 0 0
  1. /* IotaIRC UnrealIRCd Configuration */
  2. loadmodule "src/modules/commands.so";
  3. loadmodule "src/modules/m_listconnected.so";
  4. loadmodule "src/modules/cloak.so";
  5. include "help.conf";
  6. include "badwords.channel.conf";
  7. include "badwords.message.conf";
  8. include "badwords.quit.conf";
  9. include "spamfilter.conf";
  10.  
  11. me
  12. {
  13. name "irc.snowkat.nl"; // Server internal name
  14. info "Snowkat's test network"; // server description
  15. numeric 67;
  16. };
  17.  
  18. admin {
  19. "Network Owner: snowkat";
  20. };
  21.  
  22. class clients
  23. {
  24. pingfreq 90;
  25. maxclients 9999; // max clients on a server
  26. sendq 100000;
  27. recvq 8000;
  28. };
  29.  
  30. class mibbit
  31. {
  32. pingfreq 90;
  33. maxclients 9999; // max clients on a server
  34. sendq 100000;
  35. recvq 8000;
  36. };
  37.  
  38. class servers
  39. {
  40. pingfreq 90;
  41. maxclients 100; /* Max servers we can have linked at a time */
  42. sendq 1000000;
  43. connfreq 100; /* How many seconds between each connection attempt */
  44. };
  45.  
  46. class oper
  47. {
  48. pingfreq 90;
  49. maxclients 1000;
  50. sendq 999999999;
  51. recvq 32768;
  52. };
  53.  
  54. allow {
  55. ip *Mibbit@*;
  56. hostname *Mibbit@*;
  57. class mibbit;
  58. maxperip 999;
  59. };
  60.  
  61. allow {
  62. ip *@*;
  63. hostname *@*;
  64. class clients;
  65. maxperip 999;
  66. };
  67.  
  68. except throttle {
  69. mask *@*;
  70. };
  71.  
  72. /* Oper blocks
  73. * Preconfigured oper flags are as below:
  74. *
  75. * Netadmins: rhgwnGcLkKbBzZtvqWdNaAC
  76. * Services Admins: rhgwnGcLkKbBzZtvqWdaAC
  77. * Server Admins: rhgwnGcLkKbBzZtvqWdAC
  78. * Co Admins: rhgwnGcLkKbBzZtvWXdC
  79. * IRC Operators: rhgwnGcLkKbBzZtWd
  80. * Local IRC Operators: rhnckbBzWd
  81. *
  82. * Oper block format:
  83. *
  84. oper OPERID {
  85. class clients;
  86. from {
  87. hosts;
  88. };
  89. flags "flags";
  90. swhois "swhois";
  91. };
  92. *
  93. * Otherwise, go away.
  94. */
  95.  
  96. # Network administrators
  97. # Don't fucking touch these oper blocks or I will murder you.(didn't put that myself this is
  98. # Also, cocks.
  99.  
  100. oper BOPM {
  101. class clients;
  102. from {
  103. userhost *@localhost;
  104. };
  105. password "iloveproxies";
  106. flags
  107. {
  108. local;
  109. global;
  110. can_wallops;
  111. can_globops;
  112. can_localkill;
  113. can_globalkill;
  114. can_kline;
  115. can_unkline;
  116. can_localnotice;
  117. can_zline;
  118. can_gzline;
  119. can_gkline
  120. get_host;
  121. };
  122. snomask "cFfkejvGnNqsSo";
  123. };
  124.  
  125. oper snowkat {
  126. class oper;
  127. from {
  128. userhost *@*;
  129. };
  130. password "myoperpass";
  131. flags
  132. {
  133. local;
  134. global;
  135. coadmin;
  136. admin;
  137. netadmin;
  138. services-admin;
  139. can_rehash;
  140. can_die;
  141. can_restart;
  142. helpop;
  143. can_wallops;
  144. can_globops;
  145. can_localroute;
  146. can_globalroute;
  147. can_localkill;
  148. can_globalkill;
  149. can_kline;
  150. can_unkline;
  151. can_localnotice;
  152. can_zline;
  153. can_gzline;
  154. can_gkline
  155. get_umodew;
  156. get_host;
  157. can_override;
  158. can_setq;
  159. can_addline;
  160. can_dccdeny;
  161. };
  162. snomask "cFfkejvGnNqsSo";
  163. };
  164.  
  165. /* Ports */
  166. listen 6667
  167. {
  168. options
  169. {
  170. clientsonly;
  171. };
  172. };
  173. listen 6697
  174. {
  175. options
  176. {
  177. clientsonly;
  178. };
  179. };
  180. listen 7000
  181. {
  182. options
  183. {
  184. serversonly;
  185. };
  186. };
  187. listen 7001
  188. {
  189. options
  190. {
  191. serversonly;
  192. };
  193. };
  194.  
  195. /* Link blocks */
  196.  
  197. link home.snowkat.nl {
  198. username *;
  199. hostname <home ip>;
  200. bind-ip *;
  201. port 7001;
  202. hub *;
  203. password-connect "homepass";
  204. password-receive "homepass";
  205. class servers;
  206. options {
  207. };
  208. };
  209.  
  210. link services.snowkat.nl {
  211. username *;
  212. hostname 127.0.0.1;
  213. bind-ip *;
  214. port 7001;
  215. hub *;
  216. password-connect "servicespass";
  217. password-receive "servicespass";
  218. class servers;
  219. options {
  220. };
  221. };
  222.  
  223. // services ulines
  224. ulines {
  225. py.snowkat.nl;
  226. services.snowkat.nl;
  227. };
  228.  
  229. // passwords for /restart and /die
  230. drpass {
  231. restart "itsazombie";
  232. die "ikeelyou";
  233. };
  234.  
  235. // log file
  236. log "ircd.log" {
  237. maxsize 2097152;
  238. flags {
  239. oper;
  240. kline;
  241. connects;
  242. server-connects;
  243. kills;
  244. errors;
  245. sadmin-commands;
  246. chg-commands;
  247. oper-override;
  248. spamfilter;
  249. };
  250. };
  251.  
  252. except throttle
  253. {
  254. mask *;
  255. };
  256.  
  257. /* Standard aliases */
  258. alias NickServ { type services; };
  259. alias ChanServ { type services; };
  260. alias OperServ { type services; };
  261. alias HostServ { type services; };
  262. alias MemoServ { type services; };
  263. alias BotServ { type services; };
  264.  
  265. alias cs { nick chanserv; type services; };
  266. alias ns { nick nickserv; type services; };
  267. alias ms { nick memoserv; type services; };
  268. alias os { nick operserv; type services; };
  269. alias bs { nick botserv; type services; };
  270. alias hs { nick hostserv; type services; };
  271. alias m { nick moo; type services; };
  272. alias ps { nick pseudoserv; type normal; };
  273.  
  274. alias "services" {
  275. format "^#" {
  276. target "chanserv";
  277. type services;
  278. parameters "%1-";
  279. };
  280. format "^[^#]" {
  281. target "nickserv";
  282. type services;
  283. parameters "%1-";
  284. };
  285. type command;
  286. };
  287.  
  288. alias "identify" {
  289. format "^#" {
  290. target "chanserv";
  291. type services;
  292. parameters "IDENTIFY %1-";
  293. };
  294. format "^[^#]" {
  295. target "nickserv";
  296. type services;
  297. parameters "IDENTIFY %1-";
  298. };
  299. type command;
  300. };
  301.  
  302. // static bans that are set on startup
  303. ban nick {
  304. mask "*C*h*a*n*S*e*r*v*";
  305. reason "Reserved for Services";
  306. };
  307.  
  308. ban realname {
  309. mask "Swat Team";
  310. reason "mIRKFORCE";
  311. };
  312.  
  313. ban realname {
  314. mask "sub7server";
  315. reason "sub7";
  316. };
  317.  
  318. // excepts
  319. except ban {
  320. mask *@localhost;
  321. };
  322.  
  323. deny dcc {
  324. filename "*sub7*";
  325. reason "Possible Sub7 Virus";
  326. };
  327.  
  328. vhost {
  329. vhost snowk@t;
  330. from {
  331. userhost *@*;
  332. };
  333. login root;
  334. password ranpass;
  335. };
  336.  
  337.  
  338. /* Network configuration */
  339. set {
  340. network-name "Snow"; // Network name
  341. default-server "irc.snowkat.nl";
  342. services-server "services.snowkat.nl";
  343. help-channel "#help";
  344. hiddenhost-prefix "snow";
  345. cloak-keys {
  346. "OAaeueyS2wc724N4I74HR8";
  347. "7ak61tGxjPX7Ve8djBIC";
  348. "NMW2fj3u67IRC26BgWKo";
  349. };
  350. hosts {
  351. local "staff.snowkat.nl";
  352. global "staff.snowkat.nl";
  353. coadmin "staff.snowkat.nl";
  354. admin "staff.snowkat.nl";
  355. servicesadmin "staff.snowkat.nl";
  356. netadmin "staff.snowkat.nk";
  357. host-on-oper-up "no";
  358. };
  359. };
  360. official-channels {
  361. "#help" { topic ""; };
  362. "#chat" { topic ""; };
  363. };
  364. /* Server specific configuration */
  365. set {
  366. kline-address "too@b.ad";
  367. modes-on-connect "+ix";
  368. modes-on-oper "+xwgsW";
  369. oper-auto-join "#o,#debug";
  370. options {
  371. hide-ulines;
  372. show-connect-info;
  373. };
  374.  
  375. maxchannelsperuser 200;
  376.  
  377. anti-spam-quit-message-time 10s;
  378.  
  379. oper-only-stats "okfGsMRUEelLCXzdDIY";
  380.  
  381. /* Throttling */
  382. throttle {
  383. connections 3;
  384. period 60s;
  385. };
  386.  
  387. /* Anti flood protection */
  388. anti-flood {
  389. nick-flood 3:60;
  390. };
  391.  
  392. /* Spam filter */
  393. spamfilter {
  394. ban-time 1d;
  395. ban-reason "Spam/Advertising";
  396. virus-help-channel "#help";
  397. };
  398. };
  399.  
  400. files
  401. {
  402. motd ircd.motd;
  403. shortmotd ircd.smotd;
  404. opermotd oper.motd;
  405. svsmotd ircd.svsmotd;
  406. rules ircd.rules;
  407. pidfile ircd.pid;
  408. };
  409. /* EOF *
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement