Advertisement
Guest User

Untitled

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