Advertisement
Guest User

www.startech60serve.com

a guest
Aug 13th, 2017
29
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 32.66 KB | None | 0 0
  1. # ircd.conf - configuration file for ircd version ircu2.10
  2. #
  3. # Last Updated: 20, March 2002.
  4. #
  5. # Written by Niels <niels@undernet.org>, based on the original example.conf,
  6. # server code and some real-life (ahem) experience.
  7. #
  8. # Updated and heavily modified by Braden <dbtem@yahoo.com>.
  9. #
  10. # Rewritten by A1kmm(Andrew Miller)<a1kmm@mware.virtualave.net> to support
  11. # the new flex/bison configuration parser.
  12. #
  13. # Thanks and credits to: Run, Trillian, Cym, Morrissey, Chaos, Flynn,
  14. # Xorath, WildThang, Mmmm, SeKs, Ghostwolf and
  15. # all other Undernet IRC Admins and Operators,
  16. # and programmers working on the Undernet ircd.
  17. #
  18. # This is an example of the configuration file used by the Undernet ircd.
  19. #
  20. # This document is based on a (fictious) server in Europe with a
  21. # connection to the Undernet IRC network. It is primarily a leaf server,
  22. # but if all the other hubs in Europe aren't in service, it can connect
  23. # to one in the US by itself.
  24. #
  25. # The configuration format consists of a number of blocks in the format
  26. # BlockName { setting = number; setting2 = "string"; setting3 = yes; };
  27. # Note that comments start from a #(hash) and go to the end of the line.
  28. # Whitespace(space, tab, or carriage return/linefeed) are ignored and may
  29. # be used to make the configuration file more readable.
  30. #
  31. # Please note that when ircd puts the configuration lines into practice,
  32. # it parses them exactly the other way round than they are listed here.
  33. # It uses the blocks in reverse order.
  34. #
  35. # This means that you should start your Client blocks with the
  36. # "fall through", most vanilla one, and end with the most detailed.
  37. #
  38. # There is a difference between the "hostname" and the "server name"
  39. # of the machine that the server is run on. For example, the host can
  40. # have "veer.cs.vu.nl" as FQDN, and "Amsterdam.NL.EU.undernet.org" as
  41. # server name.
  42. # A "server mask" is something like "*.EU.UnderNet.org", which is
  43. # matched by "Amsterdam.NL.EU.undernet.org" but not by
  44. # "Manhattan.KS.US.undernet.org".
  45. #
  46. # Please do NOT just rename the example.conf to ircd.conf and expect
  47. # it to work.
  48.  
  49.  
  50. # [General]
  51. #
  52. # First some information about the server.
  53. # General {
  54. # name = "servername";
  55. # vhost = "ipv4vhost";
  56. # vhost = "ipv6vhost";
  57. # description = "description";
  58. # numeric = numericnumber;
  59. # dns vhost = "ipv4vhost";
  60. # dns vhost = "ipv6vhost";
  61. # dns server = "ipaddress";
  62. # dns server = "ipaddress2";
  63. # };
  64. #
  65. # If present, <virtual host> must contain a valid address in dotted
  66. # quad or IPv6 numeric notation (127.0.0.1 or ::1). The address MUST
  67. # be the address of a physical interface on the host. This address is
  68. # used for outgoing connections if the Connect{} block does not
  69. # override it. See Port{} for listener virtual hosting. If in doubt,
  70. # leave it out -- or use "*", which has the same meaning as no vhost.
  71. #
  72. # You may specify both an IPv4 virtual host and an IPv6 virtual host,
  73. # to indicate which address should be used for outbound connections
  74. # of the respective type.
  75. #
  76. # Note that <server numeric> has to be unique on the network your server
  77. # is running on, must be between 0 and 4095, and is not updated on a rehash.
  78. #
  79. # The two DNS lines allow you to specify the local IP address to use
  80. # for DNS lookups ("dns vhost") and one or more DNS server addresses
  81. # to use. If the vhost is ambiguous for some reason, you may list
  82. # IPV4 and/or IPV6 between the equals sign and the address string.
  83. # The default DNS vhost is to let the operating system assign the
  84. # address, and the default DNS servers are read from /etc/resolv.conf.
  85. # In most cases, you do not need to specify either the dns vhost or
  86. # the dns server.
  87. General {
  88. name = "Startech60Serve.com";
  89. description = "US South Carlonia";
  90. numeric = 1;
  91. };
  92.  
  93. # [Admin]
  94. #
  95. # This sets information that can be retrieved with the /ADMIN command.
  96. # It should contain at least an admin Email contact address.
  97. Admin {
  98. # At most two location lines are allowed...
  99. Location = "Startech60Serve IRC server";
  100. Contact = "IRC Admins <startech@startech60serve.com>";
  101. };
  102.  
  103. # [Classes]
  104. #
  105. # All connections to the server are associated with a certain "connection
  106. # class", be they incoming or outgoing (initiated by the server), be they
  107. # clients or servers.
  108. #
  109. # Class {
  110. # name = "<class>";
  111. # pingfreq = time;
  112. # connectfreq = time;
  113. # maxlinks = number;
  114. # sendq = size;
  115. # usermode = "+i";
  116. # };
  117. #
  118. # For connection classes used on server links, maxlinks controls when
  119. # outbound connections should be automatically initiated: if the number
  120. # of connections in the class is less than the maxlinks value, an
  121. # outbound connection can be made (subject to CRule restrictions).
  122. # That means hubs should typically have maxlinks = 0 for server links,
  123. # and leaf servers should typically have maxlinks = 1 for their hub(s).
  124. #
  125. # For inbound client connections, maxlinks controls when new clients
  126. # should be accepted for the class. If maxlinks is 0, new clients will
  127. # always be allowed. Otherwise, new clients will be allowed if there
  128. # are fewer than maxlinks clients in the class, up to a limit of about
  129. # 4,000,000,000.
  130. #
  131. # <connect freq> applies only to servers, and specifies the frequency
  132. # that the server tries to autoconnect. setting this to 0 will cause
  133. # the server to attempt to connect repeatedly with no delay until the
  134. # <maximum links> condition is satisfied. This is a Bad Thing(tm).
  135. # Note that times can be specified as a number, or by giving something
  136. # like: 1 minutes 20 seconds, or 1*60+20.
  137. #
  138. # Recommended server classes:
  139. # All your server uplinks you are not a hub for.
  140. Class {
  141. name = "Server";
  142. pingfreq = 1 minutes 30 seconds;
  143. connectfreq = 5 minutes;
  144. maxlinks = 1;
  145. sendq = 9000000;
  146. };
  147. # All the leaf servers you hub for.
  148. Class {
  149. name = "LeafServer";
  150. pingfreq = 1 minutes 30 seconds;
  151. connectfreq = 5 minutes;
  152. maxlinks = 0;
  153. sendq = 9000000;
  154. };
  155.  
  156. # Client classes. 10 = locals; 2 = for all .net and .com that are not
  157. # in Europe; 1 = for everybody.
  158. Class {
  159. name = "Local";
  160. pingfreq = 1 minutes 30 seconds;
  161. sendq = 160000;
  162. maxlinks = 100;
  163. usermode = "+iw";
  164. };
  165. Class {
  166. name = "America";
  167. pingfreq = 1 minutes 30 seconds;
  168. sendq = 80000;
  169. maxlinks = 5;
  170. };
  171. Class {
  172. name = "Other";
  173. pingfreq = 1 minutes 30 seconds;
  174. sendq = 160000;
  175. maxlinks = 400;
  176. };
  177.  
  178. Class {
  179. name = "LocOps";
  180. pingfreq = 1 minutes 30 seconds;
  181. sendq = 160000;
  182. maxlinks = 10;
  183.  
  184. local = yes;
  185. chan_limit = yes;
  186. mode_lchan = yes;
  187. show_invis = yes;
  188. show_all_invis = yes;
  189. local_kill = yes;
  190. rehash = yes;
  191. local_opmode = yes;
  192. whox = yes;
  193. display = yes;
  194. force_local_opmode = yes;
  195. };
  196.  
  197. Class {
  198. name = "GlobOps";
  199. pingfreq = 1 minutes 30 seconds;
  200. sendq = 160000;
  201. maxlinks = 10;
  202.  
  203. local = no;
  204. whox = yes;
  205. display = yes;
  206. chan_limit = yes;
  207. mode_lchan = yes;
  208. deop_lchan = yes;
  209. show_invis = yes;
  210. show_all_invis = yes;
  211. local_kill = yes;
  212. rehash = yes;
  213. local_gline = yes;
  214. see_chan = yes;
  215. list_chan = yes;
  216. see_opers = yes;
  217. local_opmode = yes;
  218. force_local_opmode = yes;
  219. kill = yes;
  220. opmode = yes;
  221. force_opmode = yes;
  222. };
  223.  
  224. Class {
  225. name = "ServerAdmins";
  226. pingfreq = 1 minutes 30 seconds;
  227. sendq = 160000;
  228. maxlinks = 10;
  229.  
  230. local = yes;
  231. whox = yes;
  232. display = yes;
  233. chan_limit = yes;
  234. mode_lchan = yes;
  235. deop_lchan = yes;
  236. walk_lchan = yes;
  237. show_invis = yes;
  238. show_all_invis = yes;
  239. unlimit_query = yes;
  240. local_kill = yes;
  241. rehash = yes;
  242. restart = yes;
  243. die = yes;
  244. local_jupe = yes;
  245. set = yes;
  246. local_gline = yes;
  247. local_badchan = yes;
  248. see_chan = yes;
  249. list_chan = yes;
  250. wide_gline = yes;
  251. see_opers = yes;
  252. local_opmode = yes;
  253. force_local_opmode = yes;
  254. kill = yes;
  255. opmode = yes;
  256. badchan = yes;
  257. force_opmode = yes;
  258. apass_opmode = yes;
  259. };
  260.  
  261. Class {
  262. name = "NetAdmins";
  263. pingfreq = 1 minutes 30 seconds;
  264. sendq = 160000;
  265. maxlinks = 10;
  266.  
  267. local = no;
  268. whox = yes;
  269. display = yes;
  270. chan_limit = yes;
  271. mode_lchan = yes;
  272. deop_lchan = yes;
  273. walk_lchan = yes;
  274. show_invis = yes;
  275. show_all_invis = yes;
  276. unlimit_query = yes;
  277. local_kill = yes;
  278. rehash = yes;
  279. restart = yes;
  280. die = yes;
  281. local_jupe = yes;
  282. set = yes;
  283. local_gline = yes;
  284. local_badchan = yes;
  285. see_chan = yes;
  286. list_chan = yes;
  287. wide_gline = yes;
  288. see_opers = yes;
  289. local_opmode = yes;
  290. force_local_opmode = yes;
  291. kill = yes;
  292. gline = yes;
  293. opmode = yes;
  294. badchan = yes;
  295. force_opmode = yes;
  296. apass_opmode = yes;
  297. };
  298. Class {
  299. name = "Opers";
  300. pingfreq = 1 minutes 30 seconds;
  301. sendq = 160000;
  302. maxlinks = 10;
  303. };
  304. # [Client]
  305. #
  306. # To allow clients to connect, they need authorization. This can be
  307. # done based on hostmask, address mask, and/or with a password.
  308. # With intelligent use of classes and the maxconnections field in the
  309. # Client blocks, you can let in a specific domain, but get rid of all other
  310. # domains in the same toplevel, thus setting up some sort of "reverse
  311. # Kill block".
  312. # Client {
  313. # host = "user@host";
  314. # ip = "user@ip";
  315. # password = "password";
  316. # class = "classname";
  317. # };
  318. #
  319. # Technical description (for examples, see below):
  320. # For every connecting client, the IP address is known. A reverse lookup
  321. # on this IP-number is done to get the (/all) hostname(s).
  322. # Each hostname that belongs to this IP-number is matched to <hostmask>,
  323. # and the Client {} is used when any matches; the client will then show
  324. # with this particular hostname. If none of the hostnames match, then
  325. # the IP-number is matched against the <IP mask ...> field, if this matches
  326. # then the Client{} is used nevertheless and the client will show with the
  327. # first (main) hostname if any; if the IP-number did not resolve then the
  328. # client will show with the dot notation of the IP-number.
  329. # There is a special case for the UNIX domain sockets and localhost connections
  330. # though; in this case the <IP mask ...> field is compared with the
  331. # name of the server (thus not with any IP-number representation). The name
  332. # of the server is the one returned in the numeric 002 reply, for example:
  333. # 002 Your host is 2.undernet.org[jolan.ppro], running version ...
  334. # Then the "jolan.ppro" is the name used for matching.
  335. # Therefore, unix domain sockets, and connections to localhost would
  336. # match this block:
  337. # host = "*@jolan.ppro";
  338. #
  339. # This is the "fallback" entry. All .uk, .nl, and all unresolved are
  340. # in these two lines.
  341. # By using two different lines, multiple connections from a single IP
  342. # are only allowed from hostnames which have both valid forward and
  343. # reverse DNS mappings.
  344. Client
  345. {
  346. class = "Other";
  347. ip = "*@*";
  348. maxlinks = 2;
  349. };
  350.  
  351.  
  352. Client
  353. {
  354. class = "Other";
  355. host = "*@*";
  356. maxlinks = 2;
  357. };
  358. # If you don't want unresolved dudes to be able to connect to your
  359. # server, do not specify any "ip = " settings.
  360. #
  361. # Here, take care of all American ISPs.
  362. Client
  363. {
  364. host = "*@*.com";
  365. class = "America";
  366. maxlinks = 2;
  367. };
  368.  
  369. Client
  370. {
  371. host = "*@*.net";
  372. class = "America";
  373. maxlinks = 2;
  374. };
  375. # Now list all the .com / .net domains that you wish to have access...
  376. # actually it's less work to do it this way than to do it the other
  377. # way around - K-lining every single ISP in the US.
  378. # I wish people in Holland just got a .nl domain, and not try to be
  379. # cool and use .com...
  380. Client { host = "*@*.wirehub.net"; class = "Other"; maxlinks=2; };
  381. Client { host = "*@*.planete.net"; class = "Other"; maxlinks=2; };
  382. Client { host = "*@*.ivg.com"; class = "Other"; maxlinks=2; };
  383. Client { host = "*@*.ib.com"; class = "Other"; maxlinks=2; };
  384. Client { host = "*@*.ibm.net"; class = "Other"; maxlinks=2; };
  385. Client { host = "*@*.hydro.com"; class = "Other"; maxlinks=2; };
  386. Client { host = "*@*.nl.net"; class = "Local"; maxlinks=2; };
  387.  
  388. # You can request a more complete listing, including the "list of standard
  389. # Kill blocks" from the Routing Committee; it will also be sent to you if
  390. # you apply for a server and get accepted.
  391. #
  392. # Ourselves - this makes sure that we can get in, no matter how full
  393. # the server is (hopefully).
  394. Client
  395. {
  396. host = "*@*";
  397. ip = "71.12.81.14";
  398. class = "Local";
  399. # A maxlinks of over 5 will automatically be glined by euworld on Undernet
  400. maxlinks = 5;
  401. };
  402.  
  403. # You can put an expression in the maxlinks value, which will make ircd
  404. # only accept a client when the total number of connections to the network
  405. # from the same IP number doesn't exceed this number.
  406. # The following example would accept at most one connection per IP number
  407. # from "*.swipnet.se" and at most two connections from dial up accounts
  408. # that have "dial??.*" as host mask:
  409. # Client {
  410. # host = "*@*.swipnet.se";
  411. # maxlinks = 1;
  412. # class = "Other";
  413. # };
  414. # Client {
  415. # host = "*@dial??.*";
  416. # maxlinks = 2;
  417. # class = "Other";
  418. # };
  419. #
  420. # If you are not worried about who connects, this line will allow everyone
  421. # to connect.
  422. Client {
  423. host = "*@*";
  424. ip = "*@*";
  425. class = "Other";
  426. maxlinks = 2;
  427. };
  428.  
  429.  
  430. # [motd]
  431. #
  432. # It is possible to show a different Message of the Day to a connecting
  433. # client depending on its origin.
  434. # motd {
  435. # # Note: host can also be a classname.
  436. # host = "Other";
  437. # file = "path/to/motd/file";
  438. # };
  439. #
  440. # More than one host = "mask"; entry may be present in one block; this
  441. # has the same effect as one Motd block for each host entry, but makes
  442. # it easier to update the messages's filename.
  443. #
  444. # DPATH/net_com.motd contains a special MOTD where users are encouraged
  445. # to register their domains and get their own client{} lines if they're in
  446. # Europe, or move to US.UnderNet.org if they're in the USA.
  447. #motd {
  448. # host = "*.net";
  449. # file = "net_com.motd";
  450. #};
  451. #motd {
  452. # host = "*.com";
  453. # file = "net_com.motd";
  454. #};
  455. #motd {
  456. # host = "America";
  457. # file = "net_com.motd";
  458. #};
  459.  
  460. # A different MOTD for ourselves, where we point out that the helpdesk
  461. # better not be bothered with questions regarding irc...
  462. motd {
  463. host = "*.startech60serve.com";
  464. file = "startech.motd";
  465. };
  466.  
  467. # [UWorld]
  468. #
  469. # One of the many nice features of Undernet is "Uworld", a program
  470. # connected to the net as a server. This allows it to broadcast any mode
  471. # change, thus allowing opers to, for example, "unlock" a channel that
  472. # has been taken over.
  473. # There is only one slight problem: the TimeStamp protocol prevents this.
  474. # So there is a configuration option to allow them anyway from a certain
  475. # server.
  476. # UWorld {
  477. # # The servername or wildcard mask for it that this applies to.
  478. # name = "relservername";
  479. # # Servers introduced with "oper" can remotely (de-)oper clients.
  480. # oper = "uworld.example.org";
  481. # };
  482. #
  483. # You may have have more than one name listed in each block.
  484. #
  485. # Note: (1) These lines are agreed on by every server admin on Undernet;
  486. # (2) These lines must be the same on every single server, or results
  487. # will be disasterous; (3) This is a useful feature, not something that
  488. # is a liability and abused regularly (well... :-)
  489. # If you're on Undernet, you MUST have these lines. I cannnot stress
  490. # this enough. If all of the servers don't have the same lines, the
  491. # servers will try to undo the mode hacks that Uworld does. Make SURE that
  492. # all of the servers have the EXACT same UWorld blocks.
  493. #
  494. # If your server starts on a bit larger network, you'll probably get
  495. # assigned one or two uplinks to which your server can connect.
  496. # If your uplink(s) also connect to other servers than yours (which is
  497. # probable), you need to define your uplink as being allowed to "hub".
  498. # See the Connect block documentation for details on how to do that.
  499. UWorld {
  500. name = "uworld.startech60serve.com";
  501. name = "uworld.us.startech60serve.com";
  502. name = "channels.startech60serve.com";
  503. name = "services.startech60serve.com";
  504. };
  505. #UWorld {
  506. # oper = "uworld.eu.undernet.org";
  507. # oper = "uworld2.undernet.org";
  508. # oper = "uworld.undernet.org";
  509. # name = "channels.undernet.org";
  510. # name = "channels2.undernet.org";
  511. # name = "channels3.undernet.org";
  512. # name = "channels4.undernet.org";
  513. # name = "channels5.undernet.org";
  514. # name = "channels6.undernet.org";
  515. #};
  516.  
  517. # As of ircu2.10.05 is it possible to Jupe nicks. As per CFV-0095 and
  518. # CFV-0255, the following nicks must be juped, it is not allowed to
  519. # jupe others as well.
  520. Jupe {
  521. nick = "A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,{,|,},~,-,_,`";
  522. nick = "EuWorld,UWorld,UWorld2";
  523. nick = "login,startech60serve,protocol,pass,newpass,com";
  524. nick = "StatServ,NoteServ";
  525. nick = "ChanSvr,ChanSaver,ChanServ";
  526. nick = "NickSvr,NickSaver,NickServ";
  527. nick = "LPT1,LPT2,COM1,COM2,COM3,COM4,AUX";
  528. };
  529.  
  530. # [Kill]
  531. #
  532. # While running your server, you will most probably encounter individuals
  533. # or groups of persons that you do not wish to have access to your server.
  534. #
  535. # For this purpose, the ircd understands "kill blocks". These are also
  536. # known as K-lines, by virtue of the former config file format.
  537. # Kill
  538. # {
  539. # host = "user@host";
  540. # reason = "The reason the user will see";
  541. # };
  542. # It is possible to ban on the basis of the real name.
  543. # It is also possible to use a file as comment for the ban, using
  544. # file = "file":
  545. # Kill
  546. # {
  547. # realname = "realnametoban";
  548. # file = "path/to/file/with/reason/to/show";
  549. # };
  550. #
  551. #
  552. # The default reason is: "You are banned from this server"
  553. # Note that Kill blocks are local to the server; if you ban a person or a
  554. # whole domain from your server, they can get on IRC via any other server
  555. # that doesn't have them Killed (yet).
  556. #
  557. # With a simple comment, using quotes:
  558. Kill { host = "*.au"; reason = "Please use a nearer server"; };
  559. Kill { host = "*.edu"; reason = "Please use a nearer server"; };
  560.  
  561. # You can also kill based on username.
  562. Kill { username = "sub7"; realname = "s*7*"; reason = "You are infected with a Trojan"; };
  563.  
  564. # The file can contain for example, a reason, a link to the
  565. # server rules and a contact address. Note the combination
  566. # of username and host in the host field.
  567. Kill
  568. {
  569. host = "*luser@unixbox.flooder.co.uk";
  570. file = "kline/youflooded.txt";
  571. };
  572.  
  573. # IP-based kill lines apply to all hosts, even if an IP address has a
  574. # properly resolving host name.
  575. Kill
  576. {
  577. host = "192.168.*";
  578. file = "klines/martians";
  579. };
  580.  
  581. # The realname field lets you ban by realname...
  582. Kill
  583. {
  584. realname = "*sub7*";
  585. reason = "You are infected with a Trojan";
  586. };
  587.  
  588. # [Connect]
  589. #
  590. # You probably want your server connected to other servers, so your users
  591. # have other users to chat with.
  592. # IRC servers connect to other servers forming a network with a star or
  593. # tree topology. Loops are not allowed.
  594. # In this network, two servers can be distinguished: "hub" and "leaf"
  595. # servers. Leaf servers connect to hubs; hubs connect to each other.
  596. # Of course, many servers can't be directly classified in one of these
  597. # categories. Both a fixed and a rule-based decision making system for
  598. # server links is provided for ircd to decide what links to allow, what
  599. # to let humans do themselves, and what links to (forcefully) disallow.
  600. #
  601. # The Connect blocks
  602. # define what servers the server connect to, and which servers are
  603. # allowed to connect.
  604. # Connect {
  605. # name = "servername";
  606. # host = "hostnameORip";
  607. # vhost = "localIP";
  608. # password = "passwd";
  609. # port = portno;
  610. # class = "classname";
  611. # maxhops = 2;
  612. # hub = "*.eu.undernet.org";
  613. # autoconnect = no;
  614. # };
  615. #
  616. # The "port" field defines the default port the server tries to connect
  617. # to if an operator uses /connect without specifying a port. This is also
  618. # the port used when the server attempts to auto-connect to the remote
  619. # server. (See Class blocks for more informationa about auto-connects).
  620. # You may tell ircu to not automatically connect to a server by adding
  621. # "autoconnect = no;"; the default is to autoconnect.
  622. #
  623. # If the vhost field is present, the server will use that IP as the
  624. # local end of connections that it initiates to this server. This
  625. # overrides the vhost value from the General block.
  626. #
  627. # The maxhops field causes an SQUIT if a hub tries to introduce
  628. # servers farther away than that; the element 'leaf;' is an alias for
  629. # 'maxhops = 0;'. The hub field limits the names of servers that may
  630. # be introduced by a hub; the element 'hub;' is an alias for
  631. # 'hub = "*";'.
  632. #
  633. # Our primary uplink.
  634. #Connect {
  635. # name = "Amsterdam.NL.Eu.UnderNet.org";
  636. # host = "1.2.3.4";
  637. # password = "passwd";
  638. # port = 4400;
  639. # class = "Server";
  640. # hub;
  641. #};
  642.  
  643. # [crule]
  644. #
  645. # For an advanced, real-time rule-based routing decision making system
  646. # you can use crule blocks. For more information, see doc/readme.crules.
  647. # If more than one server mask is present in a single crule, the rule
  648. # applies to all servers.
  649. # CRULE
  650. # {
  651. # server = "servermask";
  652. # rule = "connectrule";
  653. # # Setting all to yes makes the rule always apply. Otherwise it only
  654. # # applies to autoconnects.
  655. # all = yes;
  656. # };
  657. #CRULE
  658. #{
  659. # server = "*.US.UnderNet.org";
  660. # rule = "connected(*.US.UnderNet.org)";
  661. #};
  662. #CRULE
  663. #{
  664. # server = "*.EU.UnderNet.org";
  665. # rule = "connected(Amsterdam.NL.EU.*)";
  666. #};
  667.  
  668. # The following block is recommended for leaf servers:
  669. #CRULE
  670. #{
  671. # server = "*";
  672. # rule = "directcon(*)";
  673. #};
  674. CRULE
  675. {
  676. server = "*.us.startech60serve.com";
  677. rule = "connected(*.us.startech60serve.com)";
  678. };
  679. CRULE
  680. {
  681. server = "*.eu.startech60serve.com";
  682. rule = "connected(*.eu.startech60serve.com)";
  683. };
  684. CRULE
  685. {
  686. server = "*.au.startech60serve.com";
  687. rule = "connected(*.au.startech60serve.com)";
  688. };
  689.  
  690. # The following block is recommended for leaf servers:
  691. CRULE
  692. {
  693. server = "*";
  694. rule = "directcon(*)";
  695. };
  696. # [Operator]
  697. #
  698. # Inevitably, you have reached the part about "IRC Operators". Oper status
  699. # grants some special privileges to a user, like the power to make the
  700. # server break or (try to) establish a connection with another server,
  701. # and to "kill" users off IRC.
  702. # I can write many pages about this; I will restrict myself to saying that
  703. # if you want to appoint somebody as IRC Operator on your server, that
  704. # person should be aware of his/her responsibilities, and that you, being
  705. # the admin, will be held accountable for their actions.
  706. #
  707. # There are two sorts of IRC Operators: "local" and "global". Local opers
  708. # can squit, connect and kill - but only locally: their +o user mode
  709. # is not not passed along to other servers. On Undernet, this prevents
  710. # them from using Uworld as well.
  711. #
  712. # More than one host = "mask"; entry may be present in one block; this
  713. # has the same effect as one Operator block for each host entry, but
  714. # makes it easier to update operator nicks, passwords, classes, and
  715. # privileges.
  716. #
  717. # In most cases, the host mask should start with "<ident>@" or "*@".
  718. # If there is no <ident>@ prefix, clients without ident results
  719. # (but matching host name or IP address) can use the Operator block.
  720. #
  721. # Operator {
  722. # host = "host/IP mask";
  723. # name = "opername";
  724. # password = "encryptedpass";
  725. # class = "classname";
  726. # # You can also set any operator privilege; see the Class block
  727. # # documentation for details. A privilege defined for a single
  728. # # Operator will override the privilege settings for the Class
  729. # # and the default setting.
  730. # };
  731. #
  732. # By default, the password is hashed using the system's native crypt()
  733. # function. Other password mechanisms are available; the umkpasswd
  734. # utility from the ircd directory can hash passwords using those
  735. # mechanisms. If you use a password format that is NOT generated by
  736. # umkpasswd, ircu will not recognize the oper's password.
  737. #
  738. # All privileges are shown with their default values; if you wish to
  739. # override defaults, you should set only those privileges for the
  740. # operator. Listing defaulted privileges just makes things harder to
  741. # find.
  742. #Operator {
  743. # local = no;
  744. # host = "*@*.cs.vu.nl";
  745. # password = "VRKLKuGKn0jLt";
  746. # name = "Niels";
  747. # class = "Local";
  748. #};
  749. Operator {
  750. host = "*@71.12.81.14";
  751. password = "$PLAIN$Dummerme123";
  752. name = "startech";
  753. class = "Opers";
  754. local = no;
  755. };
  756. Operator {
  757. host = "startech@71.12.81.14";
  758. password = "Paswd123";
  759. name = "startech";
  760. class = "NetAdmins";
  761. local = no;
  762. };
  763. # Note that the <connection class> is optional, but leaving it away
  764. # puts the opers in class "default", which usually only accepts one
  765. # connection at a time. If you want users to Oper up more then once per
  766. # block, then use a connection class that allows more then one connection,
  767. # for example (using class Local as in the example above):
  768. #
  769. # Once you OPER your connection class changes no matter where you are or
  770. # your previous connection classes. If the defined connection class is
  771. # Local for the operator block, then your new connection class is Local.
  772.  
  773. # [Port]
  774. # When your server gets more full, you will notice delays when trying to
  775. # connect to your server's primary listening port. It is possible via the
  776. # Port lines to specify additional ports for the ircd to listen to.
  777. # De facto ports are: 6667 - standard; 6660-6669 - additional client
  778. # ports;
  779. # Undernet uses 4400 for server listener ports.
  780. # These are just hints, they are in no way official IANA or IETF policies.
  781. # IANA says we should use port 194, but that requires us to run as root,
  782. # so we don't do that.
  783. #
  784. #
  785. # Port {
  786. # port = [ipv4] [ipv6] number;
  787. # mask = "ipmask";
  788. # # Use this to control the interface you bind to.
  789. # vhost = [ipv4] [ipv6] "virtualhostip";
  790. # # You can specify both virtual host and port number in one entry.
  791. # vhost = [ipv4] [ipv6] "virtualhostip" number;
  792. # # Setting to yes makes this server only.
  793. # server = yes;
  794. # # Setting to yes makes the port "hidden" from stats.
  795. # hidden = yes;
  796. # # Setting to yes makes this for webirc clients only.
  797. # # If the head-in-sand (HIS) webirc features are on, you probably
  798. # # want WebIRC ports to also be hidden.
  799. # WebIRC = yes;
  800. # };
  801. #
  802. # The port and vhost lines allow you to specify one or both of "ipv4"
  803. # and "ipv6" as address families to use for the port. The default is
  804. # to listen on both IPv4 and IPv6.
  805. #
  806. # The mask setting allows you to specify a range of IP addresses that
  807. # you will allow connections from. This should only contain IP addresses
  808. # and '*' if used. This field only uses IP addresses. This does not use
  809. # DNS in any way so you can't use it to allow *.nl or *.uk. Attempting
  810. # to specify anything other than numbers, dots and stars [0-9.*] will result
  811. # in the port allowing connections from anyone.
  812. #
  813. # The interface setting allows multiply homed hosts to specify which
  814. # interface to use on a port by port basis, if an interface is not specified
  815. # the default interface will be used. The interface MUST be the complete
  816. # IP address for a real hardware interface on the machine running ircd.
  817. # If you want to use virtual hosting *YOU* *MUST* *USE* *THIS* otherwise it
  818. # WILL bind to all interfaces - not what most people seem to expect.
  819. #
  820. Port {
  821. server = yes;
  822. port = 4400;
  823. };
  824.  
  825. # This is an IPv4-only Server port that is Hidden
  826. Port {
  827. server = yes;
  828. hidden = yes;
  829. port = ipv4 4401;
  830. };
  831.  
  832. # The following are normal client ports
  833. Port { port = 6667; };
  834. Port { port = 6668; };
  835. Port {
  836. # This only accepts clients with IPs like 192.168.*.
  837. mask = "192.168.*";
  838. port = 6666;
  839. };
  840.  
  841. # This is a hidden client port, listening on 168.8.21.107.
  842. Port {
  843. vhost = "71.12.81.14";
  844. hidden = yes;
  845. port = 7000;
  846. };
  847.  
  848. # More than one vhost may be present in a single Port block; in this case,
  849. # we recommend listing the port number on the vhost line for clarity.
  850. #Port {
  851. # vhost = "172.16.0.1" 6667;
  852. # vhost = "172.16.3.1" 6668;
  853. # hidden = no;
  854. #};
  855.  
  856. # Quarantine blocks disallow operators from using OPMODE and CLEARMODE
  857. # on certain channels. Opers with the force_opmode (for local
  858. # channels, force_local_opmode) privilege may override the quarantine
  859. # by prefixing the channel name with an exclamation point ('!').
  860. # Wildcards are NOT supported; the channel name must match exactly.
  861. Quarantine {
  862. "#shells" = "Thou shalt not support the h4><0rz";
  863. "&kiddies" = "They can take care of themselves";
  864. };
  865.  
  866. # This is a server-implemented alias to send a message to a service.
  867. # The string after Pseudo is the command name; the name entry inside
  868. # is the service name, used for error messages. More than one nick
  869. # entry can be provided; the last one listed has highest priority.
  870. Pseudo "CHANSERV" {
  871. name = "X";
  872. nick = "X@channels.startech60serve.com";
  873. };
  874.  
  875. # You can also prepend text before the user's message.
  876. Pseudo "LOGIN" {
  877. name = "X";
  878. prepend = "LOGIN ";
  879. nick = "X@channels.startech60serve.com";
  880. };
  881.  
  882. # You can ask a separate server whether to allow users to connect.
  883. # Uncomment this ONLY if you have an iauth helper program.
  884. # IAuth {
  885. # program = "../path/to/iauth" "-n" "options go here";
  886. # };
  887.  
  888. # Clients who connect to a WebIRC port, match a WebIRC block and send
  889. # "WEBIRC <password> <username> <hostname> <ip>" during registration
  890. # can spoof their username, hostname and IP address.
  891. #
  892. # A rehash will disconnect clients using a WebIRC block that was
  893. # removed. A WebIRC block is considered removed if there is no block
  894. # in the new config with the same IP and password -- if only the
  895. # description changes, the new description is shown in /whois even for
  896. # clients who were connected before the rehash.
  897. WebIRC {
  898. ip = "127.0.0.1"; # may be a netmask, e.g. 1.2.3.4/28
  899. password = "Passwd123";
  900. description = "Startech60Serve";
  901. hidden = yes; # hides IP in /stats webirc
  902. };
  903.  
  904. # [features]
  905. # IRC servers have a large number of options and features. Most of these
  906. # are set at compile time through the use of #define's--see "make config"
  907. # for more details--but we are working to move many of these into the
  908. # configuration file. Features let you configure these at runtime.
  909. # You only need one feature block in which you use
  910. # "featurename" = "value1" , "value2", ..., "valuen-1", "valuen";
  911. #
  912. # The entire purpose of F:lines are so that you do not have to recompile
  913. # the IRCD everytime you want to change a feature. All of the features
  914. # are listed below, and at the bottom is how to set logging.
  915. #
  916. # A Special Thanks to Kev for writing the documentation of F:lines. It can
  917. # be found at doc/readme.features and the logging documentation can be
  918. # found at doc/readme.log. The defaults used by the Undernet network are
  919. # below.
  920. #
  921. features
  922. {
  923. "LOG" = "SYSTEM" "FILE" "/home/ircd/lib/ircd.log";
  924. "LOG" = "SYSTEM" "LEVEL" "CRIT";
  925. "KILL_IPMISMATCH"="FALSE";
  926. "IDLE_FROM_MSG"="TRUE";
  927. "HUB"="TRUE";
  928. "WALLOPS_OPER_ONLY"="RUE";
  929. "DEFAULT_LIST_PARAM"="TRUE";
  930. "NETWORK"="Star60Serve";
  931. "HOST_HIDING"="TRUE";
  932. "HIDDEN_HOST"="users.startech60serve.com";
  933. "HIDDEN_IP"="127.0.0.1";
  934. "MAXCHANNELSPERUSER"="10";
  935. "NICKLEN" = "31";
  936. "PINGFREQUENCY" = "120";
  937. "CONNECTFREQUENCY" = "600";
  938. "MPATH" = "/home/ircd/lib/ircd.motd";
  939. "RPATH" = "/home/ircd/lib/remote.motd";
  940. "PPATH" = "/home/ircd/lib/ircd.pid";
  941. "IPCHECK_CLONE_LIMIT" = "3";
  942. "IPCHECK_CLONE_PERIOD" = "40";
  943. "IPCHECK_CLONE_DELAY" = "600";
  944. "CHANNELLEN" = "200";
  945. "OPLEVELS" = "TRUE";
  946. "ZANNELS" = "TRUE";
  947. "LOCAL_CHANNELS" = "TRUE";
  948. "ANNOUNCE_INVITES" = "FALSE";
  949. "HIS_SNOTICES" = "TRUE";
  950. "HIS_SNOTICES_OPER_ONLY" = "TRUE";
  951. "HIS_DEBUG_OPER_ONLY" = "TRUE";
  952. "HIS_WALLOPS" = "TRUE";
  953. "HIS_MAP" = "TRUE";
  954. "HIS_LINKS" = "TRUE";
  955. "HIS_TRACE" = "TRUE";
  956. "HIS_STATS_a" = "TRUE";
  957. "HIS_STATS_c" = "TRUE";
  958. "HIS_STATS_d" = "TRUE";
  959. "HIS_STATS_e" = "TRUE";
  960. "HIS_STATS_f" = "TRUE";
  961. "HIS_STATS_g" = "TRUE";
  962. "HIS_STATS_i" = "TRUE";
  963. "HIS_STATS_j" = "TRUE";
  964. "HIS_STATS_J" = "TRUE";
  965. "HIS_STATS_k" = "TRUE";
  966. "HIS_STATS_l" = "TRUE";
  967. "HIS_STATS_L" = "TRUE";
  968. "HIS_STATS_m" = "TRUE";
  969. "HIS_STATS_M" = "TRUE";
  970. "HIS_STATS_o" = "TRUE";
  971. "HIS_STATS_p" = "TRUE";
  972. "HIS_STATS_q" = "TRUE";
  973. "HIS_STATS_r" = "TRUE";
  974. "HIS_STATS_R" = "TRUE";
  975. "HIS_STATS_t" = "TRUE";
  976. "HIS_STATS_T" = "TRUE";
  977. "HIS_STATS_u" = "FALSE";
  978. "HIS_STATS_U" = "TRUE";
  979. "HIS_STATS_v" = "TRUE";
  980. "HIS_STATS_w" = "TRUE";
  981. "HIS_STATS_x" = "TRUE";
  982. "HIS_STATS_y" = "TRUE";
  983. "HIS_STATS_z" = "TRUE";
  984. "HIS_STATS_IAUTH" = "TRUE";
  985. "HIS_WHOIS_SERVERNAME" = "TRUE";
  986. "HIS_WHOIS_IDLETIME" = "TRUE";
  987. "HIS_WHOIS_LOCALCHAN" = "TRUE";
  988. "HIS_WHO_SERVERNAME" = "TRUE";
  989. "HIS_WHO_HOPCOUNT" = "TRUE";
  990. "HIS_MODEWHO" = "TRUE";
  991. "HIS_BANWHO" = "TRUE";
  992. "HIS_KILLWHO" = "TRUE";
  993. "HIS_REWRITE" = "TRUE";
  994. "HIS_REMOTE" = "TRUE";
  995. "HIS_NETSPLIT" = "TRUE";
  996. "HIS_SERVERNAME" = "*.startech60serve.com";
  997. "HIS_SERVERINFO" = "Startech60Serve";
  998. "HIS_URLSERVERS" = "https://www.startech60serve.com/network/";
  999. # "URLREG" = "http://my.xyz.com/";
  1000. };
  1001.  
  1002. # Well, you have now reached the end of this sample configuration
  1003. # file. If you have any questions, feel free to mail
  1004. # <coder-com@undernet.org>. If you are interested in linking your
  1005. # server to the Undernet IRC network visit
  1006. # http://www.routing-com.undernet.org/, and if there are any
  1007. # problems then contact <routing-com@undernet.org> asking for
  1008. # information. Upgrades of the Undernet ircd can be found on
  1009. # http://coder-com.undernet.org/.
  1010. #
  1011. # For the rest: Good Luck!
  1012. #
  1013. # -- Niels.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement