Advertisement
Guest User

Untitled

a guest
May 10th, 2017
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.72 KB | None | 0 0
  1. serverinfo {
  2. name = "irc2.bizzareirc.com";
  3. description = "BizzareIRC Network";
  4. network_name = "BizzareIRC";
  5. network_desc = "The Official BizzareIRC Network";
  6. hub = yes;
  7. #vhost = "192.169.0.1";
  8. #vhost6 = "3ffe:80e8:546::2";
  9. max_clients = 512;
  10. };
  11. admin {
  12. name = "Brandon";
  13. description = "Main Server Administrator";
  14. email = "<admin@bizzareirc.com>";
  15. };
  16. log {
  17. use_logging = yes;
  18. fname_userlog = "logs/userlog";
  19. fname_operlog = "logs/operlog";
  20. fname_killlog = "logs/kill";
  21. fname_klinelog = "logs/kline";
  22. fname_glinelog = "logs/gline";
  23. log_level = L_INFO;
  24. };
  25. class {
  26. name = "users";
  27. ping_time = 2 minutes;
  28. number_per_ip = 2;
  29. max_number = 100;
  30. sendq = 100 kbytes;
  31. };
  32.  
  33. class {
  34. name = "restricted";
  35. ping_time = 1 minute 30 seconds;
  36. number_per_ip = 1;
  37. max_number = 100;
  38. sendq = 60kb;
  39. };
  40.  
  41. class {
  42. name = "opers";
  43. ping_time = 5 minutes;
  44. number_per_ip = 10;
  45. max_number = 100;
  46. sendq = 100kbytes;
  47. };
  48.  
  49. class {
  50. name = "server";
  51. ping_time = 5 minutes;
  52. connectfreq = 5 minutes;
  53. max_number = 1;
  54. sendq=20 megabytes;
  55. };
  56. listen {
  57. host = "127.0.0.1"; # change this!
  58. port = 6665 .. 6669;
  59. };
  60. auth {
  61. user = "*@129.1.1.2";
  62. spoof = "i.still.hate.packets";
  63.  
  64. spoof_notice = yes;
  65. exceed_limit = yes;
  66. kline_exempt = yes;
  67. gline_exempt = yes;
  68. no_tilde = yes;
  69. class = "opers";
  70. };
  71.  
  72. #auth {
  73. # # redirect: the server and port to redirect a user to. A user does
  74. # # not have to obey the redirection, the ircd just suggests to them
  75. # # an alternative server.
  76. # redirserv = "irc.at.the.edge.of.earth";
  77. # redirport = 6667;
  78.  
  79. # /* hostmask user has to match to receive redirection */
  80. # user = "*.on.mars";
  81. #
  82. # /* class: a class is required even though it is not used */
  83. # class = "users";
  84. #};
  85.  
  86. auth {
  87. user = "*@*";
  88. class = "users";
  89.  
  90. /* restricted: stop the client sending mode changes */
  91. #restricted = yes;
  92. #have_ident = no;
  93. };
  94. operator {
  95. name = "brandon";
  96. user = "*@*";
  97. password = "$1$2Jkm1MOv$mg0Abf12TzYLEG96pSMXH.";
  98. #password = "$1$9PTzrFkW$yh3ablZ5DnHeU9yjhj..U/";
  99. class = "opers";
  100. global_kill = yes;
  101. remote = yes;
  102. kline = yes;
  103. unkline = yes;
  104. gline = yes;
  105. nick_changes = yes;
  106. die = yes;
  107. rehash = yes;
  108. admin = yes;
  109. };
  110. #connect {
  111. # /* name: the name of the server */
  112. # name = "irc.example.net";
  113. #
  114. # /* host: the host or IP to connect to. If a hostname is used it
  115. # * must match the reverse dns of the server.
  116. # */
  117. # host = "192.168.0.1";
  118. #
  119. # /* passwords: the passwords we send (OLD C:) and accept (OLD N:).
  120. # * The remote server will have these passwords reversed.
  121. # */
  122. # send_password = "password";
  123. # accept_password = "anotherpassword";
  124. #
  125. # /* encrypted: controls whether the accept_password above has been
  126. # * encrypted. (OLD CRYPT_LINK_PASSWORD now optional per connect)
  127. # */
  128. # encrypted = no;
  129. #
  130. # /* port: the port to connect to this server on */
  131. # port = 6666;
  132. #
  133. # /* hub mask: the mask of servers that this server may hub. Multiple
  134. # * entries are permitted
  135. # */
  136. # hub_mask = "*";
  137. #
  138. # /* leaf mask: the mask of servers this server may not hub. Multiple
  139. # * entries are permitted. Useful for forbidding EU -> US -> EU routes.
  140. # */
  141. # #leaf_mask = "*.uk";
  142. #
  143. # /* class: the class this server is in */
  144. # class = "server";
  145. #
  146. # /* autoconnect: controls whether we autoconnect to this server or not,
  147. # * dependent on class limits.
  148. # */
  149. # autoconn = no;
  150. #
  151. # /* compressed: controls whether traffic is compressed via ziplinks.
  152. # * By default this is disabled
  153. # */
  154. # #compressed = yes;
  155. #
  156. # /* lazylink: controls whether this server is a LazyLink. LazyLink
  157. # * servers may NOT hub. see doc/LazyLinks.as.implemented.txt
  158. # */
  159. # #lazylink = yes;
  160. #
  161. # /* masking: the servername we pretend to be when we connect */
  162. # #fakename = "*.arpa";
  163. #};
  164.  
  165. #connect {
  166. # name = "ipv6.some.server";
  167. # host = "3ffd:dead:beef::1";
  168. # send_password = "password";
  169. # accept_password = "password";
  170. # port = 6666;
  171. #
  172. # /* aftype: controls whether the connection uses "ipv4" or "ipv6".
  173. # * Default is ipv4. */
  174. # aftype = ipv6;
  175. # class = "server";
  176. #};
  177.  
  178. /* shared {}: users that are allowed to remote kline (OLD U:) */
  179. shared {
  180. /* name: the server the user must be on to set klines. If this is not
  181. * specified, the user will be allowed to kline from all servers.
  182. */
  183. name = "hybrid7.debian.local";
  184.  
  185. /* user: the user@host mask that is allowed to set klines. If this is
  186. * not specified, all users on the server above will be allowed to set
  187. * a remote kline.
  188. */
  189. user = "root@localhost";
  190. };
  191.  
  192. /* kill {}: users that are not allowed to connect (OLD K:)
  193. * Oper issued klines will be added to the specified kline config
  194. */
  195. kill {
  196. user = "bad@*.hacked.edu";
  197. reason = "Obviously hacked account";
  198. };
  199.  
  200. /* deny {}: IPs that are not allowed to connect (before DNS/ident lookup)
  201. * Oper issued dlines will be added to the specified dline config
  202. */
  203. deny {
  204. ip = "10.0.1.0/24";
  205. reason = "Reconnecting vhosted bots";
  206. };
  207.  
  208. /* exempt {}: IPs that are exempt from deny {} and Dlines. (OLD d:) */
  209. exempt {
  210. ip = "192.168.0.0/16";
  211. };
  212.  
  213. /* resv {}: nicks and channels users may not use/join (OLD Q:) */
  214. resv {
  215. /* reason: the reason for the proceeding resv's */
  216. reason = "There are no services on this network";
  217.  
  218. /* resv: the nicks and channels users may not join/use */
  219. nick = "nickserv";
  220. nick = "chanserv";
  221. channel = "#services";
  222. channel = "#Opers";
  223. channel = "#staff";
  224. channel = "#IRCop's";
  225. channel = "#IRCops";
  226. channel = "#IRCop";
  227.  
  228. /* resv: wildcard masks are also supported in nicks only */
  229. reason = "Clone bots";
  230. nick = "clone*";
  231. };
  232.  
  233. /* gecos {}: The X: replacement, used for banning users based on their
  234. * "realname". The action may be either:
  235. * warn: allow client to connect, but send message to opers
  236. * reject: drop clients but also send message to opers.
  237. * silent: silently drop clients who match.
  238. */
  239. gecos {
  240. name = "*sex*";
  241. reason = "Possible spambot";
  242. action = warn;
  243. };
  244.  
  245. gecos {
  246. name = "sub7server";
  247. reason = "Trojan drone";
  248. action = reject;
  249. };
  250.  
  251. gecos {
  252. name = "*http*";
  253. reason = "Spambot";
  254. action = silent;
  255. };
  256.  
  257. /* The channel block contains options pertaining to channels */
  258. channel {
  259. /* invex: Enable/disable channel mode +I, a n!u@h list of masks
  260. * that can join a +i channel without an invite.
  261. */
  262. use_invex = yes;
  263.  
  264. /* except: Enable/disable channel mode +e, a n!u@h list of masks
  265. * that can join a channel through a ban (+b).
  266. */
  267. use_except = yes;
  268.  
  269. /* knock: Allows users to request an invite to a channel that
  270. * is locked somehow (+ikl). If the channel is +p or you are banned
  271. * the knock will not be sent.
  272. */
  273. use_knock = yes;
  274.  
  275. /* knock delay: The amount of time a user must wait between issuing
  276. * the knock command.
  277. */
  278. knock_delay = 5 minutes;
  279.  
  280. /* knock channel delay: How often a knock to any specific channel
  281. * is permitted, regardless of the user sending the knock.
  282. */
  283. knock_delay_channel = 1 minute;
  284.  
  285. /* max chans: The maximum number of channels a user can join/be on. */
  286. max_chans_per_user = 30;
  287.  
  288. /* quiet on ban: stop banned people talking in channels. */
  289. quiet_on_ban = yes;
  290.  
  291. /* max bans: maximum number of +b/e/I modes in a channel */
  292. max_bans = 999;
  293.  
  294. /* splitcode: the ircd will check every 60s as to whether splitmode
  295. * should be disabled or not, so there may be a delay between a
  296. * netsplit ending and splitmode ending.
  297. *
  298. * both split users and split servers must be true to enter splitmode
  299. *
  300. * you may force splitmode to be permanent by /quote set splitmode on
  301. */
  302.  
  303. /* split users: when the usercount is lower than this level, consider
  304. * ourselves split. this must be set for automatic splitmode
  305. */
  306. default_split_user_count = 0;
  307.  
  308. /* split servers: when the servercount is lower than this, consider
  309. * ourselves split. this must be set for automatic splitmode
  310. */
  311. default_split_server_count = 0;
  312.  
  313. /* split no create: disallow users creating channels on split. */
  314. no_create_on_split = no;
  315.  
  316. /* split: no join: disallow users joining channels at all on a split */
  317. no_join_on_split = no;
  318.  
  319. /* disable local channels: prevent users from joining &channels.
  320. * This is extreme, but it is still a flaw in serverhide. It will
  321. * however remove far more from users than it will give back in
  322. * security.
  323. */
  324. disable_local_channels = yes;
  325. };
  326.  
  327.  
  328. /* The serverhide block contains the options regarding serverhiding */
  329. serverhide {
  330. /* flatten links: this option will show all servers in /links appear
  331. * that they are linked to this current server
  332. */
  333. flatten_links = no;
  334.  
  335. /* links delay: how often to update the links file when it is
  336. * flattened.
  337. */
  338. links_delay = 5 minutes;
  339.  
  340. /* hidden: hide this server from a /links output on servers that
  341. * support it. this allows hub servers to be hidden etc.
  342. */
  343. hidden = no;
  344.  
  345. /* disable hidden: prevent servers hiding themselves from a
  346. * /links ouput.
  347. */
  348. disable_hidden = no;
  349.  
  350. /* hide servers: hide remote servernames everywhere and instead use
  351. * network_name and network_desc.
  352. */
  353. hide_servers = no;
  354. };
  355.  
  356. /* The general block contains many of the options that were once compiled
  357. * in options in config.h. The general block is read at start time.
  358. */
  359. general {
  360. /* oper pass resv: allow opers to over-ride RESVs on nicks/channels */
  361. oper_pass_resv = yes;
  362.  
  363. /* disable remote: disable users doing commands on remote servers */
  364. disable_remote_commands = no;
  365.  
  366. /* floodcount: the default value of floodcount that is configurable
  367. * via /quote set floodcount. This is the amount of lines a user
  368. * may send to any other user/channel in one second.
  369. */
  370. default_floodcount = 10;
  371.  
  372. /* failed oper notice: send a notice to all opers on the server when
  373. * someone tries to OPER and uses the wrong password, host or ident.
  374. */
  375. failed_oper_notice = yes;
  376.  
  377. /* dots in ident: the amount of '.' characters permitted in an ident
  378. * reply before the user is rejected.
  379. */
  380. dots_in_ident=2;
  381.  
  382. /* dot in ipv6: ircd-hybrid-6.0 and earlier will disallow hosts
  383. * without a '.' in them. this will add one to the end. only needed
  384. * for older servers.
  385. */
  386. dot_in_ip6_addr = yes;
  387.  
  388. /* min nonwildcard: the minimum non wildcard characters in k/d/g lines
  389. * placed via the server. klines hand placed are exempt from limits.
  390. * wildcard chars: '.' '*' '?' '@'
  391. */
  392. min_nonwildcard = 4;
  393. max_accept = 999;
  394. anti_nick_flood = yes;
  395.  
  396. /* nick flood: the nick changes allowed in the specified period */
  397. max_nick_time = 20 seconds;
  398. max_nick_changes = 5;
  399.  
  400. /* anti spam time: the minimum time a user must be connected before
  401. * custom quit messages are allowed.
  402. *
  403. * The upstream default is 2 minutes.
  404. */
  405. anti_spam_exit_message_time = 0 minutes;
  406.  
  407. /* ts delta: the time delta allowed between server clocks before
  408. * a warning is given, or before the link is dropped. all servers
  409. * should run ntpdate/rdate to keep clocks in sync
  410. */
  411. ts_warn_delta = 30 seconds;
  412. ts_max_delta = 5 minutes;
  413.  
  414. /* kline reason: show the user the reason why they are k/d/glined
  415. * on exit. may give away who set k/dline when set via tcm.
  416. */
  417. kline_with_reason = yes;
  418.  
  419. /* kline connection closed: make the users quit message on channels
  420. * to be "Connection closed", instead of the kline reason.
  421. */
  422. # kline_with_connection_closed = yes;
  423.  
  424. /* warn no nline: warn opers about servers that try to connect but
  425. * we dont have a connect {} block for. Twits with misconfigured
  426. * servers can get really annoying with this enabled.
  427. */
  428. warn_no_nline = yes;
  429.  
  430. /* stats o oper only: make stats o (opers) oper only */
  431. stats_o_oper_only=yes;
  432.  
  433. /* stats P oper only: make stats P (ports) oper only */
  434. stats_P_oper_only=yes;
  435.  
  436. /* stats i oper only: make stats i (auth {}) oper only. set to:
  437. * yes: show users no auth blocks, made oper only.
  438. * masked: show users first matching auth block
  439. * no: show users all auth blocks.
  440. */
  441. stats_i_oper_only=masked;
  442.  
  443. /* stats k/K oper only: make stats k/K (klines) oper only. set to:
  444. * yes: show users no auth blocks, made oper only
  445. * masked: show users first matching auth block
  446. * no: show users all auth blocks.
  447. */
  448. stats_k_oper_only=masked;
  449.  
  450. /* caller id wait: time between notifying a +g user that somebody
  451. * is messaging them.
  452. */
  453. caller_id_wait = 1 minute;
  454.  
  455. /* pace wait simple: time between use of less intensive commands
  456. * (HELP, remote WHOIS, WHOWAS)
  457. */
  458. pace_wait_simple = 1 second;
  459.  
  460. /* pace wait: time between more intensive commands
  461. * (ADMIN, INFO, LIST, LUSERS, MOTD, STATS, VERSION)
  462. */
  463. pace_wait = 10 seconds;
  464.  
  465. /* short motd: send clients a notice telling them to read the motd
  466. * instead of forcing a motd to clients who may simply ignore it.
  467. */
  468. short_motd = no;
  469.  
  470. /* ping cookies: require clients to respond exactly to a ping command,
  471. * can help block certain types of drones and FTP PASV mode spoofing.
  472. */
  473. ping_cookie = no;
  474.  
  475. /* no oper flood: increase flood limits for opers. */
  476. no_oper_flood = yes;
  477.  
  478. /* true no oper flood: completely eliminate flood limits for opers
  479. * and for clients with can_flood = yes in their auth {} blocks
  480. */
  481. true_no_oper_flood = yes;
  482.  
  483. /* idletime: the maximum amount of time a user may idle before
  484. * they are disconnected
  485. */
  486. idletime = 0;
  487. /* max targets: the maximum amount of targets in a single
  488. * PRIVMSG/NOTICE. set to 999 NOT 0 for unlimited.
  489. */
  490. max_targets = 4;
  491.  
  492. /* client flood: maximum number of lines in a clients queue before
  493. * they are dropped for flooding.
  494. */
  495. client_flood = 20;
  496.  
  497. /* message locale: the default message locale if gettext() is enabled
  498. * and working.
  499. * Use "custom" for the (in)famous Hybrid custom messages.
  500. * Use "standard" for the compiled in defaults.
  501. */
  502. message_locale = "standard";
  503.  
  504. /* usermodes configurable: a list of usermodes for the options below
  505. *
  506. * +b - bots - See bot and drone flooding notices
  507. * +c - cconn - Client connection/quit notices
  508. * +d - debug - See debugging notices
  509. * +f - full - See I: line full notices
  510. * +g - callerid - Server Side Ignore
  511. * +i - invisible - Not shown in NAMES or WHO unless you share a
  512. * a channel
  513. * +k - skill - See server generated KILL messages
  514. * +l - locops - See LOCOPS messages
  515. * +n - nchange - See client nick changes
  516. * +r - rej - See rejected client notices
  517. * +s - servnotice - See general server notices
  518. * +u - unauth - See unauthorized client notices
  519. * +w - wallop - See server generated WALLOPS
  520. * +x - external - See remote server connection and split notices
  521. * +y - spy - See LINKS, STATS, TRACE notices etc.
  522. * +z - operwall - See oper generated WALLOPS
  523. */
  524. oper_only_umodes = bots, cconn, debug, full, skill, nchange,
  525. rej, spy, external, operwall, locops, unauth;
  526. oper_umodes = bots, cconn, debug, full, skill, nchange, rej, spy, external, locops, unauth, operwall, servnotice, wallop;
  527. #servlink_path = "/usr/lib/ircd-hybrid/servlink";
  528. default_cipher_preference = "BF/128";
  529. #use_egd = yes;
  530. #egdpool_path = "/var/run/egd-pool";
  531. #compression_level = 6;
  532. throttle_time = 10;
  533. };
  534.  
  535. glines {
  536. enable = yes;
  537. duration = 1 day;
  538. logging = reject, block;
  539. user = "god@I.still.hate.packets";
  540. name = "hades.arpa";
  541. action = reject, block;
  542.  
  543. user = "god@*";
  544. name = "*";
  545. action = block;
  546. };
  547.  
  548. modules {
  549. path = "/usr/lib/ircd-hybrid/modules";
  550. path = "/usr/lib/ircd-hybrid/modules/autoload";
  551. module = "m_tburst.so";
  552. module = "m_ojoin.so";
  553. module = "m_sjoin.so";
  554. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement