FIDO_NET.DOC

5.2 KB 2a63c18c9e1e52f7…
                *** The FIDO.NET control file ***

     The FIDO.NET file should be placed in your wwiv DATA 
directory.  This file is read by NetSEX and tells NetSEX what 
Fido/WWIV node is running the program,  which subs to process, 
and other important information.

              *** Commands in the fido.net file ***

; <COMMENTS>

     Any line beginning with a semicolon (;) is ignored by 
NetSEX.  This feature can be helpful in debugging code by 
commenting out certain parts to determine where trouble may be 
coming from. 


COORDINATOR: <NODE_NUMBER>

     This line is used to tell NetSEX which WWIV node to send 
traffic updates to.  The purpose for traffic updates is to have a 
central source of information about what is being gatewayed so 
that nodes not running NetSEX can find out what is availiable and 
from who.  Currently the NetSEX coordinator is 5317, so the 
COORDINATOR line should look like: 

COORDINATOR: 5317


FZONE: <FIDONET ZONE NUMBER>
FNET:  <FIDONET NET NUMBER>
FNODE: <FIDONET NODE NUMBER>

     These commands inform NetSEX what your Fidonet address is.  
Mail coming from WWIV into Fidonet will appear to be from the 
fidonet address specified.  This number is also used to determine 
which messages will be considered for processing.


NETWORK: <NETWORK NAME>

     This line is used to determine which WWIV network is 
gatewaying messages.  Nodes in WWIVNET should use WWIVNET as the 
network parameter.  Nodes in WWIVLINK should use WWIVLINK as 
their network parameter.
     Examples:
NETWORK: WWIVNET
NETWORK: WWIVLINK


NODE: <FAKE NODE NUMBER>

     This Command determines what your WWIV gateway number will 
be.  The purpose in having a "Fake" node number is to provide a 
simple way of addresssing the gateway without having to do any 
special pre-processing to determine which messages coming in over 
WWIVNET should be processed.  You must ASK for a Fake node 
number.  To get one send e-mail to 1@5317 (wwivnet) and be sure 
to include information on what WWIVNET node you are running,  
what your fidonet address is,  and what your usenet address is if 
you have one. 


BANNER: <BANNER STRING>

     This command is used to place a banner at the bottom of 
messages coming into WWIVnet Subs.  You can change it as many 
times as you like in the your FIDO.NET control file; but keep in 
mind that the last banner defined will be the one that is used 
when NetSEX is processing Subs.  WWIVNET control characters are 
allowed in this line.  

Examples:
BANNER: This is the First inter-network sub
BANNER: I like this banner better!



LOCAL: <LOCAL NODE NUMBER>

     This command determines where mail coming from FidoNet ends 
up when there is no WWIV node number given in the address (Yes, 
This is allowed!).  It does not have to be your real WWIV node 
number.  Your AC or GC may require you to set this to your AC or 
GC's address for instance.



IN_ALIAS: <IN STRING>=<OUT STRING>

     This command allows you to alias certain users names for 
mail coming into WWIV from FIDONET.  This could be useful if you 
want some users to be addressed by their real names instead if 
the n<node> u<user> format.  You can change aliases as many times 
as you like within the FIDO.NET file.  You can also delete an 
alias by having no <OUT STRING> parameter.  Strings may not 
contain the equals sign (=).
Examples:
IN_ALIAS: Matt Logan=n5317 u1
( Now mail sent to Matt Logan will be routed to 1@5317)
IN_ALIAS: sysop=n5317 u1
( now mail sent to sysop will be routed to sysop)
IN_ALIAS: Matt Logan=
IN_ALIAS: sysop=
( Now mail addressed to Matt Logan or sysop will be sent as name 
e-mail to whatever system was specified in the LOCAL: command. 
This is the way to un-alias) 


OUT_ALIAS: <IN STRING>=<OUT STRING>

     This one works the same way as IN_ALIAS exepct it applies to 
mail coming from WWIVet to FIdonet.  Un-Aliasing works the same 
way and you can change this as often as needed.
Examples:
OUT_ALIAS: n5317 u1=Matt Logan
(Mail coming from 1@5317 will appear to be from Matt Logan)
OUT_ALIAS: n5317 u1=
(This alias is now removed)

MAIL: <FIDONET MAIL DIRECTORY>

     This command tells NetSEX where to look for messages coming 
from FidoNet and also where to place converted e-mail messages 
coming from WWIVnet.  NetSEX will process mail right after it 
reads this line into the processor.


SUB: <SUB NUMBER> <HOST NUMBER> <DIRECTORY> <NAME>
     <BI-DIRECTIONAL FLAG>
(All parameters must be on the same line)

     This line tells NetSEX information about the subs you want 
to gateway.  The first parameter is the WWIVnet sub number that 
will be Gatwayed. The second parameter tells netsex what WWIVnet 
node will be the WWIVNET host of this sub.  The host does not 
have to be the same node running NetSEX.  The DIRECTORY parameter 
where to look for incoming FIDONET messages and where to place 
outgoing converted WWIVNET messages.  The NAME field is used to 
give a name to the sub you are gatwaying.  The name field is sent 
out in traffic updates and is also stored in a file called 
NETSEX.DAT.  The <BI-DIRECTIONAL FLAG> is either Y or N depending 
on whether you want messages originating in WWIVNET to be sent 
over fidonet as well.