Services.txt 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  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/>)
  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 & 2.x
  30. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  31. Anope 1.9.8 or later (<http://www.anope.org/>) can be used with ngIRCd using
  32. the "ngircd" protocol module.
  33. At least the following settings have to be tweaked, in addition to all the
  34. settings marked as required by Anope:
  35. In conf/services.conf:
  36. define
  37. {
  38. name = "services.host"
  39. value = "services.irc.net"
  40. }
  41. uplink
  42. {
  43. host = "server.irc.net"
  44. port = 6667
  45. password = "123abc"
  46. }
  47. # Load ngIRCd protocol module
  48. module
  49. {
  50. name = "ngircd"
  51. }
  52. networkinfo
  53. {
  54. # Must be set to the "MaxNickLength" setting of ngIRCd!
  55. nicklen = 9
  56. # When not using "strict mode", which is the default:
  57. userlen = 20
  58. chanlen = 50
  59. }
  60. In conf/nickserv.conf:
  61. module
  62. {
  63. name = "nickserv"
  64. # not required if you are running ngIRCd with a higher nickname limit
  65. # ("MaxNickLength") than 11 characters, but REQUIRED by default!
  66. guestnickprefix = "G-"
  67. }
  68. Setting up Atheme 7.0.2 or later
  69. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  70. Atheme 7.0.2 or later (<http://www.atheme.net>) may be used with ngIRCd using
  71. the "ngircd" protocol module.
  72. The following settings need to be in atheme.conf:
  73. loadmodule "modules/protocol/ngircd";
  74. uplink "server.irc.net" {
  75. password = "123abc";
  76. port = 6667;
  77. };
  78. The documentation of Atheme can be found in the doc/ directory of the
  79. Atheme source distribution.
  80. Setting up IRC Services 5.1.x
  81. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  82. IRC Services 5.1.3 and above can be used with ngIRCd using the "rfc1459"
  83. protocol module.
  84. Please note that versions up to and including 5.1.3 contain a bug that
  85. sometimes causes IRC Services to hang on startup. There are two workarounds:
  86. a) send the services process a HUP signal ("killall -HUP ircservices")
  87. b) apply this patch to the IRC Services source tree:
  88. <http://arthur.barton.de/pub/ngircd/contrib/IRCServices513-FlushBuffer.patch>
  89. At least the following settings have to be tweaked, in addition to all the
  90. settings marked as required by IRC Services:
  91. In ircservices.conf:
  92. Variable Example value
  93. RemoteServer server.irc.net 6667 "123abc"
  94. ServerName "services.irc.net"
  95. LoadModule protocol/rfc1459
  96. In modules.conf:
  97. Module protocol/rfc1459
  98. The documentation of IRC Services can be found here:
  99. <http://www.ircservices.za.net/docs/>