ngircd.conf 4.6 KB

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