Services.txt 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. ngIRCd - Next Generation IRC Server
  2. http://ngircd.barton.de/
  3. (c)2001-2011 Alexander Barton and Contributors.
  4. ngIRCd is free software and published under the
  5. terms of the GNU General Public License.
  6. -- Services.txt --
  7. ngIRCd doesn't implement a "special IRC services interface", but services
  8. acting as a "regular servers" ("pseudo servers") are supported, either
  9. using the IRC protocol as defined in RFC 1459 or RFC 2812.
  10. Support for Services has been tested using
  11. - Anope 1.9.8 or later (<http://www.anope.org/>; unreleased!)
  12. - Atheme 7.0.2 or later (<http://www.atheme.net>)
  13. - "IRC Services" 5.1.x by Andrew Church (<http://achurch.org/services/>)
  14. This document describes setting up ngIRCd and these services.
  15. Please let us know if you are successfully using other IRC service packages or
  16. which problems you encounter -- thanks!
  17. Setting up ngIRCd
  18. ~~~~~~~~~~~~~~~~~
  19. The "pseudo server" handling the IRC services is configured as a regular
  20. remote server in the ngircd.conf(5). In addition the variable "ServiceMask"
  21. should be set, enabling this ngIRCd to recognize the "pseudo users" as IRC
  22. services instead of regular IRC users.
  23. Example:
  24. [SERVER]
  25. Name = services.irc.net
  26. MyPassword = 123abc
  27. PeerPassword = 123abc
  28. ServiceMask = *Serv
  29. Setting up Anope 1.9.x
  30. ~~~~~~~~~~~~~~~~~~~~~~
  31. Anope 1.9.8 or later (<http://www.anope.org/>; unreleased as of 2012-11-10)
  32. may be used with ngIRCd using the "ngircd" protocol module.
  33. Until Anope 1.9.8 is released, you have to use the sources from the Anope
  34. development GIT tree, see <http://sourceforge.net/projects/anope/develop/>!
  35. At least the following settings have to be tweaked, in addition to all the
  36. settings marked as required by Anope:
  37. In conf/services.conf:
  38. define
  39. {
  40. name = "services.host"
  41. value = "services.irc.net"
  42. }
  43. uplink
  44. {
  45. host = "server.irc.net"
  46. port = 6667
  47. password = "123abc"
  48. }
  49. # Load ngIRCd protocol module
  50. module { name = "ngircd" }
  51. networkinfo
  52. {
  53. # Must be set to the "MaxNickLength" setting of ngIRCd!
  54. nicklen = 9
  55. chanlen = 50
  56. }
  57. In conf/nickserv.conf:
  58. nickserv
  59. {
  60. # not required if you are running ngIRCd with a higher nickname limit
  61. # ("MaxNickLength") than 11 characters, but REQUIRED by default!
  62. guestnickprefix = "G-"
  63. }
  64. Setting up Atheme 7.0.2 or later
  65. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  66. Atheme 7.0.2 or later (<http://www.atheme.net>) may be used with ngIRCd using
  67. the "ngircd" protocol module.
  68. The following settings need to be in atheme.conf:
  69. loadmodule "modules/protocol/ngircd";
  70. uplink "server.irc.net" {
  71. password = "123abc";
  72. port = 6667;
  73. };
  74. The documentation of Atheme can be found in the doc/ directory of the
  75. Atheme source distribution.
  76. Setting up IRC Services 5.1.x
  77. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  78. IRC Services 5.1.3 and above can be used with ngIRCd using the "rfc1459"
  79. protocol module.
  80. Please note that versions up to and including 5.1.3 contain a bug that
  81. sometimes causes IRC Services to hang on startup. There are two workarounds:
  82. a) send the services process a HUP signal ("killall -HUP ircservices")
  83. b) apply this patch to the IRC Services source tree:
  84. <ftp://ngircd.barton.de/ngircd/contrib/IRCServices513-FlushBuffer.patch>
  85. At least the following settings have to be tweaked, in addition to all the
  86. settings marked as required by IRC Services:
  87. In ircservices.conf:
  88. Variable Example value
  89. RemoteServer server.irc.net 6667 "123abc"
  90. ServerName "services.irc.net"
  91. LoadModule protocol/rfc1459
  92. In modules.conf:
  93. Module protocol/rfc1459
  94. The documentation of IRC Services can be found here:
  95. <http://www.ircservices.za.net/docs/>