Advertisement
Guest User

Untitled

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