home *** CD-ROM | disk | FTP | other *** search
/ Magazyn Exec 5 / CD_Magazyn_EXEC_nr_5.iso / Programy / Internet / IRC / UnrealIRCd-bin.lha / Unreal / doc / conf.doc < prev    next >
Encoding:
Text File  |  2000-05-28  |  71.8 KB  |  1,763 lines

  1. Originally by Roddy Vagg -- roddy@dal.net
  2. modified for UnrealIRCD3.1 by codemastr
  3.  
  4. --------------------
  5.  
  6.     1) ............................. Introduction
  7.     2) ............................. ircd.conf Basics
  8.     3) ............................. ircd.conf Lines
  9.      3.1) .......................... M Lines
  10.      3.2) .......................... A Lines
  11.      3.3) .......................... Y Lines
  12.      3.4) .......................... I Lines
  13.      3.5) .......................... O Lines
  14.      3.6) .......................... U Lines
  15.      3.7) .......................... C and N Lines
  16.      3.8) .......................... K Lines
  17.      3.9) .......................... q Lines (server form)
  18.      3.10) ......................... Q Lines (nickname form)
  19.      3.11) ......................... L Lines
  20.      3.12) ......................... H Lines
  21.      3.13) ......................... P Lines
  22.      3.14) ......................... T Lines
  23.      3.15) ......................... E Lines
  24.      3.16) ......................... e Lines
  25.      3.17) ......................... Summary
  26.     4) ............................. dccdeny.conf
  27.      4.1) .......................... deny Lines 
  28.     5) ............................. chrestrict.conf
  29.      5.1) .......................... msg Lines
  30.      5.2) .......................... allow Lines
  31.     6) ............................. vhost.conf
  32.      6.1) .......................... vhost Lines
  33.     7) ............................. unrealircd.conf
  34.      7.1) .......................... Include Line
  35.      7.2) .......................... Set KLINE_ADDRESS Line
  36.      7.3) .......................... Set MODE_X Line
  37.      7.4) .......................... Set MODE_I Line
  38.      7.5) .......................... Set TRUEHUB Line
  39.      7.6) .......................... Set CONFIG_FILE_STOP Line
  40.      7.7) .......................... Set SHOWOPERS Line
  41.      7.8) .......................... Set KILLDIFF Line
  42.      7.9) .......................... Set SHOWOPERMOTD Line
  43.      7.10).......................... Set HIDE_ULINES Line
  44.        7.11).......................... Set ALLOW_CHATOPS Line
  45.        7.12).......................... Set SOCKS_BAN_MESSAGE Line
  46.        7.13).......................... Set SOCKS_QUIT_MESSAGE Line
  47.        7.14).......................... Set SOCKSBANTIME Line
  48.        7.15).......................... Set MAXCHANNELSPERUSER Line
  49.        7.16).......................... Set WEBTV_SUPPORT Line
  50.        7.17).......................... Set NO_OPER_HIDING Line
  51.      7.18) ......................... Set AUTO_JOIN_CHANS Line
  52.     8) ............................. network files
  53.      8.1) .......................... Network Line
  54.      8.2) .......................... Set ircnetwork Line
  55.      8.3) .......................... Set defserver Line
  56.      8.4) .......................... Set SERVICES_NAME Line
  57.      8.5) .......................... Set oper_host Line
  58.      8.6) .......................... Set admin_host Line
  59.      8.7) .......................... Set locop_host Line
  60.      8.8) .......................... Set sadmin_host Line
  61.      8.9) .......................... Set netadmin_host Line
  62.      8.10) ......................... Set coadmin_host Line
  63.      8.11) ......................... Set techadmin_host Line
  64.      8.12) ......................... Set hidden_host Line
  65.      8.13) ......................... Set netdomain Line
  66.      8.14) ......................... Set helpchan Line
  67.      8.15) ......................... Set STATS_SERVER Line
  68.      8.16) ......................... Set HUB Line
  69.      8.17) ......................... Set iHAN Line
  70.      8.18) ......................... Set net_quit Line
  71.  
  72. --------------------
  73.  
  74. 1) Introduction:
  75.  
  76.   If you are running, or planning on running an IRC server for a network,
  77.  you will need to setup an ircd.conf, your ircd.conf must meet the
  78.  requirements of a linked network server which means it must contain all
  79.  the standard network lines, these will be listed at the bottom of this
  80.  document. (If you make your own network you may customize them yourself)
  81.  
  82. --------------------
  83.  
  84. 2) ircd.conf Basics:
  85.  
  86.   When you compile your server, you must specify the correct paths to
  87.  where you plan on keeping your ircd.conf, for simplicity it is recommended
  88.  that you keep it in the same directory as your ircd binary and other ircd
  89.  files.
  90.    note: You need only supply full pathnames for DPATH and SPATH, the
  91.  other defines will only point to files under these directories so you
  92.  need not put full path names.
  93.   For security reasons, your ircd.conf should have permissions set to 600,
  94.  if other users on your system gain access to view the file they may be
  95.  able to breach the security of your server and compromise the whole
  96.  network.
  97.   When you have made your ircd.conf you may check it with the program
  98.  `chkconf', this program is supplied with the source code release and will
  99.  be installed into your ircd directory when you run `make install',
  100.  `chkconf' will check your ircd.conf for errors so is a useful tool for
  101.  beginners to ircd.conf.
  102.   Your ircd.conf will be made up of a series of lines, each line is used
  103.  for a different purpose in the running of your server, some lines are
  104.  mandatory for ircd, so you must enter these lines or your server will not
  105.  start, these lines are listed below.
  106.   You may enter comments in your ircd.conf with the use of a hash mark (#)
  107.  at the beginning of a line, it is recommended that you make full use of
  108.  this to add comments to everything you put in your ircd.conf so you don't
  109.  have any problems later.
  110.    eg: Put a contact email address and the name/nick of the server admin
  111.        above each C/N line pair.
  112.   When ircd reads the ircd.conf file, it does it upside down, so lines with
  113.  higher preference should go lower in the file, this will be explained later.
  114.  
  115. --------------------
  116.  
  117. 3) ircd.conf Lines:
  118.  
  119.   Each type of line in this section will be given a rating of how needed
  120.   it is in the running of the server, the ratings are:
  121.  
  122.      MANDATORY: you absolutely MUST have this line
  123.      NETWORKED: you must have this line if plan on connecting your server
  124.                 to other servers. (note: you can run ircd stand alone)
  125.      SUGGESTED: it is highly suggested that you use this line
  126.       OPTIONAL: it's completely up to you whether to define this or not
  127.    DISCOURAGED: you really should not use this line if at all
  128.                 possible.
  129.  
  130.   Note that "*" in a field indicates an "unused" field.
  131.  
  132. --------------------
  133.  
  134. 3.1) M Lines: [MANDATORY]
  135.  
  136.  This line sets your server's name, description, and port number.
  137.  The standard port number used by most networks and supported by most clients is     
  138.  6667. It is recommended that you specify this as your main port.
  139.  
  140.  
  141.  Syntax:
  142. M:hostname:IP:Description Of Your Server:6667
  143.  The 1st field should be the `real' name of your server, not the short
  144.  name.
  145.  The 2nd field is the IP the server should bind to. Use an "*" to bind to all interfaces on the server. The 3rd field is your server's description, it is up to you what you put in this field, but a short description of its geographic location is recommended. The 4th field is the port number you compiled ircd with. This generally should be 6667.
  146.  
  147.  Example:
  148. M:Irc.yournet.com::My first IRC server:6667
  149.  
  150. --------------------
  151.  
  152. 3.2) A Lines: [MANDATORY]
  153.  
  154.  This line sets your server's administrative information.
  155.  Whenever a user types /admin on your server (or /admin <servername>)
  156.  they will recieve the information you put here.
  157.  This line has no set information, so you may put arbitrary text if you
  158.  like, but it is recomended that you at least put your nick and email
  159.  address so users may contact you if need be.
  160.  
  161.  Syntax:
  162. A:A little info about your server:Admin's nick/real name:contact address
  163.  There is no fixed standard, so you may put whatever you like in each
  164.  field, but you should put enough information for users to contact someone
  165.  responsible for the server.
  166.  
  167.  Example:
  168. A:FooBar IRC Server:Admin - foobar:email - foo@bar.com
  169.  
  170. --------------------
  171.  
  172. 3.3) Y Lines: [SUGGESTED]
  173.  
  174.  These lines define connection classes. They allow you to fine-tune
  175.  your incomming and outgoing connections, both server and client types.
  176.  These classes are for use with C, N, I and O lines, more on this in later
  177.  sections. Client and server connection classes are your responsibility, you   
  178.  must make up your own set of Y lines for client connections based on your own
  179.  situation (netwise location, machine, etc).
  180.  Connection classes define a number of parameters for connections, these
  181.  include:
  182.   o Ping frequency of a silent connection.
  183.   o Connect frequency (for server connections only!).
  184.   o Maximum number of links allowed on the specific connection class.
  185.   o Maximum sendq allowed for the connection before it is dropped.
  186.  Your Y line numbers are not arbitraty. For server connection classes, the
  187.  higher the class number, the higher the priority the connection's are given
  188.  when auto-connecting, (see C/N lines below).
  189.  - Ping frequency: When a connection is silent for this period of time
  190.  the server will send a PING to the connection, if the client/server
  191.  on the connection does not reply after a set period of time, the
  192.  connection will be dropped. A value in this field will override the
  193.  ping frequency defined at compile time in your config.h. For server
  194.  connection classes, you should have the same ping frequency on both ends
  195.  of the link, so you should stick with the standard DALnet classes.
  196.  - Connect frequency: Since clients connect to servers and NOT the other
  197.  way around, only server connection classes need to have a connect
  198.  frequency. Client classes should have this field set to 0. When a server
  199.  listed in the server's ircd.conf (see C/N lines) is missing and belongs
  200.  on a conenction class that is holding less connections that defined by
  201.  the max links field, the server will keep on trying to connect to
  202.  the missing server. The amount time between connection attempts is what
  203.  you define in this field.
  204.   example:
  205.    server1 and server2 are listed in server0's ircd.conf but the only
  206.    visible server to server0 is server1, both server1 and server2 are
  207.    in server0's ircd.conf on the same connection class that allows for `2'
  208.    links, server0 will go looking for server2 and try to connect to
  209.    it each `connect frequency' seconds until the server becomes visible
  210.    again, either by direct connection to server0, or by connection to server1
  211.  - Maximum number of links: Each Y line should have a restriction on the number
  212.  of connections allowed on the class. For client connections, when the limit
  213.  is reached on a particular class, connecting clients trying to connect
  214.  through this class are rejected. A server connecting on a `full' connection
  215.  class will be allowed as this number on server connection classes is used for
  216.  auto-connect purposes. As shown in the above example, when a missing server
  217.  is listed for a particular connection class, and the class is not `full',
  218.  your server will try and connect to this server until it becomes visible
  219.  again. Servers being connected manually on a `full' connection class via the
  220.  /connect command will be allowed as long as you compiled with MAXIMUM_LINKS
  221.  high enough to accommodate all of your server connections. (you must compile
  222.  as a HUB if you wish to hold more than one server connection, also see H
  223.  lines later in this document).
  224.  - Maximum sendq: SendQ defines the `que' of data waiting to be sent to the
  225.  client/server on the other end of the connection. SendQ's will build up if
  226.  the client requests more data than the link can handle, say if they issue the
  227.  /list command on a network with a lot of channels and they are only on a
  228.  14.4K link, their sendq on the server will build up as all the data cannot
  229.  be sent at once, the sendq size will decrease as the data is sent, and
  230.  increase as more data is requested. Clients will normally sit with a sendq of
  231.  0, it is `abnormal' for a sendq to be high for a client for a long period
  232.  of time. When 2 servers connect, they must send their own data to
  233.  eachother, this data includes: all the users on the server and already
  234.  connected servers, channels, user modes, channel modes, topics 
  235.  etc. When there are many clients on a particular side of the connection, a
  236.  sendq will build up, especially if the link is slow, or already congested
  237.  (example: the link from Australia to the US). When the sendq built up reaches
  238.  the max sendq defined in the connection class for the particular
  239.  client/server, the connection will be dropped. If max sendq's are
  240.  particularly high, it will allow clients/server to take up excess memory on
  241.  the ircd machine so a limit should be placed, especially on client connection
  242.  classes. (IMPORTANT!) If any value of max sendq defined in a connection
  243.  class exceeds the value defined at compile time in your config.h, the sendq
  244.  value will default back to the compile time sendq. If your sendq field in
  245.  a Y line is empty, the class will use the default defined in your config.h
  246.  SendQ's for all connections on your server can be viewed with the
  247.   /stats l <servername>
  248.  command, this will show information for all your server's current links.
  249.  You should have a set of standard server connection classes, at least one
  250.  client connection class, and an Operator class. (see relevant parts of this
  251.  document for notes on each of these)
  252.  
  253.  Syntax:
  254. Y:Class #:Ping frequency:Connect frequency:Max links:Max sendq
  255.  
  256.  Examples:
  257. Y:1:90:0:20:10000
  258.  In this case, connect-frequency is 0 indicating that this is a client
  259.  class (servers never connect to clients, it is the other way around).
  260.  Clients may only idle for 90 seconds before being pinged by the server.
  261.  The number of clients allowed to use this class is 20.
  262.  Clients may only build up a sendq on the server of 10000 bits.
  263.  
  264.  These are some standard Y:lines that most networks use:
  265.  
  266. # Connecting a hub to a hub
  267. Y:20:10:300:1:3000000
  268. # Connecting a US hub to a US leaf
  269. Y:30:45:0:0:2000000
  270. # Connecting a US leaf to a US hub
  271. Y:35:45:20:1:2000000
  272. # Connecting a US hub to an EU leaf
  273. Y:40:60:0:0:2200000
  274. # Connecting an EU leaf to a US hub
  275. Y:45:60:20:1:2200000
  276. # Connecting a US hub to an AU leaf
  277. Y:42:240:0:0:2200000
  278. # Connecting an AU leaf to a US hub
  279. Y:43:240:60:1:2200000
  280. # Oper connection class
  281. Y:10:300:0:20:1000000
  282. #User connection class
  283. Y:1:90:0:256:500000
  284.  
  285. --------------------
  286.  
  287. 3.4) I Lines: [MANDATORY]
  288.  
  289.  These lines are the ones initially responsible for letting clients connect
  290.  to your server. So called `client-authorization' lines, they define who
  291.  may connect, and which connection class they will connect through.
  292.  I lines, like C, N and O lines refer back to Y lines, as they allow
  293.  connections, and each connection to ircd needs to be assigned to a
  294.  connection class. If you don't provide a connection class, the connection
  295.  will be governed by the defaults set at compile time in your config.h.
  296.  When a client connects to the server, it gives its own information,
  297.  this information includes username, nick and can include a password, the
  298.  server then goes through its client-authorization rules (I lines) to see
  299.  if the client fits any of the connection criteria.
  300.  The rules for connection on the I lines are read from right to left, so
  301.  if a connection is made, it is made on the right most rule it matches on
  302.  the line. Also, since the ircd.conf is read upside down, the server will
  303.  put the client on the lowest I line matching the client information. This
  304.  means that if the 1st rule the client can connect on matches a connection
  305.  class (Y line) that is `full' (see above), the client will be rejected,
  306.  even if there is a line further up in the file that the client matches on
  307.  that uses a connection class that has room for more clients. This means
  308.  that I lines may be used in much the same fashion as K lines (see later)
  309.  to block certain clients. It also means that you may place certain clients
  310.  on many different connection classes. (examples later)
  311.  
  312.  Syntax:
  313. I:IP-address-mask:optional password:host/domain-mask::connection class (opt)
  314.  Wildcards (`*') may be used in the mask fields (1 and 3) to allow for
  315.  very broad connection rules. Ident (for more information on this, see
  316.  rfc1413) can also be used by placing an `@' in the mask fields in the
  317.  appropriate positions. If you don't want to use ident, only give the
  318.  host/IP part of the connecting addresses, if you add a @ (usually used
  319.  as *@), ircd will try and use ident to check the real username of the
  320.  client, any connecting clients on host's that are running ident that
  321.  give usernames that dont match those found by ircd will be rejected by
  322.  the server. If the host is not running ident, a `~' will be placed in
  323.  front of the username of the connecting client to show that the its
  324.  host isnt running ident.
  325.  
  326.  Examples:
  327.  
  328. I:*@*:foobar:*@*::1
  329.  This line will allow anyone from any host that uses the password
  330.  "foobar" to connect through connection class 1 (Y line 1), the server
  331.  will also try and use ident to verify the username of the client.
  332.  Placed at the top of the I lines in your ircd.conf, this line may serve
  333.  as a fall-through for connecting clients, any client that does not match
  334.  any other I line but gives the password "foobar" will be able to connect
  335.  through this line (If Y line 1 has space).
  336.  
  337. I:205.133.*::*.toledolink.com::1
  338.  This is a standard vanilla I: line which will permit anyone with an IP
  339.  address starting with 205.133 OR with a hostname ending in
  340.  .toledolink.com to connect to the server. remember, ircd uses the
  341.  right-most match, so if I connect as rmiller@glass.toledolink.com
  342.  (which is rmiller@205.133.127.8) I will show up on IRC as
  343.  rmiller@glass.toledolink.com since that is the first match it found.
  344.  (Even though the second match is valid). Any clients coming through
  345.  on this line will use connection class 1.
  346.  
  347. I:*@205.133.*::*@*.toledolink.com::1
  348.  Same as above, but the server will use ident. You may even specify
  349.  certain usernames with ident I lines, but they will only match if their
  350.  host is running ident.
  351.  
  352. I:NOMATCH::rmiller@glass.toledolink.com::1
  353.  Putting NOMATCH in the first field will stop the ircd from matching
  354.  automatically against the IP address and it will force the server to
  355.  match against the hostname. (the "NOMATCH" string is not mandatory, you
  356.  can use any arbitrary text in the first field).
  357.  
  358. I:*@*:ONE:*@*.com::1
  359.  Putting ONE is the second field says that only one user may connect through the 
  360.  use of this I:line. Once that one user is connected this I:line is ignored by 
  361.  other users.
  362.  
  363.  Bulk example:
  364. I:NOMATCH::*@*::1
  365. I:NOMATCH::*@*.fr::2
  366. I:NOMATCH::*@*.de::3
  367. I:NOMATCH::*@*.se::4
  368. I:NOMATCH::*@*.au::5
  369. I:129.180.*::*.une.edu.au::6
  370.  In this example, connecting clients will 1st be matched against the mask
  371.  *.une.edu.au, if they match they will be placed on connection class 6
  372.  (note: if 6 is full, they will be rejected, they wont be passed on to the
  373.  next I line), then tried against the IP 129.180.*, if they match, they will
  374.  be placed on class 6. If the client doesn't match either of these masks, they
  375.  will be tried against the mask *.au, so if they are from Australia, but are
  376.  not from *.une.edu.au they will be placed on class 5. This goes on through
  377.  the other lines, being placed on the various connection classes if they match
  378.  any of the indicated host masks, if the client is not from the IP 129.180.*,
  379.  Australia, Sweden, Germany or France, they will be connected through the
  380.  final (top) I line as it serves as a fall-through, so these clients will be
  381.  put on class 1.
  382.  
  383. --------------------
  384.  
  385. 3.5) O Lines: [OPTIONAL]
  386.  
  387.  These lines provide rules as to who may gain Operator status on your server.
  388.  O lines are much like I lines in their operation and syntax.
  389.  Servers need not have any Operators as ircd, given well defined connection's
  390.  can perform all of its functions automatically. Server admin's have the
  391.  ability to `kill -HUP' the server's PID to rehash the config file, removing
  392.  the need to use the /rehash command. However, an efficient network needs  
  393.  operators to oversee the users of the server, and make sure
  394.  users actually enjoy their time on IRC without being continually harassed
  395.  etc by troublemakers.
  396.  O lines give users power over the whole network, to use commands
  397.  such as /kill, local Operators only have power on their local server, that
  398.  is, the server where they can use the /oper command to make themselves +o.
  399.  Abilities of Operators and Local Operators can be defined in your config.h.
  400.  When a user issues the /oper command to the server, the server will search
  401.  through all listed O lines for a match of the user's mask, much the same way
  402.  as I lines. As with I lines, you may specify the use of ident by placing an
  403.  `@' in the appropriate positions.
  404.  
  405.  Syntax:
  406.  
  407. O:hostname:password:nickname:flags:class
  408.  See I lines for rules about the hostname and using ident.
  409.  If you use ident, a client matching the hostname must have ident running on
  410.  their host to be able to +o themselves.
  411.  If you compiled defining oper passwords to be crypted, you must 1st crypt
  412.  the plain text using mkpasswd, a program supplied with the ircd distribution.
  413.  See src/crypt/README for more information on this.
  414.  The nickname is the nickname they must pass with the /oper command
  415.   ie:
  416.    /oper <nickname> <password>
  417.  The flags allow you to specify what access an oper will have with great  
  418.  control. This also allows you to give users Administrator access on your  
  419.  server. A set of standard FULL ACCESS flags is OaARDNz*^. See below for a 
  420.  complete list of flags.
  421.  
  422.  The class is the connection class to be used when the user /oper's using
  423.  the O line, they connect using the standard I -- Y lines, but when they
  424.  /oper successfully they are passed across to the new Y line.
  425.  
  426.  Examples:
  427.  
  428. O:RIP.org:waltspass:Walt:OaARD:10
  429.  This line will allow anyone on the host RIP.org (running ident or not) to
  430.  issue the command `/oper Walt waltspass', at which point they will be moved
  431.  over to class 10 and be made an Admin with /restart and /die access.
  432.  
  433.  Valid Flags: 
  434. r = access to /rehash server
  435. R = access to /restart server
  436. D = access to /die server
  437. h = oper can send /help ops
  438. g = oper can send /globops
  439. w = oper can send /wallops
  440. l = oper can send /locops
  441. c = access to do local /squits and /connects
  442. L = access to do remote /squits and /connects
  443. k = access to do local /kills
  444. K = access to do global /kills
  445. b = oper can /kline users from server
  446. B = oper can /unkline users from server
  447. n = oper can send local server notices(/notice $servername message)
  448. G = oper can send global server notices(/notce $*.my.net message)
  449. S = oper can join unlimited amount of channels
  450. A = admin
  451. u = oper can set /umode +c
  452. f = oper can set /umode +f
  453. ^ = oper can set /umode +I
  454. e = oper can set /umode +e
  455. W = oper can set /umode +W
  456. H = oper gets auto +x on /oper
  457. o = local oper, flags included: rhgwlckbBnuf
  458. O = global oper, flags included: oRDCK
  459. a = services admin, access to /samode
  460. C = co admin
  461. T = tech admin
  462. A = admin
  463. N = network admin access to remote /rehash and remote /restart and a bunch more
  464. * = flags included: AaNCTzSHW^
  465. --------------------
  466.  
  467. 3.6) U Lines: [OPTIONAL]
  468.  
  469.  These lines define which server(s) on the network your server is connected
  470.  to will be able to `hack' channel modes.
  471.  On most networks, services are given this power, this allows the server
  472.  to change modes on channels without being a channel operator, the
  473.  commonly used form is ChanServ changing channel modes while not in the
  474.  channels.
  475.  It is very important that you add the U:lines required by your network, because 
  476.  if you don't it can lead to desync in channel modes as well as "mode setting 
  477.  wars".
  478.  U lined servers also have the capability to add Akill's to your server,
  479.  Akill's are much the same as the /kline command except that they show up
  480.  as A: lines on /stats k.
  481.  
  482.  Syntax:
  483. U:servername:*:*
  484.  The last 2 fields are currently unused so you only need to give the U
  485.  lined server's name.
  486.  
  487.  Example:
  488. U:services.your.net:*:*
  489.  This will allow services.your.net to "hack" channel modes and use certain 
  490.  U:line only commands.
  491.  
  492. --------------------
  493.  
  494. 3.7) C and N Lines [NETWORKED]
  495.  
  496.  These lines are always used in pairs, one will not work without the other.
  497.  C lines define who your server may connect to, while N lines define what
  498.  servers may connect to you.
  499.  When two servers connect, they both send each other the `SERVER' command,
  500.  this command contains the server name and server info (set by M lines)
  501.  along with this command is sent a password with the PASS command, C and N
  502.  lines provide a set of rules governing the connection between servers
  503.  given the details of the server and pass command's.
  504.  When one a server initiates the connection, the other server will check
  505.  the details of the incoming server against its N lines, if a match is
  506.  found, the server will return the server and pass command's to the
  507.  initiating server, which will also check its N lines for a match.
  508.  For a server to initiate a connection, it must have a C line. C lines
  509.  tell the server where to go to make the connection and what to send for
  510.  the pass command.
  511.  What this all means is that for two servers to make a complete connection,
  512.  they must have both C and N lines to refer to for the other server.
  513.  
  514.  Syntax:
  515. C:remote server's hostname/IP:password:remote server's name:port:class
  516. N:remote server's hostname/IP:password:remote server's name:host mask:class
  517.  The remote server's hostname/IP should be the location on the internet that
  518.  the server can be found. IP addresses are preferred as they are more secure,
  519.  and can be a little quicker for the server. As with I and O lines, ident
  520.  can be used with this 1st field to specify the username the ircd on the
  521.  remote server is running from (if the remote server is running ident), to
  522.  use ident with C/N lines, place the username with an @ before the hostname.
  523.  The password should be crypted if you compile ircd specifying that link
  524.  passwords should be crypted. Your link passwords should be very secure, as
  525.  they provide more power, if hacked, than Operator passwords do. However
  526.  crypted link passwords can be very awkward to keep track of.
  527.  Your C line password is the password used in the pass command, while your
  528.  N line password will be used to check against the pass command used by
  529.  incoming servers. So, your C line password should match the listed
  530.  server's N line password, and your N line password should match their C
  531.  line password.
  532.  If you compile your ircd specifying crypted link passwords, you only need
  533.  to crypt your N line passwords, use the same method as with O line
  534.  passwords. If you crypt your C line passwords, your link will not work!
  535.  Crypted passwords are a one sided affair, because one server crypts its
  536.  N line passwords does not mean the connecting servers must crypt their
  537.  C line passwords for that server.
  538.  For the 3rd field, the remote servers `name' should be used, this name is
  539.  the one given in that servers M line (see above). This name will be sent
  540.  with the SERVER command, so it must match the one given. The C and N line
  541.  pair should have the same name for this field.
  542.  The 4th field of C lines may contain the remote servers connection port.
  543.  It is not mandatory that you place a port number in this field. If you don't  
  544.  give a port number, the server will not try and autoconnect to the listed 
  545.  server. If you do give a port number, the server will only try and
  546.  autoconnect to the listed server if there is enough room on the connection
  547.  class listed at the end of the C line (connection classes are covered in
  548.  more detail above, under Y lines), and the listed server is not visible
  549.  (ie: it is not connected to the network). If you don't give a port number,
  550.  any /connect commands for this C line will use the default port specified
  551.  in your config.h unless a port is given with the command. If you do put a
  552.  port number, any /connect command's will use this port unless another port
  553.  number is given with the command.
  554.  The 4th field of N lines is called the `host mask', this defined how many
  555.  parts of your hostname the incoming server will mask to. So, if your
  556.  server's name is disney.us.dal.net, and you want the connecting server to
  557.  see you as *.us.dal.net you will give a host mask of 1 in your N line. This
  558.  field should normally be left blank.
  559.  The 5th (last) field of both C and N lines gives the connection class to
  560.  place the connection on. If your C line has a 42 in this field, and your
  561.  server initiates a connection through this line, the connection will be
  562.  placed on class 42, however, if You have a 42 in your C line and a 43 in
  563.  your N line and an incoming server initiates a connection via this N
  564.  line, the server connection will be placed on class 43.
  565.  
  566.  Examples: 
  567. C:143.53.233.32:mypass:somewhere.fr.your.net:7325:35
  568. N:143.53.233.32:yourpass:somewhere.fr.your.net::35
  569.  This set will allow a server named somewhere.fr.dal.net to connect to your
  570.  server if it has the IP address of 143.53.233.32 and gives a password of
  571.  `yourpass'. This connection will be governed by connection class 35.
  572.  If your server receives the command /connect somewhere.*, it will try and
  573.  connect to the IP 143.53.233.32 through port 7325 and give the password
  574.  `mypass'.
  575.  
  576. C:143.53.233.32:mypass:somewhere.fr.your.net:7325:35
  577. N:143.53.233.32:yourpass:somewhere.fr.your.net::35
  578. C:ircd@176.43.652.31:apass:elsewhere.jp.your.net:7235:35
  579. N:ircd@176.43.652.31:THEpass:elsewhere.jp.your.net::33
  580.  Both these set's will work as explained above, but if your Y line defining
  581.  class 35 has `max links' set to 1, and one of these servers is connected to
  582.  your server, your server will not try and autoconnect to the other since
  583.  the Y line is `full', but it will accept any incoming connections from the
  584.  other server and any /connect commands given for this server. If your Y
  585.  line allows for more connections but your C lines do not have port numbers,
  586.  your server will not try and autoconnect.
  587.  Since the second set in this example has a username, ident will be used to
  588.  authenticate any connections made to this server. If the listed server does
  589.  not run ident, or the incoming connection comes from another username, the
  590.  connection will be rejected.
  591.  If a connection is made via the second set by your server, the connection
  592.  will be ruled by connection class 35, if the other server initiates the
  593.  connection, the connection will use class 33.
  594.  Autoconnect C/N line pairs can be given preference over other pairs by placing
  595.  them lower in your ircd.conf, the lower the line, the higher the priority
  596.  when autoconnecting.
  597.  Connection classes and C/N line set's allow you to refine your autoconnects
  598.  to a very high degree, with practice you can have your server running so
  599.  it does not need any help.
  600.  
  601. --------------------
  602.  
  603. 3.8) K Lines [OPTIONAL]
  604.  
  605.  These lines restrict access to certain users to your server based on
  606.  user@host matches and time of the day.
  607.  K lines can come in 3 forms, only one of which you can specify in your
  608.  ircd.conf, this type will show up as K on /stats k, the other types
  609.  are `AutoKill' which will show up as A on /stats k, and `kline' which will
  610.  show up as k on /stats k. AutoKill's are set by U lined servers (see
  611.  above), they act in the same way as K lines except that they are set
  612.  remotely and are usually set on all servers, they disappear when you
  613.  /rehash or restart your server. klines are set via the /kline command,
  614.  they operate more like AutoKill's than K lines because they also disappear
  615.  when you /rehash, or restart the server. The /kline command can be used on
  616.  nicknames that appear on IRC, or you can use a user@host mask. If the
  617.  /kline is done on an existing nickname, a kline will be set with that users
  618.  mask and they will be killed off the server.
  619.  
  620.  Syntax:
  621. K:hostmask:time/comment:username
  622.  The hostmask is the host that the user will have on IRC, this may be an
  623.  IP address or a standard host name. The time/comment field may either
  624.  contain nothing, a set of times, or a comment. This field should not
  625.  contain spaces, if you place a comment in the field, you should try and
  626.  be creative in your avoidance of spaces. The syntax of time specification
  627.  is:
  628.   from-to[,from-to[,from-to]]....
  629.  Again, you should not use spaces in this field, but you may specify as
  630.  many time periods as you want/need. 24 hour time should be used, AM and PM
  631.  will not work.
  632.  You may also specify a filename as a reason. To do so use |kc.reason as the 
  633.  reason. Replace reason with the reason for the ban. Note, all files must be in 
  634.  the format of kc.* to ensure no important configuration files are sent to the 
  635.  user. 
  636.  The username will be the username that shows up on IRC.
  637.  Wildcards (`*', `?') may be used with K lines in both the hostmask and
  638.  username fields.
  639.  
  640.  Examples:
  641. K:RIP.org::walt
  642.  This will reject any user who appears as `walt@RIP.org'.
  643.  
  644. K:*.edu:0800-1200,1300-1700:*
  645.  This will reject any user from any host with a top level `edu', In other
  646.  words, anyone appearing as *@*.edu are banned from the server.
  647.  This ban is only present during the hours of 8AM to 12AM, and again from
  648.  1PM to 5PM, at times other than this, the K line will not be active.
  649.  
  650. K:*.lamer.org:|kc.spamming:*
  651.  This will reject all users from *.lamer.org and play the file kc.spamming as 
  652.  the reason. 
  653.  
  654. K:*::*rad
  655.  This K line will reject anyone with the username `rad', or anything ending
  656.  in `rad'. This ban will disallow anyone using `rad' running ident or not.
  657.  You must always take into account the ident character (`~') that is placed
  658.  in front of usernames when their host is not running ident. If you place a
  659.  K line on a username `rad' the user will be banned only if they are running
  660.  ident, but if this user can turn off ident they can appear as ~rad, this
  661.  will allow them to bypass any ban of username `rad'. So, wildcards should
  662.  be used with usernames to take into account the ability to turn ident on
  663.  and off. (The ability to change usernames can only be tackled with a `*'
  664.  in the username field)
  665.  
  666. --------------------
  667.  
  668. 3.9) Q Lines (server form) [DISCOURAGED]
  669.  
  670.  Server form Q lines on servers are used to disallow operators on
  671.  certain servers to use commands such as remote /kill's, and remote
  672.  /connect's, this will effectively restrict the operators on the server to
  673.  local operator privileges. These lines are usually only used for `test'
  674.  server situations. If a server isn't officially part of a network, they may
  675.  be temporarily linked and Q lined, this means the server can be tested
  676.  while not posing a threat to the rest of the network. Q lines need only be
  677.  placed on the hub connecting the `test' server.
  678.  
  679.  Syntax:
  680. Q:*:*:servername
  681.  The 1st 2 fields are currently unused. A Q line placed on a hub connected
  682.  to the named server will disallow operators on the server to affect other
  683.  DALnet users/servers.
  684.  
  685.  Example:
  686. Q:::test-server.my.net
  687.  Q line a server with the name `test-server.my.net'.
  688.  
  689. --------------------
  690.  
  691. 3.10) Q lines (nickname form) [OPTIONAL]
  692.  
  693.  Nickname form Q lines have the ability to deny certain nicknames to users.
  694.  If a nickname is Q lined, the only people allowed to use those nicknames
  695.  are Operators. Q lines, like most other things in your ircd.conf, are local
  696.  only, for a nickname to be Q lined on a whole network all servers must have
  697.  a Q line for that nick. Q lines may also contain comments, these comments
  698.  are given to the user when they attempt to use the nickname and are asked
  699.  to choose another.
  700.  
  701.  Syntax:
  702. Q:*:reason why nick is quarantined:nickname
  703.  The 1st field is currently unused. The 2nd field is the comment sent to any
  704.  user attempting to use the nickname. Unlike K lines, you may use spaces.
  705.  The last field is the nickname to be quarantined, this nickname may contain
  706.  wildcards.
  707.  
  708.  Examples:
  709. Q::No nicknames on MY server!:*
  710.  This Q line will disallow any nicknames on the server giving the reason:
  711.   No nicknames on MY server!
  712.  Only Operators will be allowed to use any nicknames, but since you must be
  713.  a user before you can be +o, you will effectively ban everyone from your
  714.  server.
  715.  
  716. Q::Do not use the Lords name in vain!:God
  717.  Anyone attempting to use the nickname `God' on your server will be told
  718.  that they must find a new nickname and will be given the reason:
  719.   Do not use the Lords name in vain!
  720.  
  721.  Below are a set of standard Q lines that should be in place on all
  722.  server's. They are as follows:
  723.  
  724. Q::Reserved for services:*Chan*S*rv*
  725. Q::Reserved for services:*Nick*S*rv*
  726. Q::Reserved for services:*Memo*S*rv
  727. Q::Reserved for services:*Oper*S*rv*
  728. Q::Reserved for services:*Help*S*rv*
  729. Q::Reserved for services:*Stat*S*rv*
  730. Q::Reserved for operators:IRC*op*
  731. Q::Reserved for operators:*oper*
  732. Q::Causes problems with mIRC:Status
  733.  
  734. --------------------
  735.  
  736. 3.11) L Lines [OPTIONAL/NETWORKED]
  737.  
  738.  These lines specify which servers are to behave as leaves, that is,
  739.  servers that may not have any other servers connected to them.
  740.  They will only be useful if your server is a non-leaf (hub) server.
  741.  Not only can you limit servers to leaves, but you can also specify
  742.  what tree depth may appear after certain servers. If a server connects
  743.  but tells your server that it has a larger tree depth behind it than is
  744.  allowed via your L line for the server, the server will be rejected.
  745.  A limit of `0' will mean the server may only be a leaf. A limit of `1'
  746.  will mean that only leaf servers may be connected to the L lined server
  747.  when it is connected to your server.
  748.  You may also use L lines to restrict what servers may connect to certain
  749.  servers while they are connected to your server.
  750.  
  751.  Syntax:
  752. L:hostmask of disallowed servers:*:server name:depth
  753.  The 1st field defines the limitations on servers allowed to connect to
  754.  the L lined server by hostmask. If any server connects to the L lined
  755.  server while it is connected to your server, and it's name matches the
  756.  hostmask given here, it will be rejected. Wildcards are allowed. You do not
  757.  need to put a value in this field.
  758.  The 2nd field is currently unused and should be left blank.
  759.  The 3rd field is the name of the server to be L lined, when this server
  760.  connects to your server, the restrictions defined by the L line are placed
  761.  on this server. Wildcards are allowed.
  762.  The 4th field defines the depth of servers allowed to be connected behind
  763.  the L lined server. 
  764.  
  765.  Examples:
  766. L:::leaf.de.dal.net
  767.  This line will allow a server named `leaf.de.your.net' to connect only as
  768.  a leaf. So this server may not connect any other servers behind it.
  769.  
  770. L:::semi-hub.sg.dal.net:1
  771.  This line will force the server named `semi-hub.sg.your.net' to allow only
  772.  leaf servers to connect behind it. ie: to have a tree depth of 1.
  773.  
  774. L:*.us.dal.net::*.au.your.net
  775. L:*.eu.dal.net::*.au.your.net
  776.  These lines will make sure that any server with a name matching
  777.  *.au.your.net will not introduce any servers matching *.us.your.net or
  778.  *.eu.your.net. This can be useful for stopping certain hubs from letting
  779.  its autoconnects route the network badly.
  780.  
  781. --------------------
  782.  
  783. 3.12) H Lines [OPTIONAL/NETWORKED]
  784.  
  785.  These lines are similar to L lines, except that they define what servers
  786.  may act as a hub while connected to you. That is, which servers may
  787.  introduce other servers behind them.
  788.  You may limit what servers may be connected behind the H lined server.
  789.  
  790.  Syntax:
  791. H:servers which are allowed behind the hub:*:hub servername
  792.  The 1st field defines what server names the H lined server is allowed to
  793.  introduce. Wildcards are allowed.
  794.  The 2nd field is currently unused and should be left blank.
  795.  The 3rd field should be the exact name of the server allowed to be a hub
  796.  while connected to you. You may not use wildcards with this field unless
  797.  the server's name includes a `*' (See N lines for host masking).
  798.  
  799.  Examples:
  800. H:*::dal-hub.us.your.net
  801.  This line will allow the server with the name `dal-hub.us.your.net' to act
  802.  as a hub server while you are connected to it, there are no restrictions
  803.  on the names of the servers it may introduce.
  804.  
  805. H:*.us.dal.net::usa-hub.us.your.net
  806.  This line will allow the server named `usa-hub.us.your.net' to act as a hub
  807.  while your server is connected to it, but it is limited to introducing
  808.  servers with names matching `*.us.your.net', so any servers trying to
  809.  connect to `usa-hub.us.your.net' with a name such as `bad-link.nz.your.net'
  810.  will be rejected by your server.
  811.  
  812. --------------------
  813.  
  814. 3.13) P lines [OPTIONAL]
  815.  
  816.  These lines will open up ports other than the port you specified in your
  817.  config.h when you compiled your ircd.
  818.  Using internet domain ports below 1024 mean that you must run ircd from
  819.  inetd. ircd can listen to ports in the UNIX domain as well as the internet
  820.  domain. With UNIX domain ports you must give a unix socket file, you must
  821.  also compile ircd with UNIXPORT defined in your config.h.
  822.  You may limit usage of ports in the internet domain to certain hostmasks.
  823.  You do not need to provide a P line for the default port you defined in
  824.  your config.h, only extra ports you wish to open. You should compile ircd
  825.  to run from port 7000, but it is recomended that you add a P line for port
  826.  6667 as most IRC clients default to this port when connecting. If you are
  827.  connected to DALnet, you should have a P line for port 7325, this is the
  828.  standard server connection port for all DALnet servers.
  829.  
  830.  Syntax:
  831. P:hostmask or UNIX socket file:*:*:port number
  832.  The 1st field should either specify a path to a UNIX socket file, or give
  833.  a hostmask to match against connecting clients on this port. Clients not
  834.  matching this mask will be rejected.
  835.  The 2nd and 3rd field's are currently unused, and should be left blank.
  836.  The last field is the port number to open up and listen to for connections.
  837.  
  838.  Examples:
  839. P:*:::7325
  840.  This will open up port 7325.
  841.  
  842. P:*.net:::6665
  843.  This line will open up port 6665 and wait for connections, connections from
  844.  hosts not matching `*.net' will be rejected.
  845.  
  846. P:/tmp/.ircd:*:*:6666
  847.  This line will open up the port 6666 in the UNIX domain, with a socket file
  848.  of: /tmp/.ircd.
  849.  
  850. --------------------
  851.  
  852. 3.14) T lines [OPTIONAL]
  853.  
  854.  These lines allow you to have multiple MOTD and RULES files in the same IRCd.
  855.  The idea of this is to allow you to have MOTD and RULES files in different  
  856.  languages for your users all over the world. The way this works is you can   
  857.  match a MOTD and RULES file to a certain part of a users host.  For example 
  858.  *.fr  (France) now you can make it so all *.fr users see a French MOTD and 
  859.  RULES where  as everyone else still sees the default.
  860.  
  861.  Syntax:
  862. T:hostmask:motd file:rules file
  863.  The first field is where you specify the hostmask to match. This should be a  
  864.  TLD (Top Level Domain) but doesn't have to be. The second is the location of 
  865.  the MOTD file to display, this should be relative to DPATH. The last field is
  866.  the path to the RULES file, again this should also be relative to DPATH.  The 
  867.  best way to keep your T:lines MOTD/RULES files in order is to make a motds/ and  
  868.  rules/ then make files such as spanish.motd and spanish.rules etc.
  869.  
  870.  Examples:
  871. T:bngr216-37-173ppp107.epix.net:motds/epix.motd:rules/epix.rules
  872.  This T:line uses a matches a specific host. When a user with the host bngr216- 
  873.  37-173ppp107.epix.net requests a /MOTD they will see the file motds/epix.motd 
  874.  and when they request a /RULES they will see the file rules/epix.rules. 
  875.  
  876. T:*.epix.net:motds/epix.motd:rules/epix.rules
  877.  This T:line matches based on ISP. When a user from *.epix.net requests a /MOTD 
  878.  or /RULES the specified files are played.
  879.  
  880. T:*.dk:motds/danish.motd:rules/danish.rules
  881.  This T:line matches based on TLD. This is probably the most efficient method to 
  882.  use. When a user from the .dk TLD requests a /MOTD the Danish MOTD is played
  883.  when they request a /RULES the Danish RULES file is played.
  884.  
  885. --------------------
  886.  
  887. 3.15) E Lines [OPTIONAL]
  888.  
  889.  These lines allow you to exclude certain people from a K:line, or to prevent 
  890.  certain people from receiving a K:line. E:lines can be used with a more strict 
  891.  host than a K:line so for example if you K:line *.net and then E:line 
  892.  splitrock.net only users from splitrock.net may connect. These lines are also 
  893.  often used to prevent the server's staff from being K:lined from that server.
  894.  
  895.  Syntax:
  896. E:hostmask:reason:ident
  897.  The first field is where you enter the hostmask that the E:line will apply to.  
  898.  The reason parameter allows you to specify why that hostmask is E:lined. The 
  899.  third field is optional. To E:line all idents just specify this field as an *. 
  900.  
  901.  Examples:
  902. E:*.epix.net:Admin's ISP:*
  903.  This E:line affects all *.epix.net users with reason 'Admin's ISP'. The * in 
  904.  the ident field says that it applies to all *.epix.net users.
  905.  
  906. E:*.epix.net:Server Admin:n64master
  907.  This E:line affects any *.epix.net user using the n64master ident, with reason 'Server Admin'. This is probably the best way to go if you are making the E:line 
  908.  to protect server staff.
  909.  
  910. --------------------
  911.  
  912. 3.16) e Lines [OPTIONAL]
  913.  
  914.  These lines allow you to specify which hosts will not be scaned by the proxy  
  915.  scanner. This will allow you to make certain proxys to connect while the rest 
  916.  are still killed. Note, if you want to allow all proxys, don't e:line *, just 
  917.  disable it at compile time.
  918.  
  919.  Syntax:
  920. e:IP address:*:*
  921.  This line requires only one field, the first field is the IP address of the 
  922.  host to be e lined. Make sure you use an IP and not a hostname or this will not 
  923.  work.
  924.  
  925.  Examples:
  926. e:234.45.32.1:*:*
  927.  This will prevent any user who's host resolves to 234.45.32.1 from being 
  928.  scanned for an open wingate/proxy by the proxy scanner when they connect.
  929.  
  930. --------------------
  931.  
  932. 3.17) Summary:
  933.  
  934.  Well, that's it for the lines you may use in your ircd.conf. Remember that
  935.  ircd.conf is an art, just like any other type of programming. Some parts
  936.  are particularly easy, but other's, like Y lines, can take a while to get
  937.  used to. Given a little time experimenting with lines on a network of
  938.  servers, you will become well versed in ircd.conf programming.
  939.  
  940. Good luck!
  941.  
  942. --------------------
  943.  
  944. 4) dccdeny.conf:
  945.  
  946.  The dccdeny.conf allows you to specify files which may not be sent through the 
  947.  use of DCC (Direct Client Connection). This is mainly to keep the speading of 
  948.  virii at a minimum on your network. It is strongly suggested that you set up a 
  949.  dccdeny.conf as it will help you provide a safe enviromnet for your users.
  950.  
  951. 4.1) deny Lines:
  952.  
  953.  As with the ircd.conf, dccdeny.conf supports comments in the form of # comment. 
  954.  It is suggested that you place comments above each dccdeny for easy reference.
  955.  
  956.  Syntax:
  957. deny filename reason
  958.  The first field is required to be deny, this tells the server that this line 
  959.  specifies a file which should be denied. The second field is where you specify 
  960.  what file should be denied. The last field is where you specify a reason. It is  
  961.  recommended you place a web address such as http://www.nohack.net in the reason 
  962.  so if the user is infected with a virus, they can learn how to remove it.
  963.  
  964. deny dmsetup.exe You may be infected with DMSetup, visit http://www.nohack.net 
  965.  This line will deny users to send the file dmsetup.exe.  If they attempt to 
  966.  send this file the server will display the reason which is 'You may be infected 
  967.  with DMSetup, visit http://www.nohack.net. 
  968.  
  969. deny *.jpg.bat You may be infected with a virus, visit http://www.nohack.net
  970.  This line will deny sends matching *.jpg.bat and display the reason 'You may be infected with a virus, visit http://www.nohack.net' when a send is attempted.
  971.  
  972. --------------------
  973.  
  974. 5) chrestrict.conf:
  975.  
  976.  The chrestrict.conf allows you to limit what channels users may join. This is 
  977.  strongly discouraged for most networks. This is just provided for the networks 
  978.  that wish to have one open channel on a specific topic.
  979.  
  980. --------------------
  981.  
  982. 5.1) msg Lines:
  983.  
  984.  The msg line allows you to specify a message that will be played when a user 
  985.  attempts to join a channel that is not allowed. 
  986.  
  987.  Syntax:
  988. msg message
  989.  The first field tells the server that this is a message line. The second field 
  990.  is where you specify the message that will be displayed when a user attempts to 
  991.  join a denied channel.
  992.  
  993.  Examples:
  994. msg Sorry, the channel you attempted to join is not allowed on this network
  995.  This line will display 'Sorry, the channel you attempted to join is not allowed 
  996.  on this network' when a user trys to enter a channel that is denied.
  997.  
  998. --------------------
  999.  
  1000. 5.2) allow Lines:
  1001.  
  1002.  The allow lines say which channels users are allowed to join. Any channel not 
  1003.  in an allow line will be denied to the user.
  1004.  
  1005.  Syntax:
  1006. allow channel
  1007.  The first field tells the server this is an allow line. The second is where you 
  1008.  specify the channel which users are allowed to join.
  1009.  
  1010.  Examples:
  1011. allow #help
  1012.  This line will allow users to join #help and deny them from joining all other 
  1013.  channels.
  1014.  
  1015. --------------------
  1016.  
  1017. 6) vhost.conf:
  1018.  
  1019.  The vhost.conf file allows you to integrate a BNC type program into your ircd. 
  1020.  This command works through use of the SETHOST command. You must be set +x in 
  1021.  order for you to be able to keep your vhost, setting -x will return you to your 
  1022.  normal host.
  1023.  
  1024. 6.1) vhost Lines:
  1025.  
  1026.  vhost lines are the lines that allow you to create specific vhosts for certain  
  1027.  users. These lines are used along with the /VHOST login password command.
  1028.  
  1029.  Syntax:
  1030. vhost virtualhost username password hostmask
  1031.  The first field tells the server this is a vhost command. The second field is 
  1032.  where you specify what the users host will be changed to once they use the 
  1033.  /VHOST command. The third field is the username field and forth is password, a 
  1034.  user must use the correct username and password in order to use the vhost. The 
  1035.  last field is the hostmask. This allows you to specify which users can use that 
  1036.  vhost based on host, to allow all users use *@*.
  1037.  
  1038.  Examples:
  1039. vhost i.work.at.the.foobar.net john21 asdf1234 *@*
  1040.  This line will grant the user the hostname i.work.at.the.foobar.net, if they 
  1041.  supply the username john21 and the password asdf1234. This line allows any 
  1042.  hostmask to use the line since it has *@*.
  1043.  
  1044. vhost i.am.a.lamer.org codemastr jnh32 n64master@*.epix.net 
  1045.  This line will give the user the hostname i.am.a.lamer.org, if they supply the   
  1046.  username codemastr and the password jnh32, but only if they match the hostmask 
  1047.  n64master@*.epix.net. 
  1048.  
  1049. --------------------
  1050.  
  1051. 7) unrealircd.conf
  1052.  
  1053.  The unrealircd.conf allows you to change certain settings in your IRCd that 
  1054.  used to be set at compile time. This feature is especially beneficial to 
  1055.  Windows users since they use a precompiled version. The unrealircd.conf works 
  1056.  along with your network file (explained in section 8) to provide a completely 
  1057.  customized IRCd.
  1058.  
  1059. --------------------
  1060.  
  1061. 7.1) Include Line:
  1062.  
  1063.  The include line allows you to tell the unrealircd.conf where your network file 
  1064.  is located. This path must be relative to DPATH in order for your IRCd to work. 
  1065.  
  1066.  Syntax:
  1067. Include .................: filename
  1068.  This line will say that the network file is located in the field filename,  
  1069.  again the path to the file must be relative to DPATH.
  1070.  
  1071.  Examples:
  1072. Include .................: networks/roxnet.network
  1073.  This line says that you will be using the roxnet.network file, which is located 
  1074.  in the networks directory. The networks/yourfile.network is most likely the 
  1075.  format you will use if you keep the standard DPATH.
  1076.  
  1077. Include .................: roxnet.network
  1078.  This line says you will use the file roxnet.network which is located in the 
  1079.  same directory as DPATH. This is valid although it is not the default.
  1080.  
  1081. --------------------
  1082.  
  1083. 7.2) Set KLINE_ADDRESS Line:
  1084.  
  1085.  This line allows you to tell the IRCd what email should be displayed to a user 
  1086.  when they are klined. It is strongly encouraged that you set this to a valid 
  1087.  email address of someone on the server staff.
  1088.  
  1089.  Syntax:
  1090. Set KLINE_ADDRESS .......: emailaddress
  1091.  This line tells the server that the K:Line email address is located in the 
  1092.  field emailaddress. Note, the emailaddress is not checked to see if it is valid 
  1093.  so it is up to you to set it right.
  1094.  
  1095.  Examples:
  1096. Set KLINE_ADDRESS .......: bob@myserver.net 
  1097.  This tells the server that the K:Line email address is bob@myserver.net and 
  1098.  when a user gets klined this will be the email address shown to them.
  1099.  
  1100. --------------------
  1101.  
  1102. 7.3) Set MODE_X Line:
  1103.  
  1104.  This line lets you tell the server whether or not to set a user +x when they 
  1105.  connect to the server. Set it to 1 for yes, or 0 for no. It is encouraged that 
  1106.  you set this to 1 as it will help prevent users against nukes and other 
  1107.  malicious attacks.
  1108.  
  1109.  Syntax:
  1110. Set MODE_X ..............: 1/0
  1111.  If this line is set to 1 then the server will set users +x when they connect to 
  1112.  the server. If it is set to 0 they will not be set +x on connect.
  1113.  
  1114.  Examples:
  1115. Set MODE_X ..............: 1
  1116.  This line has auto +x on connect enabled, this is the recommended setting for 
  1117.  security purposes.
  1118.  
  1119. Set MODE_X ..............: 0
  1120.  This line has auto +x disabled. This is discouraged, but it is not required 
  1121.  that auto +x be enabled.
  1122.  
  1123. --------------------
  1124.  
  1125. 7.4) Set MODE_I Line:
  1126.  
  1127.  This line lets you tell the server whether or not to set a user +i when they 
  1128.  connect to the server. Set it to 1 for yes, or 0 for no. It is encouraged that 
  1129.  you set this to 1 as it will help prevent users from getting unwanted messages 
  1130.  from users.
  1131.  
  1132.  Syntax:
  1133. Set MODE_I ..............: 1/0
  1134.  If this line is set to 1 then the server will set users +i when they connect to 
  1135.  the server. If it is set to 0 they will not be set +i on connect.
  1136.  
  1137.  Examples:
  1138. Set MODE_I ..............: 1
  1139.  This line has auto +i on connect enabled, this is the recommended setting for 
  1140.  security purposes.
  1141.  
  1142. Set MODE_I ..............: 0
  1143.  This line has auto +i disabled. This is discouraged, but it is not required 
  1144.  that auto +i be enabled.
  1145.  
  1146. --------------------
  1147.  
  1148. 7.5) Set TRUEHUB Line:
  1149.  
  1150.  The Set TRUEHUB line allows you to tell the server the server you are a Hub and 
  1151.  not a HalfHub. For most networks it is recommended that you set this to 1 to 
  1152.  enable your server as a Hub. Note, if you compiled your server as a leaf and 
  1153.  set this to 1 it will give an error. Only set this to 1 if you compiled your 
  1154.  server as a hub.
  1155.  
  1156.  Syntax:
  1157. Set TRUEHUB .............: 1/0
  1158.  If this line is set to 1 then TRUEHUB is enabled. If it is set to 0 it is 
  1159.  disabled. Again it is recommended for most networks that this is set to 1, and 
  1160.  may only be used if you compiled as a Hub.
  1161.  
  1162.  Examples:
  1163. Set TRUEHUB .............: 1
  1164.  This line has TRUEHUB enabled, the server will send a GLOBOPS when it links.
  1165.  
  1166. Set TRUEHUB .............: 0
  1167.  This line has TRUEHUB disabled. The server will not send a GLOBOPS when it 
  1168.  links, and it will link as a half hub.
  1169.  
  1170. --------------------
  1171.  
  1172. 7.6) Set CONFIG_FILE_STOP Line:
  1173.  
  1174.  The Set CONFIG_FILE_STOP line must be set to 0 in order for your IRCd to work. 
  1175.  If this is set to 1 your IRCd will give an error and won't start. This line is 
  1176.  there just to makesure you take the time to read over your unrealircd.conf and  
  1177.  configure it correctly.
  1178.  
  1179.  Syntax:
  1180. Set CONFIG_FILE_STOP ....: 1/0
  1181.  If this line is set to 1 then your IRCd will not start and will give you an 
  1182.  error. It must be set to 0 in order to work. If set to 0 your IRCd will load 
  1183.  normally.
  1184.  
  1185.  Examples:
  1186. Set CONFIG_FILE_STOP ....: 1
  1187.  In this line, the IRCd will die and give an error when it attempts to load the 
  1188.  unrealircd.conf.
  1189.  
  1190. Set CONFIG_FILE_STOP ....: 0
  1191.  This line will allow the IRCd to load and run fine without giving any errors.
  1192.  
  1193. --------------------
  1194.  
  1195. 7.7) Set SHOWOPERS line:
  1196.  
  1197.  This line sets whether non opers will be allowed to user /stats O to see a list 
  1198.  of IRCOps on the server. This line may be set to whatever you want, although it 
  1199.  is recommended you set this to 0 you may set it to 1.
  1200.  
  1201.  Syntax:
  1202. Set SHOWOPERS ...........: 1/0
  1203.  If this line is set to 1, then all users will be able to see a list of O:lines, 
  1204.  note a non oper will not see the host allowed by this line for security 
  1205.  reasons. If this line is set to 0 then only opers may request a /stats O.
  1206.  
  1207.  Examples:
  1208. Set SHOWOPERS ...........: 1
  1209.  This line allows all users to view a list of all the opers on a server. Again 
  1210.  they will not be able to see the O:lines hosts or flags for security reasons.
  1211.  
  1212. Set SHOWOPERS ...........: 0
  1213.  This line only allows opers to request a /stats O, if a user requests it, it 
  1214.  will return no information. 
  1215.  
  1216. --------------------
  1217.  
  1218. 7.8) Set KILLDIFF Line:
  1219.  
  1220.  This line allows you to set whether the new /kill format should be used. Then 
  1221.  new format includes the server from which the /kill came from, the old format 
  1222.  does not.
  1223.  
  1224.  Syntax:
  1225. Set KILLDIFF ............: 1/0
  1226.  If this line is set to 1 the new format will be used. If it is set to 0 then 
  1227.  the standard format will be used. Note, if you set this to 1 then some users 
  1228.  scripts may not function correctly, so if you want backwards compatibility set 
  1229.  this to 0.
  1230.  
  1231.  Examples:
  1232. Set KILLDIFF ............: 1
  1233.  This line will make the server use the new /kill format, and the server name 
  1234.  will be displayed.
  1235.  
  1236. Set KILLDIFF ............: 0
  1237.  This line will disable the new /kill format and the standard format will be 
  1238.  displayed to the user. This is recommended for backwards compatibility.
  1239.  
  1240. --------------------
  1241.  
  1242. 7.9) Set SHOWOPERMOTD Line:
  1243.  
  1244.  This line allows you to set whether or not the OperMOTD will be displayed to a 
  1245.  user when they /oper. This is completely up to you as to what it shoul be set 
  1246.  to, although it is recommended that if you do not have an OperMOTD you set this 
  1247.  to 0 to avoid the error message from being displayed.
  1248.  
  1249.  Syntax:
  1250. Set SHOWOPERMOTD ........: 1/0
  1251.  If this line is set to 1 then the OperMOTD is displayed when the user /oper's. 
  1252.  If it is set to 0 then the user must /OperMOTD to see the OperMOTD.
  1253.  
  1254. Set SHOWOPERMOTD ........: 1
  1255.  This line will make the server display the OperMOTD to the user when the /oper 
  1256.  up.
  1257.  
  1258. Set SHOWOPERMOTD ........: 0
  1259.  This line will not make the server display the OperMOTD, and instead make the 
  1260.  user have to type /OperMOTD to view the OperMOTD.
  1261.  
  1262. --------------------
  1263.  
  1264. 7.10) Set HIDE_ULINES Line:
  1265.  
  1266.  This line allows you to hide U:lined servers from non-opers in /links. This can 
  1267.  help in adding security, since a user can not DoS services uplink to disconnect 
  1268.  the services, but can also be a disadvantage if you have servers with a lot of 
  1269.  hops to services, since a user can not get closer to the services server.
  1270.  
  1271.  Syntax:
  1272. Set HIDE_ULINES .........: 1/0
  1273.  If this line is set to 1, then non-opers can not see U:lines in /links, if it 
  1274.  is set to 0 non-opers can see U:lines in /links.
  1275.  
  1276.  Examples:
  1277. Set HIDE_ULINES .........: 1
  1278.  This line makes it so only opers can see U:lined servers in /links.
  1279.  
  1280. Set HIDE_ULINES .........: 0
  1281.  This line makes it so anyone can see U:lined servers in /links.
  1282.  
  1283. --------------------
  1284.  
  1285. 7.11) Set ALLOW_CHATOPS Line
  1286.  
  1287.  This line defines whether or not /chatops will be allowed to be used. When  
  1288.  disabled /chatops as well as user mode +b will be disabled.
  1289.  
  1290.  Syntax:
  1291. Set ALLOW_CHATOPS .......: 1/0
  1292.  If this line is set to 1, then /chatops and +b are allowed, if it is set to 0, 
  1293.  then /chatops and +b are disabled.
  1294.  
  1295.  Examples:
  1296. Set ALLOW_CHATOPS .......: 1
  1297.  This line will allow use of /chatops and +b.
  1298.  
  1299. Set ALLOW_CHATOPS .......: 0
  1300.  This line will disable /chatops and +b.
  1301.  
  1302. --------------------
  1303.  
  1304. 7.12) Set SOCKS_BAN_MESSAGE Line
  1305.  
  1306.  This line allows you to specify the reason to be used in the Z:line when a user 
  1307.  is killed for an open proxy server. It is very important that this is set, if 
  1308.  left NULL it can cause serious problems.
  1309.  
  1310.  Syntax:
  1311. Set SOCKS_BAN_MESSAGE ...: message
  1312.  In this line the word "message" should be replaced with the reason the user is 
  1313.  being Z:lined, the default is "Insecure SOCKS Server".
  1314.  
  1315.  Examples:
  1316. Set SOCKS_BAN_MESSAGE ...: You are running an insecure SOCKS Server.
  1317.  This line will Z:line a user using an open SOCKS server with the reason, "You  
  1318.  are running an insecure SOCKS Server."
  1319.  
  1320. --------------------
  1321.  
  1322. 7.13) Set SOCKS_QUIT_MESSAGE Line
  1323.  
  1324.  This line defines the message that will be used in the QUIT message the user 
  1325.  will have when they are killed for an insecure SOCKS server.
  1326.  
  1327.  Syntax:
  1328. Set SOCKS_QUIT_MESSAGE ..: message
  1329.  In this line the word "message" will be used as the QUIT message for the user 
  1330.  being killed.
  1331.  
  1332.  Examples:
  1333. Set SOCKS_QUIT_MESSAGE ..: User was running an insecure SOCKS Server.
  1334.  This line will use "User was running an insecure SOCKS Server." as the QUIT 
  1335.  message for the user when they are found to be running an insecure SOCKS  
  1336.  server.
  1337.  
  1338. --------------------
  1339.  
  1340. 7.14) Set SOCKSBANTIME Line
  1341.  
  1342.  This line lets you specify how long a user using an open SOCKS server will be 
  1343.  Z:lined for.
  1344.  
  1345.  Syntax:
  1346. Set SOCKSBANTIME ........: time in seconds
  1347.  This line will ban a user for "time in seconds" seconds, it is important to 
  1348.  remember that this is seconds, not minutes.
  1349.  
  1350.  Examples:
  1351. Set SOCKSBANTIME ........: 86400
  1352.  This line will Z:line all users running open SOCKS servers for 86400 seconds.
  1353.  
  1354. --------------------
  1355.  
  1356. 7.15) Set MAXCHANNELSPERUSER Line
  1357.  
  1358.  This line allows you to define the max amount of channels a user may join. 
  1359.  Note, IRCd Agents can still join unlimited channels no matter what this is set 
  1360.  to.
  1361.  
  1362.  Syntax:
  1363. Set MAXCHANNELSPERUSER ..: number of channels
  1364.  This line will allow users to join "number of channels", the recommended value 
  1365.  is 10 but it is not required.
  1366.  
  1367.  Examples:
  1368. Set MAXCHANNELSPERUSER ..: 11
  1369.  This line will allow users to join 11 channels before they are given an error.
  1370.  
  1371. --------------------
  1372.  
  1373. 7.16) Set WEBTV_SUPPORT Line
  1374.  
  1375.  This line allows you to specify whether WebTV Support will be enabled or not.
  1376.  When WebTV Support is enabled the /NOTICE command is disabled also, anyone 
  1377.  using /NOTICE will send a /PRIVMSG. Also, in addition to using /<command> users 
  1378.  can /PRIVMSG irc <command> this is so WebTV users can also use commands.
  1379.  
  1380.  Syntax:
  1381. Set WEBTV_SUPPORT .......: 1/0
  1382.  When this line is set to 1, WebTV support will be enabled, when it is set to 0 
  1383.  it will be disabled and the IRCd will support /NOTICE as it normally would.
  1384.  
  1385.  Examples:
  1386. Set WEBTV_SUPPORT .......: 1
  1387.  This line enables WebTV Support disabling /NOTICE and enabling /PRIVMSG irc 
  1388.  <command>.
  1389.  
  1390. Set WEBTV_SUPPORT .......: 0
  1391.  This line disables WebTV Support and leaving /NOTICE alone.
  1392.  
  1393. --------------------
  1394.  
  1395. 7.17) Set NO_OPER_HIDING Line
  1396.  
  1397.  This line allows you to specify whether IRCops will be allowed to set 
  1398.  themselves +I (if they have the ^ Oflag).
  1399.  
  1400.  Syntax:
  1401. Set NO_OPER_HIDING ......: 1/0
  1402.  If this line is set to 1 IRCops will not be able to use usermode +I, if this is 
  1403.  set to 0 they may use usermode +I. 
  1404.  
  1405.  Examples:
  1406. Set NO_OPER_HIDING ......: 1
  1407.  This line has use of usermode +I disabled.
  1408.  
  1409. Set NO_OPER_HIDING ......: 0
  1410.  This line has use of usermode +I enabled for IRCops.
  1411.  
  1412. --------------------
  1413.  
  1414. 7.18) Set AUTO_JOIN_CHANS Line
  1415.  
  1416.  This line allows you to force a user to join one or more channels when they 
  1417.  connect to the server. Using this will not override modes if you set it to make 
  1418.  a user join a +k channel they still need the password.
  1419.  
  1420.  Syntax:
  1421. Set AUTO_JOIN_CHANS .....: 0/<channel>[,channel2,...]
  1422.  When this line is set to 0 it will not make the user join any channels on 
  1423.  connect. If this is set to a channel name it will name the user join that 
  1424.  channel, to enter more than one channel use a comma separated list.
  1425.  
  1426.  Examples:
  1427. Set AUTO_JOIN_CHANS .....: 0
  1428.  This line makes it so the user will not be forced to join a channel when they 
  1429.  connect to the server.
  1430.  
  1431. Set AUTO_JOIN_CHANS .....: #main
  1432.  This line will make the user join #main when they connect to the server.
  1433.  
  1434. Set AUTO_JOIN_CHANS .....: #main,#help
  1435.  This line will make the user join #main and help when they connect, you may 
  1436.  specify as many channels as are defined in MAXCHANNELSPERUSER (see 7.15).
  1437.  
  1438. --------------------
  1439.  
  1440. 8) network files:
  1441.  
  1442.  The networks files allow you to specify some information specific about your 
  1443.  network you may use a current network file, or you can create your own. To 
  1444.  create your own network file edit the template.network file to suit your needs, 
  1445.  then add that file to your unrealircd.conf (See section 7.1). To use an 
  1446.  existing network file just add the file to your unrealircd.conf (See section 
  1447.  7.1).
  1448.  
  1449. --------------------
  1450.  
  1451. 8.1) Network line:
  1452.  
  1453.  The Network line tells the server what the name of your IRC network is. You can 
  1454.  set this line to anything you want, although it may not be left empty.
  1455.  
  1456.  Syntax:
  1457. Network >..........: yournetwork
  1458.  This line tells the server that your networks name is located in the field  
  1459.  yournetwork. Note, yournetwork should be the same on all servers to let users 
  1460.  know what network they are on.
  1461.  
  1462.  Examples:
  1463. Network >..........: NeoHorizon
  1464.  This tells the server that your network is called NeoHorizon and will display 
  1465.  this to the user when it is requested.
  1466.  
  1467. --------------------
  1468.  
  1469. 8.2) Set ircnetwork Line:
  1470.  
  1471.  This line does the same thing as the Network line, but it is required that Set 
  1472.  ircnetwork be the exact same as the Network line or your IRCd will not work. So 
  1473.  if your Network line has Bunker7 then your Set ircnetwork line must also have 
  1474.  Bunker7.
  1475.  
  1476.  Syntax:
  1477. Set ircnetwork ....: yournetwork
  1478.  This tells the server that your network's name is found in the file called 
  1479.  yournetwork.
  1480.  
  1481.  Examples:
  1482. Set ircnetwork ....: Bunker7
  1483.  This defines your IRC networks name as Bunker7, again if this was your line you 
  1484.  must also have Bunker7 in your Network line.
  1485.  
  1486. --------------------
  1487.  
  1488. 8.3) Set defserver Line:
  1489.  
  1490.  This line defines the server that the IRCd will tell users to go to when the 
  1491.  IRCd is full. It is recommended that you point this to a random server pool if 
  1492.  one is available.
  1493.  
  1494.  Syntax:
  1495. Set defserver .......: servername
  1496.  This tells the server to tell the user to go to the contents of the field names 
  1497.  servername with the server is full.
  1498.  
  1499.  Examples:
  1500. Set defserver .......: irc.dragonwings.org
  1501.  This will display the server irc.dragonwings.org in the server is full message 
  1502.  when a user attempts to connect to a full server.
  1503.  
  1504. --------------------
  1505.  
  1506. 8.4) Set SERVICES_NAME Line:
  1507.  
  1508.  This line is very important. It must be set correctly for commands such as 
  1509.  /nickserv, /chanserv, /memoserv, /operserv, etc. to work. If this is not set 
  1510.  correctly you must use /msg servicesname to use services.
  1511.  
  1512.  Syntax: 
  1513. Set SERVICES_NAME .: servicesserver
  1514.  This line tells the IRCd to redirect /nickserv, /chanserv etc to servicesserver 
  1515.  and find the correct client.
  1516.  
  1517.  Examples:
  1518. Set SERVICES_NAME .: services.realchat.org
  1519.  This tells the server to redirect the services commands to 
  1520.  services.realchat.org.
  1521.  
  1522. --------------------
  1523.  
  1524. 8.5) Set oper_host Line:
  1525.  
  1526.  This allows you to specify a host that Global IRCOps will receive when they 
  1527.  /oper, this only works if iNAH (See section 8.17) is enabled. If this is left 
  1528.  blank it can cause some problems in your IRCd so it is recommended that you 
  1529.  fill in a value.
  1530.  
  1531.  Syntax: 
  1532. Set oper_host .....: operhost
  1533.  This tells the server to switch the host of the user to operhost when they 
  1534.  /oper.
  1535.  
  1536.  Examples:
  1537. Set oper_host .....: opers.nevernet.net
  1538.  This will make a Global Oper's host change to opers.nevernet.net when they 
  1539.  /oper up if iNAH is enabled.
  1540.  
  1541. --------------------
  1542.  
  1543. 8.6) Set admin_host Line:
  1544.  
  1545.  This allows you to specify a host that Admins will receive when they 
  1546.  /oper, this only works if iNAH (See section 8.17) is enabled. If this is left 
  1547.  blank it can cause some problems in your IRCd so it is recommended that you 
  1548.  fill in a value.
  1549.  
  1550.  Syntax: 
  1551. Set admin_host ....: adminhost
  1552.  This tells the server to switch the host of the admin to adminhost when they 
  1553.  /oper.
  1554.  
  1555.  Examples:
  1556. Set admin_host ....: admins.nevernet.net
  1557.  This will make a Admin's host change to admins.nevernet.net when they /oper up 
  1558.  if iNAH is enabled.
  1559.  
  1560. --------------------
  1561.  
  1562. 8.7) Set locop_host Line:
  1563.  
  1564.  This allows you to specify a host that Local IRCOps will receive when they 
  1565.  /oper, this only works if iNAH (See section 8.17) is enabled. If this is left 
  1566.  blank it can cause some problems in your IRCd so it is recommended that you 
  1567.  fill in a value.
  1568.  
  1569.  Syntax: 
  1570. Set locop_host ....: locophost
  1571.  This tells the server to switch the host of the Local Oper to locophost when 
  1572.  they /oper.
  1573.  
  1574.  Examples:
  1575. Set locop_host ....: locop.nhn.net
  1576.  This will make a Local Oper's host change to locop.nhn.net when they /oper up 
  1577.  if iNAH is enabled.
  1578.  
  1579. --------------------
  1580.  
  1581. 8.8) Set sadmin_host Line:
  1582.  
  1583.  This allows you to specify a host that Services Admins will receive when they 
  1584.  /oper, this only works if iNAH (See section 8.17) is enabled. If this is left 
  1585.  blank it can cause some problems in your IRCd so it is recommended that you 
  1586.  fill in a value.
  1587.  
  1588.  Syntax: 
  1589. Set sadmin_host ...: sadminhost
  1590.  This tells the server to switch the host of the Services Admin to sadminhost 
  1591.  when they /oper.
  1592.  
  1593.  Examples:
  1594. Set sadmin_host ...: sops.spynet.org
  1595.  This will make a Services Admin's host change to sops.spynet.org when they 
  1596.  /oper up if iNAH is enabled.
  1597.  
  1598. --------------------
  1599.  
  1600. 8.9) Set netadmin_host Line:
  1601.  
  1602.  This allows you to specify a host that NetAdmins will receive when they 
  1603.  /oper, this only works if iNAH (See section 8.17) is enabled. If this is left 
  1604.  blank it can cause some problems in your IRCd so it is recommended that you 
  1605.  fill in a value.
  1606.  
  1607.  Syntax: 
  1608. Set netadmin_host .: netadminhost
  1609.  This tells the server to switch the host of the NetAdmin to netadminhost when 
  1610.  they /oper.
  1611.  
  1612.  Examples:
  1613. Set netadmin_host .: netadmin.spynet.org
  1614.  This will make a NetAdmin's host change to netadmin.spynet.org when they /oper  
  1615.  up if iNAH is enabled.
  1616.  
  1617. --------------------
  1618.  
  1619. 8.10) Set coadmin_host Line:
  1620.  
  1621.  This allows you to specify a host that CoAdmins will receive when they 
  1622.  /oper, this only works if iNAH (See section 8.17) is enabled. If this is left 
  1623.  blank it can cause some problems in your IRCd so it is recommended that you 
  1624.  fill in a value.
  1625.  
  1626.  Syntax: 
  1627. Set coadmin_host ..: coadminhost
  1628.  This tells the server to switch the host of the CoAdmin to coadminhost when 
  1629.  they /oper.
  1630.  
  1631.  Examples:
  1632. Set coadmin_host ..: coadmin.starspace.net
  1633.  This will make a CoAdmin's host change to coadmin.starspace.net when they /oper 
  1634.  up if iNAH is enabled.
  1635.  
  1636. --------------------
  1637.  
  1638. 8.11) Set techadmin_host Line:
  1639.  
  1640.  This allows you to specify a host that TechAdmins will receive when they 
  1641.  /oper, this only works if iNAH (See section 8.17) is enabled. If this is left 
  1642.  blank it can cause some problems in your IRCd so it is recommended that you 
  1643.  fill in a value.
  1644.  
  1645.  Syntax: 
  1646. Set techadmin_host : techadminhost
  1647.  This tells the server to switch the host of the TechAdmin to techadminhost when 
  1648.  they /oper.
  1649.  
  1650.  Examples:
  1651. Set techadmin_host : techadmin.starspace.net
  1652.  This will make a TechAdmin's host change to techadmin.starspace.net when they 
  1653.  /oper up if iNAH is enabled.
  1654.  
  1655. --------------------
  1656.  
  1657. 8.12) Set hidden_host Line:
  1658.  
  1659.  The Set hidden_host line allows you to specify what the masked part of a users 
  1660.  host will look like when they set +x. Most networks tend to use a part of their 
  1661.  network's name, for example MegaIRC uses mega for their hidden host. Note, if 
  1662.  you leave this blank it may cause some problems in your IRCd.
  1663.  
  1664.  Syntax:
  1665. Set hidden_host ...: hiddenhost
  1666.  This tells the server to use the contents of hiddenhost as the masked part of a 
  1667.  users host when they set +x.
  1668.  
  1669.  Examples:
  1670. Set hidden_host ...: neo
  1671.  This will use the word neo as the masked part of a users host.
  1672.  
  1673. --------------------
  1674.  
  1675. 8.13) Set netdomain Line:
  1676.  
  1677.  This is used to specify the domain name of your IRC network. It is used to give 
  1678.  the user your www address and ftp address in the /info reply. If you leave this 
  1679.  blank, users may find difficulty getting help with a specific topic.
  1680.  
  1681.  Syntax:
  1682. Set netdomain .....: networkdomain
  1683.  This tells the server to use the field networkdomain for your networks domain.
  1684.  
  1685.  Examples:
  1686. Set netdomain .....: Infinity-IRC.org 
  1687.  This will make the server set your domain as Infinity-IRC.org, and display the 
  1688.  www and ftp as www.Infinity-IRC.org and ftp.Infinity-IRC.org in the /info 
  1689.  reply.
  1690.  
  1691. --------------------
  1692.  
  1693. 8.14) Set helpchan Line:
  1694.  
  1695.  This line specifies a channel which the user can go to for help, this is also 
  1696.  used as a reply in the /info command. Again, leaving this blank may cause users 
  1697.  to have problems when seeking help.
  1698.  
  1699.  Syntax:
  1700. Set helpchan ......: channel
  1701.  This will make the server use the field channel as your Official Help Channel 
  1702.  in the /info reply.
  1703.  
  1704.  Examples:
  1705. Set helpchan ......: #help
  1706.  This will tell the user that the server's help channel is #help when they 
  1707.  request a /info.
  1708.  
  1709. --------------------
  1710.  
  1711. 8.15) Set STATS_SERVER Line:
  1712.  
  1713.  This line is used to tell the IRCd where your StatServ is located for use in 
  1714.  the /StatServ command.
  1715.  
  1716.  Syntax:
  1717. Set STATS_SERVER ..: statserver
  1718.  This tells the server to send all /StatServ's to the field statserver.
  1719.  
  1720.  Examples:
  1721. Set STATS_SERVER ..: stats.tspre.org
  1722.  This tells the server to forward all /StatServ commands to stats.tspre.org.
  1723.  
  1724. --------------------
  1725.  
  1726. 8.16) Set HUB Line:
  1727.  
  1728.  This line is obsolete and no longer in use. It is provided only for backwards 
  1729.  compatibility.
  1730.  
  1731. --------------------
  1732.  
  1733. 8.17) Set iNAH Line:
  1734.  
  1735.  This line allows you to specify whether or not oper's hosts should be changed 
  1736.  when they send a /oper command. Most networks set this on, but there are some 
  1737.  that do not like the host masking feature.
  1738.  
  1739.  Syntax:
  1740. Set iNAH ..........: 1/0
  1741.  Set this line to 1 to enable the oper host masking, or set it to 0 to disable 
  1742.  the host masking.
  1743.  
  1744.  Examples:
  1745. Set iNAH ..........: 1
  1746.  This line tells the server to mask an oper's host when they issue a /oper 
  1747.  command.
  1748.  
  1749. Set iNAH ..........: 0
  1750.  This tells the server not to mask an oper's host when they send a /oper 
  1751.  command.
  1752.  
  1753. --------------------
  1754.  
  1755. 8.18) Set net_quit Line:
  1756.  
  1757.  This line is no longer in use and is only provided for compatibility with older 
  1758.  versions of Unreal.
  1759.  
  1760. --------------------
  1761.  
  1762. [ $Id: conf.doc,v 1.1.1.1.6.1 2000/05/28 08:55:17 cmunk Exp $ ]
  1763.