/* This begins a multi-line comment CONFIGURATION FILE FOR BPQ32: G8BPQ SWITCH SOFTWARE ################################################### ## Implementing a TARPN-node ## ## Terrestrial Amateur Radio Packet Network node ## ################################################### Includes 1 KISS TNC Ports, and 1 AX/IP/UDP Port. \Examples\Medium Substitute your amateur call for every occurance 'MYCALL'. Make appropriate changes to NODEALIAS, APPLnALLIAS's, IDMSG, BTEXT, INFOMSG and CTEXT to suit your installation. */ This ends a multi-line comment LOCATOR=FN05qv MAPCOMMENT=by-reservation
multiport
Ham Radio
;See LOCATOR details at: ;http://www.cantab.net/users/john.wiseman/Documents/BPQNodeMap.htm PASSWORD=1234567890 ; SYSOP Passord - See http://www.cantab.net/users/john.wiseman/Documents/Node%20SYSOP.html NODECALL=KA2DEW-3 ; Node callsign NODEALIAS=WAKDE1 ; Node alias (6 characters max) IDMSG: ; UI broadcast text from NODECALL to fixed dest ID contact tadd@mac.com *** ; Denotes end of IDMSG text /* The BTEXT below contains an APRS location specification. Search the internet for "APRS Protocol Specification" for details on the format. If you do not care to do this, it would be best to replace the line by simple non APRS text rather than transmit incorrect data which may find it's way via APRS IGates to FINDU.COM. */ BTEXT: ; UI broadcast text from BCALL to destination UNPROTO Running on a Rasberry Pi -G8BPQ Node *** ; Denotes end of BTEXT text INFOMSG: ; The INFO command text follows: ### wakde1 config file sun feb9 2014 2:31pm This is Tadd, KA2DEW. This node is at home on the north side of Raleigh. C KA2DEW to get to my terminal. Leave me email at tadd@mac.com See http://QRZ.com/db/ka2dew for more info. *** ; Denotes end of INFOMSG text CTEXT: ; The CTEXT text follows: This is Tadd, KA2DEW. This node is at home on the north side of Raleigh. C KA2DEW to get to my terminal. Leave me email at tadd@mac.com See http://QRZ.com/db/ka2dew for more info. WAKDE1:KA2DEW-3} CONNECT BYE INFO NODES ROUTES PORTS USERS MHEARD HOST *** ; Denotes end of CTEXT text FULL_CTEXT=1 ; 0=send CTEXT to L2 connects to NODEALIAS only ; ; 1=send CTEXT to all connectees ; Network System Parameters: OBSINIT=6 ; Initial obsolescence set when a node is included ; ; in a received nodes broadcast. This value is then ; ; decremented by 1 every NODESINTERVAL. OBSMIN=4 ; When the obsolescence of a node falls below this ; ; value that node's information is not included in ; ; a subsequent nodes broadcast. NODESINTERVAL=15 ; Nodes broadcast interval in minutes IDINTERVAL=30 ; 'IDMSG' UI broadcast interval in minutes, 0=OFF BTINTERVAL=60 ; The BTEXT broadcast interval in minutes, 0=OFF L3TIMETOLIVE=7 ; Max L3 hops L4RETRIES=1 ; Level 4 retry count L4TIMEOUT=180 ; Level 4 timeout in seconds s/b > FRACK x RETRIES L4DELAY=1 ; Level 4 delayed ack timer in seconds higher would allow bundling l4 acks together if going to the same originating node. This is not useful if the network has many nodes. L4WINDOW=2 ; Level 4 window size MAXLINKS=10 ; Max level 2 links MAXNODES=128 ; Max nodes in nodes table MAXROUTES=64 ; Max adjacent nodes MAXCIRCUITS=128 ; Max L4 circuits MINQUAL=81 ; Minimum quality to add to nodes table ; ; INP3 Routing is experimental. The two parms which follow will be ignored ; ; unless activated in the ROUTES: section. MAXHOPS=6 ; INP3 hop limit to add to tables MAXRTT=90 ; INP3 max RTT in seconds BUFFERS=255 ; Packet buffers - 255 means allocate as many as ; ; possible, normally about 130, depending upon other ; ; table sizes. ; TNC default parameters: PACLEN=236 ; Max packet size (236 max for TheNET) /* PACLEN is a problem! The ideal size depends on the link(s) over which a packet will be sent. For a session involving another node, we have no idea what is at the far end. Ideally each node should have the capability to combine and then refragment messages to suit each link segment - maybe when there are more BPQ nodes about than 'other' ones, I'll do it. When the node is accessed directly, things are a bit easier, as we know at least something about the link. So, currently there are two PACLEN params, one here and one in the PORTS section. This one is used to set the initial value for sessions via other nodes and for sessions initiated from here. The other is used for incoming direct (Level 2) sessions. In all cases the TNC PACLEN command can be used to override the defaults. */ ; Level 2 Parameters: ; T1 (FRACK), T2 (RESPTIME) and N2 (RETRIES) are now in the PORTS section T3=120 ; Link validation timer in seconds IDLETIME=720 ; Idle link shutdown timer in seconds ; Configuration Options: AUTOSAVE=1 ; Saves BPQNODES.dat upon program exit BBS=1 ; 1 = BBS support included, 0 = No BBS support NODE=1 ; Include switch support HIDENODES=0 ; If set to 1, nodes beginning with a # ; ; require a 'N *' command to be displayed. ; ; The *** LINKED command is intended for use by gateway software, and concern ; ; has been expressed that it could be misused. It is recommended that it be ; ; disabled (=N) if unneeded. ENABLE_LINKED=A ; Controls processing of *** LINKED command ; ; Y = allows unrestricted use ; ; A = allows use by application program ; ; N = disabled ;########################################################################################################################################################### ;########################################################################################################################################################### ;########################################################################################################################################################### ;########################################################################################################################################################### ; AX25 port definitions: ; With the following definition BPQ32 accesses the TNC directly. PORT PORTNUM=1 ; Optional but sets port number if stated ID=Backbone1 ; Displayed by PORTS command TYPE=I2C ; Port is RS232 Com or I2C Com PROTOCOL=KISS ; TNC is used in KISS (or JKISS) mode KISSOPTIONS=PITNC,NOPARAMS I2CBUS=1 ; 0 for Version 1 board, 1 for Version 2 board. Don't include this for RS232/USB TNCs I2CDEVICE=16 ; Decimal I2C device-ID -- Don't include for RS232/USB TNCs ; ; See ..\RelatedFiles\KissRoms\KissRoms.zip. FULLDUP=0 ; Only meaningful for KISS (or JKISS) devices ;i2c; IOADDR=1 ; 1 = SERIAL PORT COM1 ETC. << do not use if TYPE=I2C SPEED=19200 ; RS232 COM PORT SPEED CHANNEL=A ; A for single channel TNC, A or B for multichannel PERSIST=255 ; PERSIST=256/(# of transmitters-1) SLOTTIME=20 ; CMSA interval timer in milliseconds TXDELAY=0 ; Transmit keyup delay in milliseconds 0 means leave it up to the TNC-PI TXTAIL=1 ; TX key down, in milliseconds, at packet end QUALITY=192 ; Quality factor applied to node broadcasts heard on ; ; this port, unless overridden by a locked route ; ; entry. Setting to 0 stops node broadcasts MINQUAL=50 ; Entries in the nodes table with qualities greater or ; ; equal to MINQUAL will be sent on this port. A value ; ; of 0 sends everything. MAXFRAME=1 ; Max outstanding frames (1 thru 7) FRACK=4000 ; Level 2 timout in milliseconds RESPTIME=30 ; Level 2 delayed ack timer in milliseconds RETRIES=10 ; Level 2 maximum retry value PACLEN=236 ; Default max packet length for this port UNPROTO=ID ; BT=EXT broadcast addrs format: DEST[,digi1[,digi2]] ; ; BCALL=KK4CFN-8 ; BTEXT call. unstated defaults to APPL1CALL L3ONLY=0 ; 1=No user downlink connects on this port DIGIFLAG=0 ; Digipeat: 0=OFF, 1=ALL, 255=UI Only DIGIPORT=0 ; Port on which to send digi'd frames (0 = same port) USERS=0 ; Maximum number of L2 sessions, 0 = no limit ;LOGGING=1 ; Logging on <<==== WHAT IS THIS? It causes a Warning message ENDPORT ;########################################################################################################################################################### PORT PORTNUM=2 ; Optional but sets port number if stated ID=Backbone2 ; Displayed by PORTS command TYPE=I2C ; Port is RS232 Com or I2C Com PROTOCOL=KISS ; TNC is used in KISS (or JKISS) mode KISSOPTIONS=PITNC,NOPARAMS I2CBUS=1 ; 0 for Version 1 board, 1 for Version 2 board. Don't include this for RS232/USB TNCs I2CDEVICE=17 ; Decimal I2C device-ID -- Don't include for RS232/USB TNCs ; ; See ..\RelatedFiles\KissRoms\KissRoms.zip. FULLDUP=0 ; Only meaningful for KISS (or JKISS) devices ;i2c; IOADDR=1 ; 1 = SERIAL PORT COM1 ETC. << do not use if TYPE=I2C SPEED=19200 ; RS232 COM PORT SPEED CHANNEL=A ; A for single channel TNC, A or B for multichannel PERSIST=255 ; PERSIST=256/(# of transmitters-1) SLOTTIME=20 ; CMSA interval timer in milliseconds TXDELAY=0 ; Transmit keyup delay in milliseconds 0 means leave it up to the TNC PI TXTAIL=1 ; TX key down, in milliseconds, at packet end QUALITY=192 ; Quality factor applied to node broadcasts heard on ; ; this port, unless overridden by a locked route ; ; entry. Setting to 0 stops node broadcasts MINQUAL=50 ; Entries in the nodes table with qualities greater or ; ; equal to MINQUAL will be sent on this port. A value ; ; of 0 sends everything. MAXFRAME=1 ; Max outstanding frames (1 thru 7) FRACK=4000 ; Level 2 timout in milliseconds RESPTIME=10 ; Level 2 delayed ack timer in milliseconds RETRIES=10 ; Level 2 maximum retry value PACLEN=236 ; Default max packet length for this port UNPROTO=ID ; BTEXT broadcast addrs format: DEST[,digi1[,digi2]] ; BCALL=KK4CFN-8 ; BTEXT call. unstated defaults to APPL1CALL L3ONLY=0 ; 1=No user downlink connects on this port DIGIFLAG=0 ; Digipeat: 0=OFF, 1=ALL, 255=UI Only DIGIPORT=0 ; Port on which to send digi'd frames (0 = same port) USERS=0 ; Maximum number of L2 sessions, 0 = no limit ;LOGGING=1 ; Logging on <<==== WHAT IS THIS? It causes a Warning message ENDPORT ;########################################################################################################################################################### ; AX/IP/UDP port definition: PORT PORTNUM=3 ; Optional but sets port number if stated ID=Ethernet ; Displayed by PORTS command TYPE=EXTERNAL ; Calls an external module DLLNAME=BPQAXIP.DLL ; Uses BPQAXIP.DLL QUALITY=80 ; Quality factor applied to node broadcasts heard on ; ; this port, unless overridden by a locked route ; ; entry. Setting to 0 stops node broadcasts MINQUAL=79 ; Entries in the nodes table with qualities greater or ; ; equal to MINQUAL will be sent on this port. A value ; ; of 0 sends everything. MAXFRAME=1 ; Max outstanding frames (1 thru 7) FRACK=3000 ; Level 2 timout in milliseconds RESPTIME=30 ; Level 2 delayed ack timer in milliseconds RETRIES=10 ; Level 2 maximum retry value PACLEN=236 ; Max = 236 UNPROTO=ID BCALL=KA2DEW L3ONLY=0 DIGIFLAG=1 ; Digipeat: 0=OFF, 1=ALL, 255=UI Only DIGIPORT=1 ; Port on which to send digi'd frames (0 = same port) CONFIG ; BPQAXIP.cfg has been deprecated. Instead the AXIP ; ; configuration occurs here: MHEARD ;Opens AXIP MHEARD window UDP 10093 ;Listens for UDP packets on this port number UDP 10094 ;Listens for UDP packets on this port number UDP 10054 ;Listens for UDP packets on this port number AUTOADDMAP BROADCAST NODES MAP KA2DEW-6 10.0.0.179 UDP 10093 B ; You may listen on additional port numbers if desired: ;UDP 10094 ;Listens for UDP packets on this UDP port number ; Starting with bpqaxip.dll version 1.14.1.1 the default behavior is to not ; add information to BPQ32's nodes table for AX/IP/UDP nodes which are not ; explicitly listed in the bpqaxip.cfg file. The default behavior can be ; modified with these commands: ;DONTCHECKSOURCECALL ;This option allows entries in the NODES table from ;stations sending you nodes broadcasts without the ;corresponding node being configured in bpqaxip.cfg. ;AUTOADDMAP ;This option automatically adds the node call and ;address of a node for which you do not have a ;pre-arranged fixed entry in bpqaxip.cfg. If the ;option DONTCHECKSOURCECALL is specified then the ;AUTOADDMAP option is ignored. BROADCAST NODES ;BROADCAST QST ;MAP ZZ0ZZ example.org UDP 10093 B ;MAP AA1AA-1 example.net UDP 10093 B ;MAP CC8CC-5 208.77.188.166 UDP 10093 B ; If INP3 routing (experimental at this point) is utilized the 'B' command ; should not be included: ;MAP BB9BB-6 example.com UDP 10093 ; Steve Conrad, VE9SC, provides a service which displays a map of BPQMailChat ; nodes dynamically updated: http://guardian.no-ip.org/bpqmap/ChatNetwork.htm ; To include your chat node on the map remove the ';' from the MAP DUMMY ; statement which follows. The rest of the statement must remain exactly as ; shown. ; MAP DUMMY CHATMAP.G8BPQ.NET UDP 10090 ; A keepalive may be needed if you have not properly configured your ; router to direct incoming UDP traffic to the specific machine on you ; LAN which is running BPQ32. You should properly configure your router ; so that the keepalive is unneeded, as this ploy is not completely ; reliable! ; In the exceptional case where your ISP is dropping your incoming traffic ; testing has found that the keepalive might help 'keep the door open'. ; In the following example a keepalive packet is sent every 30 seconds: ;MAP AA1AA-1 example.net KEEPALIVE 30 UDP 10093 B ; An experimental TCP communication mode was added with the 2009/Aug/28 Beta ; release. The purpose is to circumvent router issues which are almost certain ; when 'your side', which we will call the client side, cannot control access ; to direct incoming UDP packets to your machine. Instead you will originate ; a connection via TCP. TCP is a connected protocol, all routers should ; automatically set up the return path to your machine. ; An example would be your BPQ32 node, with a node call of MYCALL-5, on a ; laptop at a public access WiFI site. To connect to AA1AA-1 via this method ; you will need this entry in your MAP list (without the ; of course): ;MAP AA1AA-1 example.net TCP-Master 10093 B ; AA1AA-1 is the node call of the remote side, e.g. server side. The server ; side must have the ability to program its router to direct incoming TCP ; traffic with the specified port number to the machine running BPQ32 Node ; AA1AA-1, just as it does for UDP. ; BPQ32 Node AA1AA-1 at URL=example.net would add the folllowing entry to its ; MAP list: ;MAP MYCALL-5 0.0.0.0 TCP-Slave 10093 B ; As a result AA1AA-1 will listen for TCP packets on port 10093 from MYCALL-5. ; When heard, a TCP connection will result over which AX.25 traffic will flow. ; The server side obtains the client side ip address when the connection ; request is received. ; As currently implemented the client side will have to make advance ; arrangements with the server side so that the correct MAP entries will be in ; effect, as well as to specify a unique TCP port number for each prearranged ; client. ENDPORT ;########################################################################################################################################################### ;-------------------------------------------------------- PORT PORTNUM=4 ID=TELNET (ONLINE) TYPE=EXTERNAL DLLNAME=TELNET.DLL CONFIG ; Enable BPQ Telnet Server Connections (Inbound Only) CMS=1 ; Enable WL2K Server Connection LOGGING=1 ; Logging of Telnet Connections DisconnectOnClose=1 ; Disconnection TCPPORT=23 ; Keyboard Connections FBBPORT=8011 ; FBB Telnet Inbound Connections HTTPPORT=80 ; HTTP Web Server Access LOGINPROMPT=user: PASSWORDPROMPT=password: LOCALECHO=YES MAXSESSIONS=15 ; Max Number Of Connections at One Time TEXT=Welcome to Tadd'S BPQ node\nEnter ? for list of commands\nAccess is Granted!\nSend email to tadd@mac.com for access requests.\n\n###CONNECTED TO WAKDE1:KA2DEW-3}\n USER=ka2dew,tadd,ka2dew,user,SYSOP ;there can be multiple USER lines. USER=kf4llf,seth,kf4llf ENDPORT ;;;############################################################################################################### ;;; This sets up a virtual port for MINICOM to connect to. This only supports one stream. TNCPORT COMPORT=/home/pi/com4 TYPE=TNC2 APPLMASK=1 APPLFLAGS=6 ; 6 enables the *** CONNECTED message ENDPORT ; ; /* ; Begin comment block ;;;;; explain ROUTES: CALLSIGN,QUALITY,PORT[,MAXFRAME,FRACK,PACLEN,INP3Enable] MAXFRAME, Frack and PACLEN if stated override the port defaults. INP3Enable = 1 enables, 0 or null disable. The INP3 (internode protocol) implementation in BPQ32 is experimental. See additional details in bpqaxip.cfg. Example of a route statement using INP3: W4BFB-12,1,1,0,0,0,1 KE4IYH-14,191,2,0,0,0,2 for example, will stop KEEPALIVE TX's from occurring. Locked routes tend to be overused and should not be set unless truly needed. */ ; End comment block ROUTES: ; Locked routes (31 maximum) KA2DEW-6,250,3 ; BPQ AX/UPD Link /* not needed KF4LLF-7,250,2 ; BPQ AX/UPD Link AC4ZR-1,250,2 ; BPQ AX/UPD Link W4BFB-10,250,2 ; BPQ AX/UPD Link KK4HOK-7,250,2 ; BPQ AX/UPD Link KB4HJQ-7,250,2 ; BPQ AX/UPD Link W1REP-3,126,2 ; BPQ AX/UPD Link KD4ZVM-7,80,2 ; BPQ AX/UPD Link KU4GW-7,250,2 ; BPQ AX/UDP Link */ *** ; Denotes end of locked routes /* Applications: You can define additional Node commands that are available to your users. These may connect to applications running on you computer, or be aliases or 'shortcuts' to other node commands. For example you can define the command "BBS". This can either be set up to connect to a BBS running on your computer, or to be an alias for a command that connects to a BBS on another system. You can set up a callsign that if connected to will select the command, and if required cause the call to be added to your NODES list. The format is: APPLICATION n,CMD,New Command,Call,Alias, Quality n Application Number. You can define up to 32. CMD The command the user types New Command (optional) The Node command to be run Call (optional) The call which directly invokes CMD Alias and Quality (optional) If specified, causes an entry for Call and Alias to be added to your NODES table with the specified Quality For example: APPLICATION 1,BBS,,G8BPQ,BPQBBS,200 APPLICATION 2,CHAT,,G8BPQ-1,BPQCHT,255 APPLICATION 3,DX,C DXCLUS Associated with each Application number is an applications mask. Most BPQ32 applications can be configured to use any Application. An exception is AR-Cluster using the OCX interface, which must be Appl 1. Normally an Application Mask is configured in the application, rather than an Application Number. The following table gives the Application Mask values: Appl: 1,2,3,4,5,6,7,8, etc Decimal Mask: 1,2,4,8,16,32,64,128, etc Hexadecimal Mask: 0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80, etc */ APPLICATION 1,HOST,,KA2DEW,PIUSER,100 ;APPLICATION 1,CHAT,C 2 CLTCHT,,,0 ;;APPLICATION 1,DX,C 2 KF4LLF-8,,,0 ;;APPLICATION 2,RMS,C 2 KF4LLF-10,,,0 ;;APPLICATION 3,BBS,C 2 W4BFB-9,,,0