diff --git a/lib/Makefile b/lib/Makefile index d2249904..76e754a1 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -41,7 +41,7 @@ OBJS = ${CLCOMM_OBJS} ${COMMON_OBJS} ${DBASE_OBJS} ${MSGBASE_OBJS} ${MBINET_OBJ HDRS = ${CLCOMM_HDRS} ${COMMON_HDRS} ${DBASE_HDRS} ${MSGBASE_HDRS} ${MBINET_HDRS} \ ${DIESEL_HDRS} ${MEMWATCH_HDRS} ${OTHER_HDRS} OTHER = Makefile README ftscprod.006 mkprod.awk FAQ README.memwatch USING test.c \ - memwatch.c.org README.diesel README.macro Diesel.doc + memwatch.c.org README.diesel README.macro Diesel.doc nodelist.conf TARGET = libclcomm.a libcommon.a libdbase.a libmsgbase.a libmbinet.a libdiesel.a libmemwatch.a ############################################################################# @@ -83,6 +83,7 @@ libmemwatch.a: ${MEMWATCH_OBJS} ${RANLIB} $@ install: all + ${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0444 nodelist.conf ${ETCDIR} clean: rm -f ${TARGET} *.o *.h~ *.c~ ftscprod.c core filelist Makefile.bak diff --git a/lib/nodelist.conf b/lib/nodelist.conf new file mode 100644 index 00000000..4ccc48eb --- /dev/null +++ b/lib/nodelist.conf @@ -0,0 +1,161 @@ +############################################################################ +# +# ~/etc/nodelist.conf Nodelist configuration for MBSE BBS. +# $Id$ +# +############################################################################ +# Copyright (C) 1997-2003 +# +# Michiel Broek FIDO: 2:280/2802 +# Beekmansbos 10 +# 1971 BV IJmuiden +# the Netherlands +# +# This file is part of MBSE BBS. +# +# This BBS is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the +# Free Software Foundation; either version 2, or (at your option) any +# later version. +# +# MBSE BBS is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with MBSE BBS; see the file COPYING. If not, write to the Free +# Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +############################################################################# + +# WARNING: This file will be taken in use during development of v0.37.xx +# It will implement some new features that will become FTSC standards +# during 2003 +# +# WARNING: Do not change anything in this file unless you know what +# you are doing. +# +# WARNING: During development this file will be overwritten during each +# make install, so don't even bother to change it in the ~/etc directory. +# +# WARNING: This file will replace hardcoded behaviour of several parts of +# the MBSE BBS package, tampering with this file is at your own risk. + +# The following are the valid keywords in field 1 of the nodelist. +# They also represent the order of the nodes. +keyword Zone 1 +keyword Region 2 +keyword Host 3 +keyword Hub 4 +keyword "" 5 +keyword Point 6 + + +# The next flags are ORed to get a call possible value. A value of zero +# means that the node is reachable analogue with a FTS-0001 session. +# The rest is treated special. +# +callflag Down 0x01 # Node is Down +callflag Hold 0x02 # Node is Hold +callflag Pvt 0x04 # Pvt nodelist entry, no analogue call possible +callflag Dummy 0x08 # Dummy, no nodelist entry +callflag ISDN 0x10 # ISDN only node +callflag TCPIP 0x20 # ION (Internet Only Node) + + +# Online special flags. +# +online CM 0x00000001 +online MO 0x00000002 +online LO 0x00000004 +online MN 0x00000008 + + + +# Modem flags, order is important to check the fastest possible connection +# method. This also masks implied modes. +# +# flag entry implied mask +modem MNP 0x00000001 0x00000001 +modem V42 0x00000002 0x00000003 # implies MNP +modem V42B 0x00000004 0x00000007 # implies MNP and V42 +modem V22 0x00000008 0x00000008 +modem V29 0x00000010 0x00000010 +modem V32 0x00000020 0x00000020 +modem H96 0x00000040 0x00000040 +modem HST 0x00000080 0x00000081 # implies MNP +modem MAX 0x00000100 0x00000100 +modem PEP 0x00000200 0x00000200 +modem CSP 0x00000400 0x00000400 +modem V32B 0x00000800 0x00000820 # implies V32 +modem H14 0x00001000 0x00001081 # implies HST and MNP +modem V32T 0x00002000 0x00002820 # implies V32B and V32 +modem H16 0x00004000 0x00005087 # implies H14, HST, MNP, V42, V42B +modem ZYX 0x00008000 0x00008827 # implies V32B, V32, V42B, V42, MNP +modem Z19 0x00010000 0x00018827 # implies V32B, V32, V42B, V42, MNP, ZYX +modem VFC 0x00020000 0x00020000 +modem V34 0x00040000 0x00040000 +modem X2C 0x00080000 0x001B0000 # implies X2S, V34 +modem X2S 0x00100000 0x00140000 # implies V34 +modem V90C 0x00200000 0x00640000 # implies V90S, V34 +modem V90S 0x00400000 0x00440000 # implies V34 + + +# Request flags, masks: +# 0x00000001 Bark request +# 0x00000002 Bark update +# 0x00000004 Wazoo request +# 0x00000008 Wazoo update +# +request XA 0x0000000F # Bark request, Bark update, Wazoo request, Wazoo update +request XB 0x00000007 # Bark request, Bark update, Wazoo request +request XC 0x0000000D # Bark request, Wazoo request, Wazoo update +request XP 0x00000003 # Bark request, Bark update +request XR 0x00000005 # Bark request, Wazoo request +request XW 0x00000004 # Wazoo request +request XX 0x0000000B # Wazoo request, Wazoo update + + +# ISDN flags in order of best speed. +# +# flag mask ORed mask +isdn V110L 0x00000001 0x00000001 +isdn V110H 0x00000002 0x00000002 +isdn V120L 0x00000004 0x00000004 +isdn V120H 0x00000008 0x00000008 +isdn X75 0x00000010 0x00000010 + + + +# Note that the IP flags do not represent the order of preference. +# That need to be changed. +# +tcpip IBN 0x00000001 0x00000001 +tcpip IFC 0x00000002 0x00000002 +tcpip ITN 0x00000004 0x00000004 +tcpip IVM 0x00000008 0x00000008 +tcpip IP 0x00000010 0x00000010 +tcpip IFT 0x00000020 0x00000020 + + +# The following gives the order to search for the +# FQDN or IP address of the node. Valid values are: +# system - Search in the system name field +# phone - Search the phone field for 000- prefix +# firstflag - First IP flag (NOT YET AVAILABLE) +# eslf - Extended St. Louis Format fields (NOT YET AVAILABLE) +# defdomain - Asume default domain (NOT YET AVAILABLE) +# +# In all cases, the nodes setup overrides everything. +# Order is important +# +search system +search phone + +# The default searchdomain, will be prefixed with f1.n2 (NOT YET AVAILABLE) +# +# Zone Suffix +domsuffix 1 .z1.fidonet.net +domsuffix 2 .z2.fidonet.net +domsuffix 3 .z3.fidonet.net +