daily pastebin goal
72%
SHARE
TWEET

Untitled

a guest Jul 5th, 2012 9 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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.  
  7. [Global]
  8.  
  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.  
  13.         # Server name in the IRC network, must contain at least one dot
  14.         # (".") and be unique in the IRC network. Required!
  15.         Name = irc.debian.org
  16.  
  17.         # Info text of the server. This will be shown by WHOIS and
  18.         # LINKS requests for example.
  19.         Info = Box IRC Test Server
  20.  
  21.         # Global password for all users needed to connect to the server
  22.         ;Password = wealllikedebian
  23.  
  24.         # Information about the server and the administrator, used by the
  25.         # ADMIN command. Not required by server but by RFC!
  26.         AdminInfo1 = Box
  27.         AdminInfo2 = South Korea
  28.         AdminEMail = box@localhost
  29.  
  30.         # Ports on which the server should listen. There may be more than
  31.         # one port, separated with ",". (Default: 6667)
  32.         ;Ports = 6667, 6668, 6669
  33.         Ports = 6667
  34.  
  35.         # IP address on which the server should listen. (Default: empty,
  36.         # so the server listens on all IP addresses of the system)
  37.         ;Listen = 1.2.3.4
  38.  
  39.         # Text file with the "message of the day" (MOTD). This message will
  40.         # be shown to all users connecting to the server:
  41.         MotdFile = /etc/ngircd/ngircd.motd
  42.  
  43.         # A simple Phrase (<256 chars) if you don't want to use a motd file.
  44.         # If it is set no MotdFile will be read at all.
  45.         ;MotdPhrase = "Hello. This is the Debian default MOTD sentence"
  46.  
  47.         # Do NOT change this on Debian! It runs with the default user 'irc'
  48.         ;ServerUID = 65534
  49.         ;ServerGID = 65534
  50.         # Do NOT change this on Debian! The Initscript takes care of this file!
  51.         PidFile = /var/run/ngircd/ngircd.pid
  52.  
  53.         # After <PingTimeout> seconds of inactivity the server will send a
  54.         # PING to the peer to test whether it is alive or not.
  55.         PingTimeout = 120
  56.  
  57.         # If a client fails to answer a PING with a PONG within <PongTimeout>
  58.         # seconds, it will be disconnected by the server.
  59.         PongTimeout = 20
  60.  
  61.         # The server tries every <ConnectRetry> seconds to establish a link
  62.         # to not yet (or no longer) connected servers.
  63.         ConnectRetry = 60
  64.  
  65.         # Should IRC Operators be allowed to use the MODE command even if
  66.         # they are not(!) channel-operators?
  67.         OperCanUseMode = yes
  68.  
  69.         # Maximum number of simultaneous connection the server is allowed
  70.         # to accept (<=0: unlimited):
  71.         MaxConnections = 0
  72.  
  73.         # Maximum number of simultaneous connections from a single IP address
  74.         # the server will accept (<=0: unlimited):
  75.         MaxConnectionsIP = 3
  76.  
  77.         # Maximum number of channels a user can be member of (<=0: no limit):
  78.         MaxJoins = 0
  79.  
  80.         # Maximum length of an user nick name (Default: 9, as in RFC 2812).
  81.         # Please note that all servers in an IRC network MUST use the same
  82.         # maximum nick name length!
  83.         MaxNickLength = 31
  84.  
  85. [Operator]
  86.         # [Operator] sections are used to define IRC Operators. There may be
  87.         # more than one [Operator] block, one for each local operator.
  88.  
  89.         # ID of the operator (may be different of the nick name)
  90.         ;Name = TheOper
  91.  
  92.         # Password of the IRC operator
  93.         ;Password = ThePwd
  94.  
  95. [Server]
  96.         # Other servers are configured in [Server] sections. If you
  97.         # configure a port for the connection, then this ngircd tries to
  98.         # connect to to the other server on the given port; if not it waits
  99.         # for the other server to connect.
  100.         # There may be more than one server block.
  101.         #
  102.         # Server Groups:
  103.         # The ngIRCd allows "server groups": You can assign an "ID" to every
  104.         # server with which you want this ngIRCd to link. If a server of a
  105.         # group won't answer, the ngIRCd tries to connect to the next server
  106.         # in the given group. But the ngircd never tries to connect to two
  107.         # servers with the same group ID.
  108.  
  109.         # IRC name of the server
  110.         ;Name = irc2.debian.org
  111.  
  112.         # Internet host name of the peer
  113.         ;Host = connect-to-host.the.net
  114.  
  115.         # Port of the server to which the ngIRCd should connect. If you
  116.         # assign no port the ngIRCd waits for incoming connections.
  117.         ;Port = 6666
  118.  
  119.         # Own password for the connection. This password has to be configured
  120.         # as "PeerPassword" on the other server.
  121.         ;MyPassword = MySecret
  122.  
  123.         # Foreign password for this connection. This password has to be
  124.         # configured as "MyPassword" on the other server.
  125.         ;PeerPassword = PeerSecret
  126.  
  127.         # Group of this server (optional)
  128.         ;Group = 123
  129.  
  130. [Channel]
  131.         # Pre-defined channels can be configured in [Channel] sections.
  132.         # Such channels are created by the server when starting up and even
  133.         # persist when there are no more members left.
  134.         # Persistent channels are marked with the mode 'P', which can be set
  135.         # and unset by IRC operators like other modes on the fly.
  136.         # There may be more than one [Channel] block.
  137.  
  138.         # Name of the channel
  139.         ;Name = #ngircd
  140.  
  141.         # Topic for this channel
  142.         ;Topic = Our ngircd testing channel
  143.  
  144.         # Initial channel modes
  145.         ;Modes = tn
  146.  
  147. # -eof-
RAW Paste Data
Pastebin PRO WINTER Special!
Get 40% OFF Pastebin PRO accounts!
Top