Advertisement
Guest User

IRCD.CONF

a guest
Sep 1st, 2015
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 23.04 KB | None | 0 0
  1. # ircd-hybrid configuration file [ircd.conf]
  2. # customized for Debian by Joshua Kwan <joshk@triplehelix.org>
  3. # modified for Debian by Aurélien GÉRÔME <ag@roxor.cx>
  4.  
  5. /* serverinfo {}: Contains information about the server. (OLD M:) */
  6. serverinfo {
  7. /* name: the name of our server */
  8. name = "shyvera.tk";
  9.  
  10. /* description: the description of our server. '[' and ']' may not
  11. * be used here for compatibility with older servers.
  12. */
  13. description = "Private Shyvera IRC";
  14.  
  15. /* network info: the name and description of the network this server
  16. * is on. Shown in the 005 reply and used with serverhiding.
  17. */
  18. network_name = "Shyvera";
  19. network_desc = "i am a network short and stout";
  20.  
  21. /* hub: allow this server to act as a hub and have multiple servers
  22. * connected to it. This may not be changed if there are active
  23. * LazyLink servers.
  24. */
  25. hub = yes;
  26.  
  27. /* vhost: the IP to bind to when we connect outward to ipv4 servers.
  28. * This should be an ipv4 IP only.
  29. */
  30. #vhost = "192.169.0.1";
  31.  
  32. /* vhost6: the IP to bind to when we connect outward to ipv6 servers.
  33. * This should be an ipv6 IP only.
  34. */
  35. #vhost6 = "3ffe:80e8:546::2";
  36.  
  37. /* max clients: the maximum number of clients allowed to connect */
  38. max_clients = 512;
  39. };
  40.  
  41. /* admin {}: contains admin information about the server. (OLD A:) */
  42. admin {
  43. name = "S. Ysadmin";
  44. description = "Main Server Administrator";
  45. email = "<root@localhost>";
  46. };
  47.  
  48. /*
  49. * log {}: contains information about logfiles.
  50. */
  51. log {
  52. /* Do you want to enable logging to ircd.log? */
  53. use_logging = yes;
  54.  
  55. /*
  56. * logfiles: the logfiles to use for user connects, /oper uses,
  57. * and failed /oper. These files must exist for logging to be used.
  58. */
  59. fname_userlog = "logs/userlog";
  60. fname_operlog = "logs/operlog";
  61. fname_killlog = "logs/kill";
  62. fname_klinelog = "logs/kline";
  63. fname_glinelog = "logs/gline";
  64.  
  65. /*
  66. * log_level: the amount of detail to log in ircd.log. The
  67. * higher, the more information is logged. May be changed
  68. * once the server is running via /quote SET LOG. Either:
  69. * L_CRIT, L_ERROR, L_WARN, L_NOTICE, L_TRACE, L_INFO or L_DEBUG
  70. */
  71. log_level = L_INFO;
  72. };
  73.  
  74. /* class {}: contain information about classes for users (OLD Y:) */
  75. class {
  76. /* name: the name of the class. classes are text now */
  77. name = "users";
  78.  
  79. /* ping time: how often a client must reply to a PING from the
  80. * server before they are dropped.
  81. */
  82. ping_time = 2 minutes;
  83.  
  84. /* number per ip: the number of users per host allowed to connect */
  85. number_per_ip = 2;
  86.  
  87. /* max number: the maximum number of users allowed in this class */
  88. max_number = 100;
  89.  
  90. /* sendq: the amount of data allowed in a clients queue before
  91. * they are dropped.
  92. */
  93. sendq = 100 kbytes;
  94. };
  95.  
  96. class {
  97. name = "restricted";
  98. ping_time = 1 minute 30 seconds;
  99. number_per_ip = 1;
  100. max_number = 100;
  101. sendq = 60kb;
  102. };
  103.  
  104. class {
  105. name = "opers";
  106. ping_time = 5 minutes;
  107. number_per_ip = 10;
  108. max_number = 100;
  109. sendq = 100kbytes;
  110. };
  111.  
  112. class {
  113. name = "server";
  114. ping_time = 5 minutes;
  115.  
  116. /* connectfreq: only used in server classes. specifies the delay
  117. * between autoconnecting to servers.
  118. */
  119. connectfreq = 5 minutes;
  120.  
  121. /* max number: the amount of servers to autoconnect to */
  122. max_number = 1;
  123.  
  124. /* sendq: servers need a higher sendq as they send more data */
  125. sendq=2 megabytes;
  126. };
  127.  
  128. /* listen {}: contain information about the ports ircd listens on (OLD P:) */
  129. listen {
  130. /* port: the specific port to listen on. if no host is specified
  131. * before, it will listen on all available IPs.
  132. *
  133. * ports are seperated via a comma, a range may be specified using ".."
  134. */
  135.  
  136. /* port: listen on all available IPs, ports 6665 to 6669 */
  137. host = "127.0.0.1"; # change this!
  138. port = 6665 .. 6669;
  139. };
  140.  
  141. /* auth {}: allow users to connect to the ircd (OLD I:) */
  142. auth {
  143. /* user: the user@host allowed to connect. multiple IPv4/IPv6 user
  144. * lines are permitted per auth block.
  145. */
  146. user = "*@127.0.0.1";
  147.  
  148. /* password: an optional password that is required to use this block */
  149.  
  150. /* spoof: fake the users host to be be this. This is free-form,
  151. * just do everyone a favour and dont abuse it. (OLD I: = flag)
  152. */
  153. spoof = "i.love.debian.org";
  154.  
  155. /* spoof notice: enable spoofing notification to admins (default yes) */
  156. spoof_notice = yes;
  157.  
  158. /* exceed limit: allow a user to exceed class limits (OLD I: > flag) */
  159. exceed_limit = yes;
  160.  
  161. /* kline exempt: exempt this user from k/glines (OLD I: ^ flag) */
  162. kline_exempt = yes;
  163.  
  164. /* gline exempt: exempt this user from glines (OLD I: _ flag) */
  165. gline_exempt = yes;
  166.  
  167. /* no tilde: remove ~ from a user with no ident (OLD I: - flag) */
  168. no_tilde = yes;
  169.  
  170. /* class: the class the user is placed in */
  171. class = "opers";
  172. };
  173.  
  174. #auth {
  175. # # redirect: the server and port to redirect a user to. A user does
  176. # # not have to obey the redirection, the ircd just suggests to them
  177. # # an alternative server.
  178. # redirserv = "irc.at.the.edge.of.earth";
  179. # redirport = 6667;
  180.  
  181. # /* hostmask user has to match to receive redirection */
  182. # user = "*.on.mars";
  183. #
  184. # /* class: a class is required even though it is not used */
  185. # class = "users";
  186. #};
  187.  
  188. auth {
  189. user = "*@*";
  190. class = "users";
  191.  
  192. /* restricted: stop the client sending mode changes */
  193. #restricted = yes;
  194.  
  195. /* have ident: require the user has identd to connect (OLD I: + flag) */
  196. have_ident = no;
  197. };
  198.  
  199. /* operator {}: defines ircd operators. (OLD O:)
  200. * ircd-hybrid no longer supports local operators, privileges are
  201. * controlled via flags.
  202. */
  203. operator {
  204. /* name: the name of the oper */
  205. name = "root";
  206.  
  207. /* user: the user@host required for this operator. CIDR is not
  208. * supported. multiple user="" lines are supported.
  209. */
  210. user = "root@127.0.0.1";
  211.  
  212. /* password: the password required to oper. By default this will
  213. * need to be encrypted using '/usr/bin/mkpasswd'.
  214. * WARNING: Please do not mix up the 'mkpasswd' program from
  215. * /usr/sbin with this one. If you are root, typing 'mkpasswd'
  216. * will run that one instead and you will receive a strange error.
  217. *
  218. * MD5 is supported. If you want to use it, use mkpasswd -Hmd5.
  219. */
  220. password = "k2buxexa";
  221. #password = "$1$9PTzrFkW$yh3ablZ5DnHeU9yjhj..U/";
  222.  
  223. /* class: the class the oper joins when they successfully /oper */
  224. class = "opers";
  225.  
  226. /* privileges: controls the activities and commands an oper are
  227. * allowed to do on the server. All options default to no.
  228. * Available options:
  229. *
  230. * global_kill: allows remote users to be /KILL'd (OLD 'O' flag)
  231. * remote: allows remote SQUIT and CONNECT (OLD 'R' flag)
  232. * kline: allows KILL, KLINE and DLINE (OLD 'K' flag)
  233. * unkline: allows UNKLINE and UNDLINE (OLD 'U' flag)
  234. * gline: allows GLINE (OLD 'G' flag)
  235. * nick_changes: allows oper to see nickchanges (OLD 'N' flag)
  236. * via usermode +n
  237. * rehash: allows oper to REHASH config (OLD 'H' flag)
  238. * die: allows DIE and RESTART (OLD 'D' flag)
  239. * admin: gives admin privileges. admins
  240. * may (un)load modules and see the
  241. * real IPs of servers.
  242. */
  243. global_kill = yes;
  244. remote = yes;
  245. kline = yes;
  246. unkline = yes;
  247. gline = yes;
  248. die = yes;
  249. rehash = yes;
  250. nick_changes = yes;
  251. admin = yes;
  252. };
  253.  
  254. /* connect {}: controls servers we connect to (OLD C:, N:, H:, L:) */
  255.  
  256. #connect {
  257. # /* name: the name of the server */
  258. # name = "irc.example.net";
  259. #
  260. # /* host: the host or IP to connect to. If a hostname is used it
  261. # * must match the reverse dns of the server.
  262. # */
  263. # host = "192.168.0.1";
  264. #
  265. # /* passwords: the passwords we send (OLD C:) and accept (OLD N:).
  266. # * The remote server will have these passwords reversed.
  267. # */
  268. # send_password = "password";
  269. # accept_password = "anotherpassword";
  270. #
  271. # /* encrypted: controls whether the accept_password above has been
  272. # * encrypted. (OLD CRYPT_LINK_PASSWORD now optional per connect)
  273. # */
  274. # encrypted = no;
  275. #
  276. # /* port: the port to connect to this server on */
  277. # port = 6666;
  278. #
  279. # /* hub mask: the mask of servers that this server may hub. Multiple
  280. # * entries are permitted
  281. # */
  282. # hub_mask = "*";
  283. #
  284. # /* leaf mask: the mask of servers this server may not hub. Multiple
  285. # * entries are permitted. Useful for forbidding EU -> US -> EU routes.
  286. # */
  287. # #leaf_mask = "*.uk";
  288. #
  289. # /* class: the class this server is in */
  290. # class = "server";
  291. #
  292. # /* autoconnect: controls whether we autoconnect to this server or not,
  293. # * dependent on class limits.
  294. # */
  295. # autoconn = no;
  296. #
  297. # /* compressed: controls whether traffic is compressed via ziplinks.
  298. # * By default this is disabled
  299. # */
  300. # #compressed = yes;
  301. #
  302. # /* lazylink: controls whether this server is a LazyLink. LazyLink
  303. # * servers may NOT hub. see doc/LazyLinks.as.implemented.txt
  304. # */
  305. # #lazylink = yes;
  306. #
  307. # /* masking: the servername we pretend to be when we connect */
  308. # #fakename = "*.arpa";
  309. #};
  310.  
  311. #connect {
  312. # name = "ipv6.some.server";
  313. # host = "3ffd:dead:beef::1";
  314. # send_password = "password";
  315. # accept_password = "password";
  316. # port = 6666;
  317. #
  318. # /* aftype: controls whether the connection uses "ipv4" or "ipv6".
  319. # * Default is ipv4. */
  320. # aftype = ipv6;
  321. # class = "server";
  322. #};
  323.  
  324. /* shared {}: users that are allowed to remote kline (OLD U:) */
  325. shared {
  326. /* name: the server the user must be on to set klines. If this is not
  327. * specified, the user will be allowed to kline from all servers.
  328. */
  329. name = "hybrid7.debian.local";
  330.  
  331. /* user: the user@host mask that is allowed to set klines. If this is
  332. * not specified, all users on the server above will be allowed to set
  333. * a remote kline.
  334. */
  335. user = "root@localhost";
  336. };
  337.  
  338. /* kill {}: users that are not allowed to connect (OLD K:)
  339. * Oper issued klines will be added to the specified kline config
  340. */
  341. #kill {
  342. # user = "bad@*.hacked.edu";
  343. # reason = "Obviously hacked account";
  344. #};
  345.  
  346. /* deny {}: IPs that are not allowed to connect (before DNS/ident lookup)
  347. * Oper issued dlines will be added to the specified dline config
  348. */
  349. deny {
  350. ip = "10.0.1.0/24";
  351. reason = "Reconnecting vhosted bots";
  352. };
  353.  
  354. /* exempt {}: IPs that are exempt from deny {} and Dlines. (OLD d:) */
  355. exempt {
  356. ip = "192.168.0.0/16";
  357. };
  358.  
  359. /* resv {}: nicks and channels users may not use/join (OLD Q:) */
  360. resv {
  361. /* reason: the reason for the proceeding resv's */
  362. reason = "There are no services on this network";
  363.  
  364. /* resv: the nicks and channels users may not join/use */
  365. nick = "nickserv";
  366. nick = "chanserv";
  367. channel = "#services";
  368.  
  369. /* resv: wildcard masks are also supported in nicks only */
  370. reason = "Clone bots";
  371. nick = "clone*";
  372. };
  373.  
  374. /* gecos {}: The X: replacement, used for banning users based on their
  375. * "realname". The action may be either:
  376. * warn: allow client to connect, but send message to opers
  377. * reject: drop clients but also send message to opers.
  378. * silent: silently drop clients who match.
  379. */
  380. #gecos {
  381. # name = "*sex*";
  382. # reason = "Possible spambot";
  383. # action = warn;
  384. #};
  385.  
  386. #gecos {
  387. # name = "sub7server";
  388. # reason = "Trojan drone";
  389. # action = reject;
  390. #};
  391.  
  392. #gecos {
  393. # name = "*http*";
  394. # reason = "Spambot";
  395. # action = silent;
  396. #};
  397.  
  398. /* The channel block contains options pertaining to channels */
  399. channel {
  400. /* invex: Enable/disable channel mode +I, a n!u@h list of masks
  401. * that can join a +i channel without an invite.
  402. */
  403. use_invex = yes;
  404.  
  405. /* except: Enable/disable channel mode +e, a n!u@h list of masks
  406. * that can join a channel through a ban (+b).
  407. */
  408. use_except = yes;
  409.  
  410. /* knock: Allows users to request an invite to a channel that
  411. * is locked somehow (+ikl). If the channel is +p or you are banned
  412. * the knock will not be sent.
  413. */
  414. use_knock = yes;
  415.  
  416. /* knock delay: The amount of time a user must wait between issuing
  417. * the knock command.
  418. */
  419. knock_delay = 5 minutes;
  420.  
  421. /* knock channel delay: How often a knock to any specific channel
  422. * is permitted, regardless of the user sending the knock.
  423. */
  424. knock_delay_channel = 1 minute;
  425.  
  426. /* max chans: The maximum number of channels a user can join/be on. */
  427. max_chans_per_user = 15;
  428.  
  429. /* quiet on ban: stop banned people talking in channels. */
  430. quiet_on_ban = yes;
  431.  
  432. /* max bans: maximum number of +b/e/I modes in a channel */
  433. max_bans = 25;
  434.  
  435. /* splitcode: the ircd will check every 60s as to whether splitmode
  436. * should be disabled or not, so there may be a delay between a
  437. * netsplit ending and splitmode ending.
  438. *
  439. * both split users and split servers must be true to enter splitmode
  440. *
  441. * you may force splitmode to be permanent by /quote set splitmode on
  442. */
  443.  
  444. /* split users: when the usercount is lower than this level, consider
  445. * ourselves split. this must be set for automatic splitmode
  446. */
  447. default_split_user_count = 0;
  448.  
  449. /* split servers: when the servercount is lower than this, consider
  450. * ourselves split. this must be set for automatic splitmode
  451. */
  452. default_split_server_count = 0;
  453.  
  454. /* split no create: disallow users creating channels on split. */
  455. no_create_on_split = no;
  456.  
  457. /* split: no join: disallow users joining channels at all on a split */
  458. no_join_on_split = no;
  459.  
  460. /* disable local channels: prevent users from joining &channels.
  461. * This is extreme, but it is still a flaw in serverhide. It will
  462. * however remove far more from users than it will give back in
  463. * security.
  464. */
  465. disable_local_channels = no;
  466. };
  467.  
  468.  
  469. /* The serverhide block contains the options regarding serverhiding */
  470. serverhide {
  471. /* flatten links: this option will show all servers in /links appear
  472. * that they are linked to this current server
  473. */
  474. flatten_links = no;
  475.  
  476. /* links delay: how often to update the links file when it is
  477. * flattened.
  478. */
  479. links_delay = 5 minutes;
  480.  
  481. /* hidden: hide this server from a /links output on servers that
  482. * support it. this allows hub servers to be hidden etc.
  483. */
  484. hidden = no;
  485.  
  486. /* disable hidden: prevent servers hiding themselves from a
  487. * /links ouput.
  488. */
  489. disable_hidden = no;
  490.  
  491. /* hide servers: hide remote servernames everywhere and instead use
  492. * network_name and network_desc.
  493. */
  494. hide_servers = no;
  495. };
  496.  
  497. /* The general block contains many of the options that were once compiled
  498. * in options in config.h. The general block is read at start time.
  499. */
  500. general {
  501. /* oper pass resv: allow opers to over-ride RESVs on nicks/channels */
  502. oper_pass_resv = yes;
  503.  
  504. /* disable remote: disable users doing commands on remote servers */
  505. disable_remote_commands = no;
  506.  
  507. /* floodcount: the default value of floodcount that is configurable
  508. * via /quote set floodcount. This is the amount of lines a user
  509. * may send to any other user/channel in one second.
  510. */
  511. default_floodcount = 9999999999;
  512.  
  513. /* failed oper notice: send a notice to all opers on the server when
  514. * someone tries to OPER and uses the wrong password, host or ident.
  515. */
  516. failed_oper_notice = yes;
  517.  
  518. /* dots in ident: the amount of '.' characters permitted in an ident
  519. * reply before the user is rejected.
  520. */
  521. dots_in_ident=2;
  522.  
  523. /* dot in ipv6: ircd-hybrid-6.0 and earlier will disallow hosts
  524. * without a '.' in them. this will add one to the end. only needed
  525. * for older servers.
  526. */
  527. dot_in_ip6_addr = yes;
  528.  
  529. /* min nonwildcard: the minimum non wildcard characters in k/d/g lines
  530. * placed via the server. klines hand placed are exempt from limits.
  531. * wildcard chars: '.' '*' '?' '@'
  532. */
  533. min_nonwildcard = 4;
  534.  
  535. /* max accept: maximum allowed /accept's for +g usermode */
  536. max_accept = 20;
  537.  
  538. /* nick flood: enable the nickflood control code */
  539. anti_nick_flood = yes;
  540.  
  541. /* nick flood: the nick changes allowed in the specified period */
  542. max_nick_time = 20 seconds;
  543. max_nick_changes = 5;
  544.  
  545. /* anti spam time: the minimum time a user must be connected before
  546. * custom quit messages are allowed.
  547. *
  548. * The upstream default is 2 minutes.
  549. */
  550. anti_spam_exit_message_time = 0 minutes;
  551.  
  552. /* ts delta: the time delta allowed between server clocks before
  553. * a warning is given, or before the link is dropped. all servers
  554. * should run ntpdate/rdate to keep clocks in sync
  555. */
  556. ts_warn_delta = 30 seconds;
  557. ts_max_delta = 5 minutes;
  558.  
  559. /* kline reason: show the user the reason why they are k/d/glined
  560. * on exit. may give away who set k/dline when set via tcm.
  561. */
  562. kline_with_reason = yes;
  563.  
  564. /* kline connection closed: make the users quit message on channels
  565. * to be "Connection closed", instead of the kline reason.
  566. */
  567. # kline_with_connection_closed = no;
  568.  
  569. /* warn no nline: warn opers about servers that try to connect but
  570. * we dont have a connect {} block for. Twits with misconfigured
  571. * servers can get really annoying with this enabled.
  572. */
  573. warn_no_nline = yes;
  574.  
  575. /* stats o oper only: make stats o (opers) oper only */
  576. stats_o_oper_only=yes;
  577.  
  578. /* stats P oper only: make stats P (ports) oper only */
  579. stats_P_oper_only=no;
  580.  
  581. /* stats i oper only: make stats i (auth {}) oper only. set to:
  582. * yes: show users no auth blocks, made oper only.
  583. * masked: show users first matching auth block
  584. * no: show users all auth blocks.
  585. */
  586. stats_i_oper_only=masked;
  587.  
  588. /* stats k/K oper only: make stats k/K (klines) oper only. set to:
  589. * yes: show users no auth blocks, made oper only
  590. * masked: show users first matching auth block
  591. * no: show users all auth blocks.
  592. */
  593. stats_k_oper_only=masked;
  594.  
  595. /* caller id wait: time between notifying a +g user that somebody
  596. * is messaging them.
  597. */
  598. caller_id_wait = 1 minute;
  599.  
  600. /* pace wait simple: time between use of less intensive commands
  601. * (HELP, remote WHOIS, WHOWAS)
  602. */
  603. pace_wait_simple = 1 second;
  604.  
  605. /* pace wait: time between more intensive commands
  606. * (ADMIN, INFO, LIST, LUSERS, MOTD, STATS, VERSION)
  607. */
  608. pace_wait = 10 seconds;
  609.  
  610. /* short motd: send clients a notice telling them to read the motd
  611. * instead of forcing a motd to clients who may simply ignore it.
  612. */
  613. short_motd = no;
  614.  
  615. /* ping cookies: require clients to respond exactly to a ping command,
  616. * can help block certain types of drones and FTP PASV mode spoofing.
  617. */
  618. ping_cookie = no;
  619.  
  620. /* no oper flood: increase flood limits for opers. */
  621. no_oper_flood = yes;
  622.  
  623. /* true no oper flood: completely eliminate flood limits for opers
  624. * and for clients with can_flood = yes in their auth {} blocks
  625. */
  626. true_no_oper_flood = yes;
  627.  
  628. /* idletime: the maximum amount of time a user may idle before
  629. * they are disconnected
  630. */
  631. idletime = 0;
  632.  
  633. /* REMOVE ME. The following line checks you've been reading. */
  634. # havent_read_conf = 1;
  635.  
  636. /* max targets: the maximum amount of targets in a single
  637. * PRIVMSG/NOTICE. set to 999 NOT 0 for unlimited.
  638. */
  639. max_targets = 4;
  640.  
  641. /* client flood: maximum number of lines in a clients queue before
  642. * they are dropped for flooding.
  643. */
  644. client_flood = 20;
  645.  
  646. /* message locale: the default message locale if gettext() is enabled
  647. * and working.
  648. * Use "custom" for the (in)famous Hybrid custom messages.
  649. * Use "standard" for the compiled in defaults.
  650. */
  651. message_locale = "standard";
  652.  
  653. /* usermodes configurable: a list of usermodes for the options below
  654. *
  655. * +b - bots - See bot and drone flooding notices
  656. * +c - cconn - Client connection/quit notices
  657. * +d - debug - See debugging notices
  658. * +f - full - See I: line full notices
  659. * +g - callerid - Server Side Ignore
  660. * +i - invisible - Not shown in NAMES or WHO unless you share a
  661. * a channel
  662. * +k - skill - See server generated KILL messages
  663. * +l - locops - See LOCOPS messages
  664. * +n - nchange - See client nick changes
  665. * +r - rej - See rejected client notices
  666. * +s - servnotice - See general server notices
  667. * +u - unauth - See unauthorized client notices
  668. * +w - wallop - See server generated WALLOPS
  669. * +x - external - See remote server connection and split notices
  670. * +y - spy - See LINKS, STATS, TRACE notices etc.
  671. * +z - operwall - See oper generated WALLOPS
  672. */
  673.  
  674. /* oper only umodes: usermodes only opers may set */
  675. oper_only_umodes = bots, cconn, debug, full, skill, nchange,
  676. rej, spy, external, operwall, locops, unauth;
  677.  
  678. /* oper umodes: default usermodes opers get when they /oper */
  679. oper_umodes = locops, servnotice, operwall, wallop;
  680.  
  681. /* servlink path: path to 'servlink' program used by ircd to handle
  682. * encrypted/compressed server <-> server links.
  683. *
  684. * unless you move servlink around (???), you shouldn't define this.
  685. */
  686. #servlink_path = "/usr/lib/ircd-hybrid/servlink";
  687.  
  688. /* default cipher: default cipher to use for cryptlink when none is
  689. * specified in connect block.
  690. */
  691. default_cipher_preference = "BF/128";
  692.  
  693. /* use egd: if your system does not have *random devices yet you
  694. * want to use OpenSSL and encrypted links, enable this. Beware -
  695. * EGD is *very* CPU intensive when gathering data for its pool
  696. */
  697. #use_egd = yes;
  698.  
  699. /* egdpool path: path to EGD pool. Not necessary for OpenSSL >= 0.9.7
  700. * which automatically finds the path.
  701. */
  702. #egdpool_path = "/var/run/egd-pool";
  703.  
  704.  
  705. /* compression level: level of compression for compressed links between
  706. * servers.
  707. *
  708. * values are between: 1 (least compression, fastest)
  709. * and: 9 (most compression, slowest).
  710. */
  711. #compression_level = 6;
  712.  
  713. /* throttle time: the minimum amount of time between connections from
  714. * the same ip. exempt {} blocks are excluded from this throttling.
  715. * Offers protection against flooders who reconnect quickly.
  716. * Set to 0 to disable.
  717. */
  718. throttle_time = 10;
  719. };
  720.  
  721. glines {
  722. /* enable: enable glines, network wide temp klines */
  723. enable = yes;
  724.  
  725. /*
  726. * duration: the amount of time a gline will remain on your
  727. * server before expiring
  728. */
  729. duration = 1 day;
  730.  
  731. /*
  732. * logging: which types of rules you want to log when triggered
  733. * (choose reject or block)
  734. */
  735. logging = reject, block;
  736.  
  737. /*
  738. * NOTE: gline ACLs can cause a desync of glines throughout the
  739. * network, meaning some servers may have a gline triggered, and
  740. * others may not. Also, you only need insert rules for glines
  741. * that you want to block and/or reject. If you want to accept and
  742. * propagate the gline, do NOT put a rule for it.
  743. */
  744.  
  745. /* user@host for rule to apply to */
  746. user = "god@I.still.hate.packets";
  747. /* server for rule to apply to */
  748. name = "hades.arpa";
  749.  
  750. /*
  751. * action: action to take when a matching gline is found. options are:
  752. * reject - do not apply the gline locally
  753. * block - do not propagate the gline
  754. */
  755. action = reject, block;
  756.  
  757. user = "god@*";
  758. name = "*";
  759. action = block;
  760. };
  761.  
  762. modules {
  763. /* module path: paths to search for modules specified below and
  764. * in /modload.
  765. */
  766. path = "/usr/lib/ircd-hybrid/modules";
  767. path = "/usr/lib/ircd-hybrid/modules/autoload";
  768.  
  769. /* module: the name of a module to load on startup/rehash */
  770. module = "m_tburst.so";
  771. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement