Advertisement
Guest User

Untitled

a guest
Apr 12th, 2018
266
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 23.22 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 = "mattlantis";
  9.  
  10. /* description: the description of our server. '[' and ']' may not
  11. * be used here for compatibility with older servers.
  12. */
  13. description = "my silly little irc server";
  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 = "mattlantis";
  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 = "matt";
  44. description = "pretend kool kid";
  45. email = "<dunneedaknow>";
  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 = "192.168.1.104"; # change this! point to local ip
  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 = "*@*";
  147.  
  148. /* password: an optional password that is required to use this block */
  149. password = "plaintextpassword";
  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.matt.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 = "matt";
  206.  
  207. /* user: the user@host required for this operator. CIDR is not
  208. * supported. multiple user="" lines are supported.
  209. */
  210. user = "matt@*";
  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 = "encryptedpassword";
  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. connect {
  325. name = "mattlantis.services";
  326. host = "127.0.0.1";
  327. send_password = "plaintextpassword";
  328. accept_password = "plaintextpassword";
  329. encrypted = no;
  330. port = 6667;
  331. hub_mask = "*";
  332. class = "server";
  333. };
  334.  
  335. /* shared {}: users that are allowed to remote kline (OLD U:) */
  336. shared {
  337. /* name: the server the user must be on to set klines. If this is not
  338. * specified, the user will be allowed to kline from all servers.
  339. */
  340. #name = "";
  341.  
  342. /* user: the user@host mask that is allowed to set klines. If this is
  343. * not specified, all users on the server above will be allowed to set
  344. * a remote kline.
  345. */
  346. user = "matt@*";
  347. };
  348.  
  349. /* kill {}: users that are not allowed to connect (OLD K:)
  350. * Oper issued klines will be added to the specified kline config
  351. */
  352. #kill {
  353. # user = "bad@*.hacked.edu";
  354. # reason = "Obviously hacked account";
  355. #};
  356.  
  357. /* deny {}: IPs that are not allowed to connect (before DNS/ident lookup)
  358. * Oper issued dlines will be added to the specified dline config
  359. */
  360. deny {
  361. ip = "10.0.1.0/24";
  362. reason = "Reconnecting vhosted bots";
  363. };
  364.  
  365. /* exempt {}: IPs that are exempt from deny {} and Dlines. (OLD d:) */
  366. exempt {
  367. ip = "192.168.0.0/16";
  368. };
  369.  
  370. /* resv {}: nicks and channels users may not use/join (OLD Q:) */
  371. resv {
  372. /* reason: the reason for the proceeding resv's */
  373. reason = "There are no services on this network";
  374.  
  375. /* resv: the nicks and channels users may not join/use */
  376. nick = "nickserv";
  377. nick = "chanserv";
  378. channel = "#services";
  379.  
  380. /* resv: wildcard masks are also supported in nicks only */
  381. reason = "Clone bots";
  382. nick = "clone*";
  383. };
  384.  
  385. /* gecos {}: The X: replacement, used for banning users based on their
  386. * "realname". The action may be either:
  387. * warn: allow client to connect, but send message to opers
  388. * reject: drop clients but also send message to opers.
  389. * silent: silently drop clients who match.
  390. */
  391. #gecos {
  392. # name = "*sex*";
  393. # reason = "Possible spambot";
  394. # action = warn;
  395. #};
  396.  
  397. #gecos {
  398. # name = "sub7server";
  399. # reason = "Trojan drone";
  400. # action = reject;
  401. #};
  402.  
  403. #gecos {
  404. # name = "*http*";
  405. # reason = "Spambot";
  406. # action = silent;
  407. #};
  408.  
  409. /* The channel block contains options pertaining to channels */
  410. channel {
  411. /* invex: Enable/disable channel mode +I, a n!u@h list of masks
  412. * that can join a +i channel without an invite.
  413. */
  414. use_invex = yes;
  415.  
  416. /* except: Enable/disable channel mode +e, a n!u@h list of masks
  417. * that can join a channel through a ban (+b).
  418. */
  419. use_except = yes;
  420.  
  421. /* knock: Allows users to request an invite to a channel that
  422. * is locked somehow (+ikl). If the channel is +p or you are banned
  423. * the knock will not be sent.
  424. */
  425. use_knock = yes;
  426.  
  427. /* knock delay: The amount of time a user must wait between issuing
  428. * the knock command.
  429. */
  430. knock_delay = 5 minutes;
  431.  
  432. /* knock channel delay: How often a knock to any specific channel
  433. * is permitted, regardless of the user sending the knock.
  434. */
  435. knock_delay_channel = 1 minute;
  436.  
  437. /* max chans: The maximum number of channels a user can join/be on. */
  438. max_chans_per_user = 15;
  439.  
  440. /* quiet on ban: stop banned people talking in channels. */
  441. quiet_on_ban = yes;
  442.  
  443. /* max bans: maximum number of +b/e/I modes in a channel */
  444. max_bans = 25;
  445.  
  446. /* splitcode: the ircd will check every 60s as to whether splitmode
  447. * should be disabled or not, so there may be a delay between a
  448. * netsplit ending and splitmode ending.
  449. *
  450. * both split users and split servers must be true to enter splitmode
  451. *
  452. * you may force splitmode to be permanent by /quote set splitmode on
  453. */
  454.  
  455. /* split users: when the usercount is lower than this level, consider
  456. * ourselves split. this must be set for automatic splitmode
  457. */
  458. default_split_user_count = 0;
  459.  
  460. /* split servers: when the servercount is lower than this, consider
  461. * ourselves split. this must be set for automatic splitmode
  462. */
  463. default_split_server_count = 0;
  464.  
  465. /* split no create: disallow users creating channels on split. */
  466. no_create_on_split = no;
  467.  
  468. /* split: no join: disallow users joining channels at all on a split */
  469. no_join_on_split = no;
  470.  
  471. /* disable local channels: prevent users from joining &channels.
  472. * This is extreme, but it is still a flaw in serverhide. It will
  473. * however remove far more from users than it will give back in
  474. * security.
  475. */
  476. disable_local_channels = no;
  477. };
  478.  
  479.  
  480. /* The serverhide block contains the options regarding serverhiding */
  481. serverhide {
  482. /* flatten links: this option will show all servers in /links appear
  483. * that they are linked to this current server
  484. */
  485. flatten_links = no;
  486.  
  487. /* links delay: how often to update the links file when it is
  488. * flattened.
  489. */
  490. links_delay = 5 minutes;
  491.  
  492. /* hidden: hide this server from a /links output on servers that
  493. * support it. this allows hub servers to be hidden etc.
  494. */
  495. hidden = no;
  496.  
  497. /* disable hidden: prevent servers hiding themselves from a
  498. * /links ouput.
  499. */
  500. disable_hidden = no;
  501.  
  502. /* hide servers: hide remote servernames everywhere and instead use
  503. * network_name and network_desc.
  504. */
  505. hide_servers = no;
  506. };
  507.  
  508. /* The general block contains many of the options that were once compiled
  509. * in options in config.h. The general block is read at start time.
  510. */
  511. general {
  512. /* oper pass resv: allow opers to over-ride RESVs on nicks/channels */
  513. oper_pass_resv = yes;
  514.  
  515. /* disable remote: disable users doing commands on remote servers */
  516. disable_remote_commands = no;
  517.  
  518. /* floodcount: the default value of floodcount that is configurable
  519. * via /quote set floodcount. This is the amount of lines a user
  520. * may send to any other user/channel in one second.
  521. */
  522. default_floodcount = 10;
  523.  
  524. /* failed oper notice: send a notice to all opers on the server when
  525. * someone tries to OPER and uses the wrong password, host or ident.
  526. */
  527. failed_oper_notice = yes;
  528.  
  529. /* dots in ident: the amount of '.' characters permitted in an ident
  530. * reply before the user is rejected.
  531. */
  532. dots_in_ident=2;
  533.  
  534. /* dot in ipv6: ircd-hybrid-6.0 and earlier will disallow hosts
  535. * without a '.' in them. this will add one to the end. only needed
  536. * for older servers.
  537. */
  538. dot_in_ip6_addr = yes;
  539.  
  540. /* min nonwildcard: the minimum non wildcard characters in k/d/g lines
  541. * placed via the server. klines hand placed are exempt from limits.
  542. * wildcard chars: '.' '*' '?' '@'
  543. */
  544. min_nonwildcard = 4;
  545.  
  546. /* max accept: maximum allowed /accept's for +g usermode */
  547. max_accept = 20;
  548.  
  549. /* nick flood: enable the nickflood control code */
  550. anti_nick_flood = yes;
  551.  
  552. /* nick flood: the nick changes allowed in the specified period */
  553. max_nick_time = 20 seconds;
  554. max_nick_changes = 5;
  555.  
  556. /* anti spam time: the minimum time a user must be connected before
  557. * custom quit messages are allowed.
  558. *
  559. * The upstream default is 2 minutes.
  560. */
  561. anti_spam_exit_message_time = 2 minutes;
  562.  
  563. /* ts delta: the time delta allowed between server clocks before
  564. * a warning is given, or before the link is dropped. all servers
  565. * should run ntpdate/rdate to keep clocks in sync
  566. */
  567. ts_warn_delta = 30 seconds;
  568. ts_max_delta = 5 minutes;
  569.  
  570. /* kline reason: show the user the reason why they are k/d/glined
  571. * on exit. may give away who set k/dline when set via tcm.
  572. */
  573. kline_with_reason = yes;
  574.  
  575. /* kline connection closed: make the users quit message on channels
  576. * to be "Connection closed", instead of the kline reason.
  577. */
  578. # kline_with_connection_closed = no;
  579.  
  580. /* warn no nline: warn opers about servers that try to connect but
  581. * we dont have a connect {} block for. Twits with misconfigured
  582. * servers can get really annoying with this enabled.
  583. */
  584. warn_no_nline = yes;
  585.  
  586. /* stats o oper only: make stats o (opers) oper only */
  587. stats_o_oper_only=yes;
  588.  
  589. /* stats P oper only: make stats P (ports) oper only */
  590. stats_P_oper_only=no;
  591.  
  592. /* stats i oper only: make stats i (auth {}) oper only. set to:
  593. * yes: show users no auth blocks, made oper only.
  594. * masked: show users first matching auth block
  595. * no: show users all auth blocks.
  596. */
  597. stats_i_oper_only=masked;
  598.  
  599. /* stats k/K oper only: make stats k/K (klines) oper only. set to:
  600. * yes: show users no auth blocks, made oper only
  601. * masked: show users first matching auth block
  602. * no: show users all auth blocks.
  603. */
  604. stats_k_oper_only=masked;
  605.  
  606. /* caller id wait: time between notifying a +g user that somebody
  607. * is messaging them.
  608. */
  609. caller_id_wait = 1 minute;
  610.  
  611. /* pace wait simple: time between use of less intensive commands
  612. * (HELP, remote WHOIS, WHOWAS)
  613. */
  614. pace_wait_simple = 1 second;
  615.  
  616. /* pace wait: time between more intensive commands
  617. * (ADMIN, INFO, LIST, LUSERS, MOTD, STATS, VERSION)
  618. */
  619. pace_wait = 10 seconds;
  620.  
  621. /* short motd: send clients a notice telling them to read the motd
  622. * instead of forcing a motd to clients who may simply ignore it.
  623. */
  624. short_motd = no;
  625.  
  626. /* ping cookies: require clients to respond exactly to a ping command,
  627. * can help block certain types of drones and FTP PASV mode spoofing.
  628. */
  629. ping_cookie = no;
  630.  
  631. /* no oper flood: increase flood limits for opers. */
  632. no_oper_flood = yes;
  633.  
  634. /* true no oper flood: completely eliminate flood limits for opers
  635. * and for clients with can_flood = yes in their auth {} blocks
  636. */
  637. true_no_oper_flood = yes;
  638.  
  639. /* idletime: the maximum amount of time a user may idle before
  640. * they are disconnected
  641. */
  642. idletime = 0;
  643.  
  644. /* REMOVE ME. The following line checks you've been reading. */
  645.  
  646. /* max targets: the maximum amount of targets in a single
  647. * PRIVMSG/NOTICE. set to 999 NOT 0 for unlimited.
  648. */
  649. max_targets = 4;
  650.  
  651. /* client flood: maximum number of lines in a clients queue before
  652. * they are dropped for flooding.
  653. */
  654. client_flood = 20;
  655.  
  656. /* message locale: the default message locale if gettext() is enabled
  657. * and working.
  658. * Use "custom" for the (in)famous Hybrid custom messages.
  659. * Use "standard" for the compiled in defaults.
  660. */
  661. message_locale = "custom";
  662.  
  663. /* usermodes configurable: a list of usermodes for the options below
  664. *
  665. * +b - bots - See bot and drone flooding notices
  666. * +c - cconn - Client connection/quit notices
  667. * +d - debug - See debugging notices
  668. * +f - full - See I: line full notices
  669. * +g - callerid - Server Side Ignore
  670. * +i - invisible - Not shown in NAMES or WHO unless you share a
  671. * a channel
  672. * +k - skill - See server generated KILL messages
  673. * +l - locops - See LOCOPS messages
  674. * +n - nchange - See client nick changes
  675. * +r - rej - See rejected client notices
  676. * +s - servnotice - See general server notices
  677. * +u - unauth - See unauthorized client notices
  678. * +w - wallop - See server generated WALLOPS
  679. * +x - external - See remote server connection and split notices
  680. * +y - spy - See LINKS, STATS, TRACE notices etc.
  681. * +z - operwall - See oper generated WALLOPS
  682. */
  683.  
  684. /* oper only umodes: usermodes only opers may set */
  685. oper_only_umodes = bots, cconn, debug, full, skill, nchange,
  686. rej, spy, external, operwall, locops, unauth;
  687.  
  688. /* oper umodes: default usermodes opers get when they /oper */
  689. oper_umodes = locops, servnotice, operwall, wallop;
  690.  
  691. /* servlink path: path to 'servlink' program used by ircd to handle
  692. * encrypted/compressed server <-> server links.
  693. *
  694. * unless you move servlink around (???), you shouldn't define this.
  695. */
  696. #servlink_path = "/usr/lib/ircd-hybrid/servlink";
  697.  
  698. /* default cipher: default cipher to use for cryptlink when none is
  699. * specified in connect block.
  700. */
  701. default_cipher_preference = "BF/128";
  702.  
  703. /* use egd: if your system does not have *random devices yet you
  704. * want to use OpenSSL and encrypted links, enable this. Beware -
  705. * EGD is *very* CPU intensive when gathering data for its pool
  706. */
  707. #use_egd = yes;
  708.  
  709. /* egdpool path: path to EGD pool. Not necessary for OpenSSL >= 0.9.7
  710. * which automatically finds the path.
  711. */
  712. #egdpool_path = "/var/run/egd-pool";
  713.  
  714.  
  715. /* compression level: level of compression for compressed links between
  716. * servers.
  717. *
  718. * values are between: 1 (least compression, fastest)
  719. * and: 9 (most compression, slowest).
  720. */
  721. #compression_level = 6;
  722.  
  723. /* throttle time: the minimum amount of time between connections from
  724. * the same ip. exempt {} blocks are excluded from this throttling.
  725. * Offers protection against flooders who reconnect quickly.
  726. * Set to 0 to disable.
  727. */
  728. throttle_time = 10;
  729. };
  730.  
  731. glines {
  732. /* enable: enable glines, network wide temp klines */
  733. enable = yes;
  734.  
  735. /*
  736. * duration: the amount of time a gline will remain on your
  737. * server before expiring
  738. */
  739. duration = 1 day;
  740.  
  741. /*
  742. * logging: which types of rules you want to log when triggered
  743. * (choose reject or block)
  744. */
  745. logging = reject, block;
  746.  
  747. /*
  748. * NOTE: gline ACLs can cause a desync of glines throughout the
  749. * network, meaning some servers may have a gline triggered, and
  750. * others may not. Also, you only need insert rules for glines
  751. * that you want to block and/or reject. If you want to accept and
  752. * propagate the gline, do NOT put a rule for it.
  753. */
  754.  
  755. /* user@host for rule to apply to */
  756. user = "god@I.still.hate.packets";
  757. /* server for rule to apply to */
  758. name = "hades.arpa";
  759.  
  760. /*
  761. * action: action to take when a matching gline is found. options are:
  762. * reject - do not apply the gline locally
  763. * block - do not propagate the gline
  764. */
  765. action = reject, block;
  766.  
  767. user = "god@*";
  768. name = "*";
  769. action = block;
  770. };
  771.  
  772. modules {
  773. /* module path: paths to search for modules specified below and
  774. * in /modload.
  775. */
  776. path = "/usr/lib/ircd-hybrid/modules";
  777. path = "/usr/lib/ircd-hybrid/modules/autoload";
  778.  
  779. /* module: the name of a module to load on startup/rehash */
  780. module = "m_tburst.so";
  781. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement