Advertisement
Guest User

Untitled

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