ngircd.conf 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. #
  2. # This is only a sample configuration for Debian
  3. # written by Mario Iseli
  4. #
  5. # The original can be found at:
  6. # /usr/share/ngircd/examples/sample-ngircd.conf
  7. #
  8. [Global]
  9. # The [Global] section of this file is used to define the main
  10. # configuration of the server, like the server name and the ports
  11. # on which the server should be listening.
  12. # Server name in the IRC network, must contain at least one dot
  13. # (".") and be unique in the IRC network. Required!
  14. Name = irc.debian.org
  15. # Info text of the server. This will be shown by WHOIS and
  16. # LINKS requests for example.
  17. Info = Yet another IRC Server running on Debian GNU/Linux
  18. # Global password for all users needed to connect to the server
  19. ;Password = wealllikedebian
  20. # Information about the server and the administrator, used by the
  21. # ADMIN command. Not required by server but by RFC!
  22. AdminInfo1 = Debian User
  23. AdminInfo2 = Debian City
  24. AdminEMail = root@localhost
  25. # Ports on which the server should listen. There may be more than
  26. # one port, separated with ",". (Default: 6667)
  27. Ports = 6667, 6668, 6669
  28. # IP address on which the server should listen. (Default: empty,
  29. # so the server listens on all IP addresses of the system)
  30. ;Listen = 1.2.3.4
  31. # Text file with the "message of the day" (MOTD). This message will
  32. # be shown to all users connecting to the server:
  33. MotdFile = /etc/ngircd/ngircd.motd
  34. # A simple Phrase (<256 chars) if you don't want to use a motd file.
  35. # If it is set no MotdFile will be read at all.
  36. ;MotdPhrase = "Hello. This is the Debian default MOTD sentence"
  37. # Do NOT change this on Debian! It runs with the default user 'irc'
  38. ;ServerUID = 65534
  39. ;ServerGID = 65534
  40. PidFile /var/run/ngircd/ngircd.pid
  41. # After <PingTimeout> seconds of inactivity the server will send a
  42. # PING to the peer to test whether it is alive or not.
  43. PingTimeout = 120
  44. # If a client fails to answer a PING with a PONG within <PongTimeout>
  45. # seconds, it will be disconnected by the server.
  46. PongTimeout = 20
  47. # The server tries every <ConnectRetry> seconds to establish a link
  48. # to not yet (or no longer) connected servers.
  49. ConnectRetry = 60
  50. # Should IRC Operators be allowed to use the MODE command even if
  51. # they are not(!) channel-operators?
  52. OperCanUseMode = yes
  53. # Maximum number of simultaneous connection the server is allowed
  54. # to accept (<=0: unlimited):
  55. MaxConnections = 500
  56. # Maximum number of simultaneous connections from a single IP address
  57. # the server will accept (<=0: unlimited):
  58. MaxConnectionsIP = 10
  59. # Maximum number of channels a user can be member of (<=0: no limit):
  60. MaxJoins = 10
  61. [Operator]
  62. # [Operator] sections are used to define IRC Operators. There may be
  63. # more than one [Operator] block, one for each local operator.
  64. # ID of the operator (may be different of the nick name)
  65. ;Name = TheOper
  66. # Password of the IRC operator
  67. ;Password = ThePwd
  68. [Server]
  69. # Other servers are configured in [Server] sections. If you
  70. # configure a port for the connection, then this ngircd tries to
  71. # connect to to the other server on the given port; if not it waits
  72. # for the other server to connect.
  73. # There may be more than one server block.
  74. #
  75. # Server Groups:
  76. # The ngIRCd allows "server groups": You can assign an "ID" to every
  77. # server with which you want this ngIRCd to link. If a server of a
  78. # group won't answer, the ngIRCd tries to connect to the next server
  79. # in the given group. But the ngircd never tries to connect to two
  80. # servers with the same group ID.
  81. # IRC name of the server
  82. ;Name = irc2.debian.org
  83. # Internet host name of the peer
  84. ;Host = connect-to-host.the.net
  85. # Port of the server to which the ngIRCd should connect. If you
  86. # assign no port the ngIRCd waits for incoming connections.
  87. ;Port = 6666
  88. # Own password for the connection. This password has to be configured
  89. # as "PeerPassword" on the other server.
  90. ;MyPassword = MySecret
  91. # Foreign password for this connection. This password has to be
  92. # configured as "MyPassword" on the other server.
  93. ;PeerPassword = PeerSecret
  94. # Group of this server (optional)
  95. ;Group = 123
  96. [Channel]
  97. # Pre-defined channels can be configured in [Channel] sections.
  98. # Such channels are created by the server when starting up and even
  99. # persist when there are no more members left.
  100. # Persistent channels are marked with the mode 'P', which can be set
  101. # and unset by IRC operators like other modes on the fly.
  102. # There may be more than one [Channel] block.
  103. # Name of the channel
  104. Name = #ngircd
  105. # Topic for this channel
  106. ;Topic = Our ngircd testing channel
  107. # Initial channel modes
  108. Modes = tn
  109. # -eof-