Advertisement
Guest User

Untitled

a guest
Aug 16th, 2017
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 28.37 KB | None | 0 0
  1. serverinfo {
  2. name = "irc.bloodymercy.com";
  3. use_ts6 = yes;
  4. sid = "000";
  5. description = "Main Bloodymercy IRC Server";
  6. network_name = "Bloodymercy";
  7. network_desc = "Bloodymercy Minecraft IRC Network";
  8. hub = yes;
  9. vhost = "irc.bloodymercy.com";
  10.  
  11. /* vhost6: the IP to bind to when we connect outward to ipv6 servers.
  12. * This should be an ipv6 IP only.
  13. */
  14. #vhost6 = "3ffe:80e8:546::2";
  15.  
  16. /* default max clients: the default maximum number of clients
  17. * allowed to connect. This can be changed once ircd has started by
  18. * issuing:
  19. * /quote set maxclients <limit>
  20. */
  21. default_max_clients = 250;
  22. };
  23.  
  24. /* admin {}: contains admin information about the server. (OLD A:) */
  25. admin {
  26. name = "Evan Darwin";
  27. description = "Main Server Administrator / Owner";
  28. email = "<admin@bloodymercy.com>";
  29. };
  30.  
  31. /* log {}: contains information about logfiles. */
  32. log {
  33. /* logfiles: the logfiles to use for specific activity. if these
  34. * paths are defined, then ircd will log to them, otherwise it wont.
  35. *
  36. * The confs are, in order:
  37. * - userlog: user exits
  38. * - fuserlog: failed user connections
  39. * - operlog: /oper usage
  40. * - foperlog: failed /oper usage
  41. * - serverlog: server connects/disconnects
  42. * - glinelog: glines
  43. * - klinelog: klines, etc
  44. * - killlog: kills
  45. * - operspylog: operspy usage
  46. * - ioerrorlog: IO errors
  47. */
  48. fname_userlog = "logs/userlog";
  49. #fname_fuserlog = "logs/fuserlog";
  50. fname_operlog = "logs/operlog";
  51. #fname_foperlog = "logs/foperlog";
  52. fname_serverlog = "logs/serverlog";
  53. fname_glinelog = "logs/glinelog";
  54. #fname_klinelog = "logs/klinelog";
  55. fname_killlog = "logs/killlog";
  56. fname_operspylog = "logs/operspylog";
  57. #fname_ioerrorlog = "logs/ioerror";
  58. };
  59.  
  60. /* class {}: contain information about classes for users (OLD Y:) */
  61. class "users" {
  62. /* class name must go above */
  63.  
  64. /* ping time: how often a client must reply to a PING from the
  65. * server before they are dropped.
  66. */
  67. ping_time = 1 minutes;
  68.  
  69. /* number per ident: the number of users per user@host networkwide
  70. * allowed to connect. Unidented connections are classified as
  71. * the same ident.
  72. */
  73. number_per_ident = 2;
  74.  
  75. /* number per ip: the number of local users per host allowed */
  76. number_per_ip = 3;
  77.  
  78. /* number per ip global: the number of network wide connections
  79. * per host allowed for a user, including connections to the
  80. * local server.
  81. */
  82. number_per_ip_global = 5;
  83.  
  84. /* cidr_bitlen: Limits numbers of connections from a subnet size
  85. * the following example makes the subnet /64 this is useful
  86. * for IPv6 connections in particular
  87. * Also note that the way ircd-ratbox is written if you have
  88. * compiled support for IPv6, IPv4 cidr bitlens need to be modified
  89. * Basically to get the approriate length add 96 to the IPv4 length
  90. * For example for a /24 do 96+24 = 120
  91. *
  92. */
  93. cidr_bitlen = 64;
  94.  
  95. /* number_per_cidr: Number of connections to allow from a subnet of the
  96. * size given in cidr_bitlen. 4 seems to be a good default to me.
  97. */
  98. number_per_cidr = 4;
  99.  
  100. /* max number: the maximum number of users allowed in this class */
  101. max_number = 250;
  102.  
  103. /* sendq: the amount of data allowed in a clients queue before
  104. * they are dropped.
  105. */
  106. sendq = 100 kbytes;
  107. };
  108.  
  109. class "restricted" {
  110. ping_time = 1 minute 30 seconds;
  111. number_per_ip = 1;
  112. max_number = 100;
  113. sendq = 60kb;
  114. };
  115.  
  116. class "opers" {
  117. ping_time = 5 minutes;
  118. number_per_ip = 10;
  119. max_number = 100;
  120. sendq = 100kbytes;
  121. };
  122.  
  123. class "server" {
  124. ping_time = 5 minutes;
  125.  
  126. /* connectfreq: only used in server classes. specifies the delay
  127. * between autoconnecting to servers.
  128. */
  129. connectfreq = 5 minutes;
  130.  
  131. /* max number: the amount of servers to autoconnect to */
  132. max_number = 1;
  133.  
  134. /* sendq: servers need a higher sendq as they send more data */
  135. sendq=2 megabytes;
  136. };
  137.  
  138. /* listen {}: contain information about the ports ircd listens on (OLD P:) */
  139. listen {
  140. /* port: the specific port to listen on. if no host is specified
  141. * before, it will listen on all available IPs.
  142. *
  143. * ports are seperated via a comma, a range may be specified using ".."
  144. */
  145.  
  146. /* port: listen on all available IPs, ports 5000 and 6665 to 6669 */
  147. host = "192.168.0.2"
  148. port = 6667;
  149. #port = 5000;
  150. /* host: set a specific IP/host the ports after the line will listen
  151. * on. This may be ipv4 or ipv6.
  152. */
  153. host = "192.168.0.2";
  154. port = 7000, 7001;
  155.  
  156. #host = "3ffe:1234:a:b:c::d";
  157. #port = 7002;
  158. };
  159.  
  160. /* auth {}: allow users to connect to the ircd (OLD I:) */
  161. auth {
  162. /* user: the user@host allowed to connect. multiple IPv4/IPv6 user
  163. * lines are permitted per auth block.
  164. */
  165. user = "*@*";
  166. user = "*@*:*:*";
  167.  
  168. /* password: an optional password that is required to use this block.
  169. * By default this is not encrypted, specify the flag "encrypted" in
  170. * flags = ...; below if it is.
  171. */
  172. password = "jNvFX02lKzAt2";
  173.  
  174. /* spoof: fake the users user@host to be be this. You may either
  175. * specify a host or a user@host to spoof to. This is free-form,
  176. * just do everyone a favour and dont abuse it. (OLD I: = flag)
  177. */
  178. spoof = "irc.bloodymercy.com";
  179.  
  180. /* Possible flags in auth:
  181. *
  182. * encrypted | password is encrypted with mkpasswd
  183. * spoof_notice | give a notice when spoofing hosts
  184. * exceed_limit (old > flag) | allow user to exceed class user limits
  185. * kline_exempt (old ^ flag) | exempt this user from k/g/xlines
  186. * gline_exempt (old _ flag) | exempt this user from glines
  187. * spambot_exempt | exempt this user from spambot checks
  188. * shide_exempt | exempt this user from serverhiding
  189. * jupe_exempt | exempt this user from generating
  190. * warnings joining juped channels
  191. * resv_exempt | exempt this user from resvs
  192. * flood_exempt | exempt this user from flood limits
  193. * USE WITH CAUTION.
  194. * no_tilde (old - flag) | don't prefix ~ to username if no ident
  195. * need_ident (old + flag) | require ident for user in this class
  196. */
  197. flags = kline_exempt, exceed_limit, encrypted;
  198.  
  199. /* class: the class the user is placed in */
  200. class = "opers";
  201. };
  202.  
  203. auth {
  204. /* redirect: the server and port to redirect a user to. A user does
  205. * not have to obey the redirection, the ircd just suggests to them
  206. * an alternative server.
  207. */
  208. redirserv = "shive.bloodymercy.com";
  209. redirport = 6667;
  210.  
  211. user = "*";
  212.  
  213. /* class: a class is required even though it is not used */
  214. class = "users";
  215. };
  216.  
  217. auth {
  218. user = "*@*";
  219. class = "users";
  220. };
  221.  
  222. /* operator {}: defines ircd operators. (OLD O:)
  223. * ircd-ratbox no longer supports local operators, privileges are
  224. * controlled via flags.
  225. */
  226. operator "SmilingDevil" {
  227. /* name: the name of the oper must go above */
  228.  
  229. /* user: the user@host required for this operator. CIDR *is*
  230. * supported now.
  231. * multiple user="" lines are supported.
  232. */
  233. user = "*@192.168.0.3";
  234. user = "*@68.3.237.55";
  235.  
  236. /* password: the password required to oper. Unless ~encrypted is
  237. * contained in flags = ...; this will need to be encrypted using
  238. * mkpasswd, MD5 is supported
  239. */
  240. password = "lYH3r1PWRH73s";
  241.  
  242. /* rsa key: the public key for this oper when using Challenge.
  243. * A password should not be defined when this is used, see
  244. * doc/challenge.txt for more information.
  245. */
  246. #rsa_public_key_file = "/usr/local/ircd/etc/oper.pub";
  247.  
  248. /* umodes: the specific umodes this oper gets when they oper.
  249. * If this is specified an oper will not be given oper_umodes
  250. * These are described above oper_only_umodes in general {};
  251. */
  252. #umodes = locops, servnotice, operwall, wallop;
  253.  
  254. /* privileges: controls the activities and commands an oper is
  255. * allowed to do on the server. You may prefix an option with ~ to
  256. * disable it, ie ~operwall
  257. *
  258. * Default flags are operwall, remoteban and encrypted.
  259. *
  260. * Available options:
  261. *
  262. * encrypted: the password specified above is encrypted [DEFAULT]
  263. * local_kill: allows local users to be /KILL'd
  264. * global_kill: allows local and remote users to be
  265. * /KILL'd (OLD 'O' flag)
  266. * remote: allows remote SQUIT and CONNECT (OLD 'R' flag)
  267. * kline: allows KILL, KLINE and DLINE (OLD 'K' flag)
  268. * unkline: allows UNKLINE and UNDLINE (OLD 'U' flag)
  269. * gline: allows GLINE (OLD 'G' flag)
  270. * nick_changes: allows oper to see nickchanges (OLD 'N' flag)
  271. * via usermode +n
  272. * rehash: allows oper to REHASH config (OLD 'H' flag)
  273. * die: allows DIE and RESTART (OLD 'D' flag)
  274. * admin: gives admin privileges. admins
  275. * may (un)load modules and see the
  276. * real IPs of servers.
  277. * hidden_admin: gives admin privileges except
  278. * will not have the admin lines in
  279. * stats p and whois.
  280. * xline: allows use of /quote xline/unxline
  281. * operwall: allows the oper to send operwalls [DEFAULT]
  282. * oper_spy: allows 'operspy' features to see through +s
  283. * channels etc. see /quote help operspy
  284. * hidden_oper: hides the oper from /stats p (OLD UMODE +p)
  285. * remoteban: allows remote kline etc [DEFAULT]
  286. */
  287. flags = global_kill, remote, nick_changes, kline, unkline, gline,
  288. die, rehash, admin, xline, operwall;
  289. };
  290.  
  291. /* connect {}: controls servers we connect to (OLD C:, N:, H:, L:) */
  292. #connect "irc.bloodymercy.com" {
  293. /* the name must go above */
  294.  
  295. /* host: the host or IP to connect to. If a hostname is used it
  296. * must match the reverse dns of the server.
  297. */
  298. host = "127.0.0.1";
  299.  
  300. /* vhost: the host or IP to bind to for this connection. If this
  301. * is not specified, the default vhost (in serverinfo {}) is used.
  302. */
  303. #vhost = "192.168.0.50";
  304.  
  305. /* passwords: the passwords we send (OLD C:) and accept (OLD N:).
  306. * The remote server will have these passwords reversed.
  307. */
  308. #send_password = "zxwyn591e";
  309. #accept_password = "anotherpassword";
  310.  
  311. /* port: the port to connect to this server on */
  312. # port = 6667;
  313.  
  314. /* hub mask: the mask of servers that this server may hub. Multiple
  315. * entries are permitted
  316. */
  317. # hub_mask = "*";
  318.  
  319. /* leaf mask: the mask of servers this server may not hub. Multiple
  320. * entries are permitted. Useful for forbidding EU -> US -> EU routes.
  321. */
  322. #leaf_mask = "*.uk";
  323.  
  324. /* class: the class this server is in */
  325. #class = "server";
  326.  
  327. /* flags: controls special options for this server
  328. * encrypted - marks the accept_password as being crypt()'d
  329. * autoconn - automatically connect to this server
  330. * compressed - compress traffic via ziplinks
  331. * topicburst - burst topics between servers
  332. */
  333. #flags = compressed, topicburst;
  334. #};
  335.  
  336. #connect "ipv6.some.server" {
  337. #host = "3ffd:dead:beef::1";
  338. #send_password = "password";
  339. #accept_password = "password";
  340. #port = 6666;
  341.  
  342. /* aftype: controls whether the connection uses "ipv4" or "ipv6".
  343. * Default is ipv4.
  344. */
  345. #aftype = ipv6;
  346. #class = "server";
  347. #};
  348.  
  349. /* cluster {}; servers that we propagate things to automatically.
  350. * NOTE: This does NOT grant them privileges to apply anything locally,
  351. * you must add a seperate shared block for that. Clustering will
  352. * only be done for actions by LOCAL opers, that arent directed
  353. * remotely.
  354. */
  355. #cluster {
  356. /* name: the server to share with, this can be a wildcard and may be
  357. * stacked.
  358. */
  359. /* flags: list of what to share, all the name lines above this (up
  360. * until another flags entry) will receive these flags.
  361. *
  362. * kline - share perm klines
  363. * tkline - share temp klines
  364. * unkline - share unklines
  365. * locops - share locops
  366. * xline - share perm xlines
  367. * txline - share temp xlines
  368. * unxline - share unxlines
  369. * resv - share perm resvs
  370. * tresv - share temp resvs
  371. * unresv - share unresvs
  372. * all - share all of the above
  373. */
  374.  
  375. /* share klines/unklines/xlines with *.lan */
  376. #name = "*.*";
  377. #flags = kline, unkline, xline;
  378.  
  379. /* share locops with irc.ircd-ratbox.org and ircd.ircd-ratbox.org */
  380. #name = "irc.ircd-ratbox.org";
  381. #name = "ircd.ircd-ratbox.org";
  382. #flags = locops;
  383. #};
  384.  
  385. /* If you are using the ratbox-services compatibility code, uncomment this. */
  386. /* service{}: privileged servers (services). These servers have extra
  387. * privileges such as setting login names on users and introducing clients
  388. * with umode +S (unkickable). This does not allow them to set bans, you
  389. * need a separate shared{} for that.
  390. * Do not place normal servers here.
  391. * There may be only one service{} block.
  392. */
  393. #service {
  394. # /* name: the server name. These may be stacked. */
  395. # name = "ratbox.services";
  396. #};
  397.  
  398. /* shared {}: users that are allowed to place remote bans on our server.
  399. * NOTE: These are ordered top down. The first one the user@host and server
  400. * matches will be used. Their access will then be decided on that
  401. * block and will not fall back to another block that matches.
  402. */
  403. shared {
  404. /* oper: the user@host and server the user must be on to set klines.
  405. * The first field must be a user@host, the second field is an
  406. * optional server. These may be stacked.
  407. */
  408. /* flags: list of what to allow them to place, all the oper lines
  409. * above this (up until another flags entry) will receive these
  410. * flags. This *must* be present.
  411. *
  412. * kline - allow setting perm/temp klines
  413. * tkline - allow setting temp klines
  414. * unkline - allow removing klines
  415. * xline - allow setting perm/temp xlines
  416. * txline - allow setting temp xlines
  417. * unxline - allow removing xlines
  418. * resv - allow setting perm/temp resvs
  419. * tresv - allow setting temp resvs
  420. * unresv - allow removing xlines
  421. * all - allow oper/server to do all of above (not locops)
  422. * locops - allow locops - only used for servers who cluster
  423. * none - disallow everything
  424. */
  425.  
  426. /* allow flame@*.leeh.co.uk on server irc.ircd-ratbox.org and
  427. * allow leeh@*.leeh.co.uk on server ircd.ircd-ratbox.org to kline
  428. */
  429. oper = "flame@*.leeh.co.uk", "irc.ircd-ratbox.org";
  430. oper = "leeh@*.leeh.co.uk", "ircd.ircd-ratbox.org";
  431. flags = kline;
  432.  
  433. /* you may forbid certain opers/servers from doing anything */
  434. oper = "irc@vanity.oper", "*";
  435. oper = "*@*", "irc.vanity.server";
  436. oper = "irc@another.vanity.oper", "bigger.vanity.server";
  437. flags = none;
  438.  
  439. /* or allow everyone to place temp klines */
  440. oper = "*@*";
  441. flags = tkline;
  442. };
  443.  
  444. /* exempt {}: IPs that are exempt from deny {} and Dlines. (OLD d:) */
  445. exempt {
  446. ip = "192.168.0.0/16";
  447.  
  448. /* these may be stacked */
  449. ip = "127.0.0.1";
  450. ip = "10.0.0.0/8";
  451. };
  452.  
  453. /* The channel block contains options pertaining to channels */
  454. channel {
  455. /* invex: Enable/disable channel mode +I, a n!u@h list of masks
  456. * that can join a +i channel without an invite.
  457. */
  458. use_invex = yes;
  459.  
  460. /* except: Enable/disable channel mode +e, a n!u@h list of masks
  461. * that can join a channel through a ban (+b).
  462. */
  463. use_except = yes;
  464.  
  465. /* knock: Allows users to request an invite to a channel that
  466. * is locked somehow (+ikl). If the channel is +p or you are banned
  467. * the knock will not be sent.
  468. */
  469. use_knock = yes;
  470.  
  471. /* invite ops only: Restrict /invite to ops on channels, rather than
  472. * allowing unopped users to invite people to a -i channel.
  473. */
  474. invite_ops_only = yes;
  475.  
  476. /* knock delay: The amount of time a user must wait between issuing
  477. * the knock command.
  478. */
  479. knock_delay = 3 minutes;
  480.  
  481. /* knock channel delay: How often a knock to any specific channel
  482. * is permitted, regardless of the user sending the knock.
  483. */
  484. knock_delay_channel = 1 minute;
  485.  
  486. /* max chans: The maximum number of channels a user can join/be on. */
  487. max_chans_per_user = 25;
  488.  
  489. /* quiet on ban: stop banned people talking in channels. */
  490. quiet_on_ban = yes;
  491.  
  492. /* max bans: maximum number of +b/e/I modes in a channel */
  493. max_bans = 25;
  494.  
  495. /* splitcode: split users, split servers and either no join on split
  496. * or no create on split must be enabled for split checking.
  497. * splitmode will be entered on either split users or split servers
  498. * dropping below the limit.
  499. *
  500. * you may force splitmode to be permanent by /quote set splitmode on
  501. */
  502.  
  503. /* split users: when the usercount is lower than this level, consider
  504. * ourselves split. this must be set for automatic splitmode
  505. */
  506. default_split_user_count = 0;
  507.  
  508. /* split servers: when the amount of servers that have acknowledged
  509. * theyve finished bursting is lower than this, consider ourselves
  510. * split. this must be set for automatic splitmode
  511. */
  512. default_split_server_count = 0;
  513.  
  514. /* split: no create: disallow users creating channels on split */
  515. no_create_on_split = no;
  516.  
  517. /* split: no join: disallow users joining channels at all on a split */
  518. no_join_on_split = no;
  519.  
  520. /* burst topicwho: when bursting topics, also burst the topic setter */
  521. burst_topicwho = yes;
  522. };
  523.  
  524.  
  525. /* The serverhide block contains the options regarding serverhiding */
  526. serverhide {
  527. /* flatten links: this option will show all servers in /links appear
  528. * that they are linked to this current server
  529. */
  530. flatten_links = no;
  531.  
  532. /* links delay: how often to update the links file when it is
  533. * flattened.
  534. */
  535. links_delay = 5 minutes;
  536.  
  537. /* hidden: hide this server from a /links output on servers that
  538. * support it. this allows hub servers to be hidden etc.
  539. */
  540. hidden = no;
  541.  
  542. /* disable hidden: prevent servers hiding themselves from a
  543. * /links ouput.
  544. */
  545. disable_hidden = no;
  546. };
  547.  
  548. /* The general block contains many of the options that were once compiled
  549. * in options in config.h. The general block is read at start time.
  550. */
  551. general {
  552. /* hide error messages: defines whether error messages from
  553. * servers are hidden or not. These can sometimes contain IPs and
  554. * can have an adverse effect on server ip hiding. Set to:
  555. * yes: hide from opers and admin
  556. * opers: hide from opers only
  557. * no: do not hide error messages
  558. */
  559. hide_error_messages = opers;
  560.  
  561. /* hide spoof ips: hide the real ips of spoofed users */
  562. hide_spoof_ips = yes;
  563.  
  564. /* default invisible: set clients +i on connect */
  565. default_invisible = no;
  566.  
  567. /* default operstring: defines the default oper response
  568. * in /whois queries, eg "is an IRC Operator"
  569. */
  570. default_operstring = "is an IRC Operator";
  571.  
  572. /* default adminstring: defines the default admin response
  573. * in /whois queries, eg "is a Server Administrator"
  574. */
  575. default_adminstring = "is a Server Administrator";
  576.  
  577. /* tkline_expire_notices: give a notice to opers when a tkline
  578. * expires
  579. */
  580. tkline_expire_notices = no;
  581.  
  582. /* floodcount: the default value of floodcount that is configurable
  583. * via /quote set floodcount. This is the amount of lines a user
  584. * may send to any other user/channel in one second.
  585. */
  586. default_floodcount = 10;
  587.  
  588. /* disable fake channels: disable local users joining fake versions
  589. * of channels, eg #foo^B^B. Disables bold, mirc colour, reverse,
  590. * underline and hard space. (ASCII 2, 3, 22, 31, 160 respectively).
  591. */
  592. disable_fake_channels = yes;
  593.  
  594. /* failed oper notice: send a notice to all opers on the server when
  595. * someone tries to OPER and uses the wrong password, host or ident.
  596. */
  597. failed_oper_notice = yes;
  598.  
  599. /* dots in ident: the amount of '.' characters permitted in an ident
  600. * reply before the user is rejected.
  601. */
  602. dots_in_ident=3;
  603.  
  604. /* dot in ipv6: ircd-hybrid-6.0 and earlier will disallow hosts
  605. * without a '.' in them. this will add one to the end. only needed
  606. * for older servers.
  607. */
  608. dot_in_ip6_addr = no;
  609.  
  610. /* min nonwildcard: the minimum non wildcard characters in k/d/g lines
  611. * placed via the server. klines hand placed are exempt from limits.
  612. * wildcard chars: '.' '*' '?' '@'
  613. */
  614. min_nonwildcard = 4;
  615.  
  616. /* min nonwildcard simple: the minimum non wildcard characters in
  617. * xlines/resvs placed via the server.
  618. * wildcard chars: '*' '?'
  619. */
  620. min_nonwildcard_simple = 3;
  621.  
  622. /* max accept: maximum allowed /accept's for +g usermode */
  623. max_accept = 20;
  624.  
  625. /* max monitor: the maximum amount of nicknames a client may have in
  626. * their monitor (server-side notify) list.
  627. */
  628. max_monitor = 100;
  629.  
  630. /* nick flood: enable the nickflood control code */
  631. anti_nick_flood = yes;
  632.  
  633. /* nick flood: the nick changes allowed in the specified period */
  634. max_nick_time = 20 seconds;
  635. max_nick_changes = 5;
  636.  
  637. /* anti spam time: the minimum time a user must be connected before
  638. * custom quit messages are allowed.
  639. */
  640. anti_spam_exit_message_time = 0 minutes;
  641.  
  642. /* ts delta: the time delta allowed between server clocks before
  643. * a warning is given, or before the link is dropped. all servers
  644. * should run ntpdate/rdate to keep clocks in sync
  645. */
  646. ts_warn_delta = 30 seconds;
  647. ts_max_delta = 5 minutes;
  648.  
  649. /* client exit: prepend a users quit message with "Client exit: " */
  650. client_exit = yes;
  651.  
  652. /* dline reason: show the user the dline reason when they connect
  653. * and are dlined.
  654. */
  655. dline_with_reason = yes;
  656.  
  657. /* kline delay: delay the checking of klines until a specified time.
  658. * Useful if large kline lists are applied often to prevent the
  659. * server eating CPU.
  660. */
  661. kline_delay = 0 seconds;
  662.  
  663. /* kline reason: show the user the reason why they are k/d/glined
  664. * on exit. may give away who set k/dline when set via tcm.
  665. */
  666. kline_with_reason = yes;
  667.  
  668. /* kline reason: make the users quit message on channels this
  669. * reason instead of the oper's reason.
  670. */
  671. kline_reason = "Connection closed (K-Lined)";
  672.  
  673. /* non redundant klines: flag and ignore redundant klines */
  674. non_redundant_klines = yes;
  675.  
  676. /* warn no nline: warn opers about servers that try to connect but
  677. * we dont have a connect {} block for. Twits with misconfigured
  678. * servers can get really annoying with this enabled.
  679. */
  680. warn_no_nline = yes;
  681.  
  682. /* stats e disabled: disable stats e. useful if server ips are
  683. * exempted and you dont want them listing on irc.
  684. */
  685. stats_e_disabled = no;
  686.  
  687. /* stats c oper only: make stats c (connect {}) oper only */
  688. stats_c_oper_only=no;
  689.  
  690. /* stats h oper only: make stats h (hub_mask/leaf_mask) oper only */
  691. stats_h_oper_only=no;
  692.  
  693. /* stats y oper only: make stats y (class {}) oper only */
  694. stats_y_oper_only=no;
  695.  
  696. /* stats o oper only: make stats o (opers) oper only */
  697. stats_o_oper_only=yes;
  698.  
  699. /* stats P oper only: make stats P (ports) oper only
  700. * NOTE: users doing stats P will never be given the ips that the
  701. * server listens on, simply the ports.
  702. */
  703. stats_P_oper_only=no;
  704.  
  705. /* stats i oper only: make stats i (auth {}) oper only. set to:
  706. * yes: show users no auth blocks, made oper only.
  707. * masked: show users first matching auth block
  708. * no: show users all auth blocks.
  709. */
  710. stats_i_oper_only=masked;
  711.  
  712. /* stats k/K oper only: make stats k/K (klines) oper only. set to:
  713. * yes: show users no auth blocks, made oper only
  714. * masked: show users first matching auth block
  715. * no: show users all auth blocks.
  716. */
  717. stats_k_oper_only=masked;
  718.  
  719. /* map oper only: make /map oper only */
  720. map_oper_only = yes;
  721.  
  722. /* operspy admin only: make operspy notices to +Z admin only */
  723. operspy_admin_only = no;
  724.  
  725. /* caller id wait: time between notifying a +g user that somebody
  726. * is messaging them.
  727. */
  728. caller_id_wait = 1 minute;
  729.  
  730. /* pace wait simple: time between use of less intensive commands
  731. * (HELP, remote WHOIS, WHOWAS)
  732. */
  733. pace_wait_simple = 1 second;
  734.  
  735. /* pace wait: time between more intensive commands
  736. * (ADMIN, INFO, LIST, LUSERS, MOTD, STATS, VERSION)
  737. */
  738. pace_wait = 10 seconds;
  739.  
  740. /* short motd: send clients a notice telling them to read the motd
  741. * instead of forcing a motd to clients who may simply ignore it.
  742. */
  743. short_motd = no;
  744.  
  745. /* ping cookies: require clients to respond exactly to a ping command,
  746. * can help block certain types of drones and FTP PASV mode spoofing.
  747. */
  748. ping_cookie = no;
  749.  
  750. /* connect timeout: sets how long we should wait for a connection
  751. * request to succeed
  752. */
  753. connect_timeout = 30 seconds;
  754.  
  755. /* disable auth: disables identd checking */
  756. disable_auth = no;
  757.  
  758. /* no oper flood: increase flood limits for opers. */
  759. no_oper_flood = yes;
  760.  
  761. /* glines: enable glines, network wide temp klines */
  762. glines = yes;
  763.  
  764. /* gline time: the amount of time a gline will remain before expiring */
  765. gline_time = 1 day;
  766.  
  767. /* gline_min_cidr: If using a CIDR gline, the minimum length the
  768. * mask must be
  769. */
  770. gline_min_cidr = 16;
  771.  
  772. /* idletime: the maximum amount of time a user may idle before
  773. * they are disconnected
  774. */
  775. idletime = 0;
  776.  
  777. /* max targets: the maximum amount of targets in a single
  778. * PRIVMSG/NOTICE. set to 999 NOT 0 for unlimited.
  779. */
  780. max_targets = 999;
  781.  
  782. /* client flood: maximum number of lines in a clients queue before
  783. * they are dropped for flooding.
  784. */
  785. client_flood = 20;
  786.  
  787. /* use_whois_actually: send clients requesting a whois a numeric
  788. * giving the real IP of non-spoofed clients to prevent DNS abuse.
  789. */
  790. use_whois_actually = yes;
  791.  
  792. /* usermodes configurable: a list of usermodes for the options below
  793. *
  794. * +b - bots - See bot and drone flooding notices
  795. * +c - cconn - Client connection/quit notices
  796. * +C - cconnext - Extended client connection/quit notices
  797. * +d - debug - See debugging notices
  798. * +f - full - See I: line full notices
  799. * +g - callerid - Server Side Ignore
  800. * +i - invisible - Not shown in NAMES or WHO unless you share a
  801. * a channel
  802. * +k - skill - See server generated KILL messages
  803. * +l - locops - See LOCOPS messages
  804. * +n - nchange - See client nick changes
  805. * +r - rej - See rejected client notices
  806. * +s - servnotice - See general server notices
  807. * +u - unauth - See unauthorised client notices
  808. * +w - wallop - See server generated WALLOPS
  809. * +x - external - See remote server connection and split notices
  810. * +y - spy - See LINKS, STATS, TRACE notices etc.
  811. * +z - operwall - See oper generated WALLOPS
  812. * +Z - operspy - See operspy notices
  813. */
  814.  
  815. /* oper only umodes: usermodes only opers may set */
  816. oper_only_umodes = bots, cconn, debug, full, skill, nchange,
  817. rej, spy, external, operwall, locops, unauth;
  818.  
  819. /* oper umodes: default usermodes opers get when they /oper */
  820. oper_umodes = locops, servnotice, operwall, wallop;
  821.  
  822. /* servlink path: path to 'servlink' program used by ircd to handle
  823. * encrypted/compressed server <-> server links.
  824. *
  825. * only define if servlink is not in same directory as ircd itself.
  826. */
  827. #servlink_path = "/usr/local/ircd/bin/servlink";
  828.  
  829. /* use egd: if your system does not have *random devices yet you
  830. * want to use OpenSSL and encrypted links, enable this. Beware -
  831. * EGD is *very* CPU intensive when gathering data for its pool
  832. */
  833. #use_egd = yes;
  834.  
  835. /* egdpool path: path to EGD pool. Not necessary for OpenSSL >= 0.9.7
  836. * which automatically finds the path.
  837. */
  838. #egdpool_path = "/var/run/egd-pool";
  839.  
  840.  
  841. /* compression level: level of compression for compressed links between
  842. * servers.
  843. *
  844. * values are between: 1 (least compression, fastest)
  845. * and: 9 (most compression, slowest).
  846. */
  847. #compression_level = 6;
  848.  
  849. /* burst_away: This enables bursting away messages to servers.
  850. * With this disabled, we will only propogate AWAY messages
  851. * as users send them, but never burst them. Be warned though
  852. * enabling this could increase the size of a burst significantly
  853. * for a large network, like EFnet.
  854. */
  855. burst_away = yes;
  856.  
  857. /* reject time: the amount of rejections through klines/dlines etc
  858. * allowed in the given time before the rejection is cached and
  859. * a pseudo temp dline is placed
  860. */
  861. reject_ban_time = 1 minute;
  862. reject_after_count = 3;
  863.  
  864. /* reject duration: the amount of time to cache the rejection */
  865. reject_duration = 5 minutes;
  866.  
  867. /* max_unknown_ip: maximum number of pending connections to the server
  868. * that are allowed per IP address
  869. */
  870. max_unknown_ip = 2;
  871. };
  872.  
  873. modules {
  874. /* module path: paths to search for modules specified below and
  875. * in /modload.
  876. */
  877. path = "/usr/local/ircd/modules";
  878. path = "/usr/local/ircd/modules/autoload";
  879.  
  880. /* module: the name of a module to load on startup/rehash */
  881. #module = "some_module.so";
  882. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement