This file is indexed.

/usr/share/doc/fbbdoc/html/docwp.htm is in fbbdoc 1:1999-2.1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <title>White Pages</title>
</head>
  <body background="/back_fbb.jpg">
     
<h1 align="Center">   White Pages<small>.</small> </h1>
     
<p align="Center"> Database and server. </p>
   
<pre><big><b><a href="docwp.htm#Description">DESCRIPTION.</a></b></big>
<big><b><a href="docwp.htm#Update">UPDATE REQUESTS.</a></b></big>
<big><b><a href="docwp.htm#DataDesc">DATABASE DESCRIPTION.</a></b></big>
<big><b><a href="docwp.htm#Manager">DATABASE MANAGER.</a></b></big>
<big><b><a href="docwp.htm#Epurwp">EPURWP AND UPDATE MESSAGES.</a></b></big>
<big><b><a href="docwp.htm#Wpserver">WP SERVER REQUESTS.</a></b></big>


<a name="Description"></a><big><b>Description.</b></big>

 The White Pages implementation in FBB software has been based upon the W0RLI
model (many thanks to Hank for his work). I've tried to maintain a high
degree of compatibility whilst making further development to my own criteria.

 I shall try to explain how FBB White Pages works.

I have probably mis-understood some features of W0RLI's specifications but I
hope that this will not greatly  affect the compatibility.

 First of all, why do we need White Pages?

 White pages has some interesting features. Not least :

- A dynamic database containing users Name, zip code, HomeBBS and QTH (as
well as other fields).
- Automatic addressing/routing of mail to the HomeBBS of the destination
callsign.
- A White Pages server for remote interrogation of the database.

 The database information is updated, firstly from the information given by
users when they exercise the N, NH, NQ and NZ features at their home (or
another WP equipped) BBS; and secondly, from information contained within the
messages headers as they traverse the Network.

 The database is dynamic, it is changing constantly, and it updates itself in
real time. Either as soon as a line of a message header is received when in
ASCII forwarding mode, or when a complete message is decoded in compressed
forwarding mode; or else when a user disconnects from the BBS (this is to
prevent multiple updates being generated during a session).

 So, the database can hold many callsigns. In fact it maintains a list of all
the callsigns seen from all individuals sending messages as well has all of
the BBS's seen in the forwarding paths. More than 10,000 valid records is not
impossible today, and this will surely increase as the number of packet radio
users grows with each day. This will allow user to send messages to other
users around the world without necessarily having to be concerned to find
their full Hierarchical Address, the old principle of the user typing:

BBS PROMPT &gt;
SP K6VAZ @ KM6WU.#CENCA.CA.USA.NOAM

should now be replaced by the user entering:

BBS PROMPT &gt;
SP KM6VAZ

The BBS will add the HA and send the response:

BBS PROMPT &gt;
SP K6VAZ
WP ROUTING @KM6WU.#CENCA.CA.USA.NOAM ADDED
TITLE ?

 If the routing destination HA is not recorded in the database then the user
will be advised and prompted to enter the address manually.

 Another capability of FBB White Pages is the automatic sending of update
messages to other BBS's. These messages are generated every night during
House-Keeping and are a listing of the additions and modifications made to
the database during that day. These messages are sent addressed both to and
from WP.

 When passing through or terminating at another White Pages equipped BBS, the
message will automatically update the 'local' WP database at that BBS. This
feature MUST BE USED WITH CARE, as updates can generate a lot of traffic and
the Network must be able to support it.

*** It's not be a good idea to send these update messages on HF ! ***

 A built-in White Pages server (WP) will provide information from the
database in response to a remote request. This server is described in
paragraph xx.

 All files used by White Pages are in the FBB\SYSTEM\WP subdirectory.

Trace for WP updates (for debugging etc):
in the \windows\winfbb.ini file, add the following line in the main section :
TraceWp=1
You can replace 1 with 2 or 3. 3 gives the maximum information.
A file WP.DBG will be created in the WP directory.



<a name="Update"></a><big><b>UPDATE REQUESTS.</b></big>

 The  database  receives  information  from  three  sources.  The  s
indicated on each line of the update message as a suffix to the callsign:-

 - The /U suffix denotes that the information in this line of the   update is
User-Generated as is therefore assumed to be CORRECT. This information is
collected by the BBS whenever the User responds to the N, NH, NQ or NZ
commands. The date associated with the information is the date when the User
disconnects that session.

 - The /G suffix denotes that the information in this line has been gathered
by examining the header of a message to GUESS at which BBS the sender is
registered. The HomeBBS of the User is assumed to be the BBS shown in the
first R: header line. The date associated with this information is the date
shown on this R: header line.

 - The /I suffix denotes information about forwarding BBS's taken from the R:
header lines. This information can consist of the HA (the Hierarchical
Address), the QTH (within brackets) and the zip code (following the Z:). The
date of this information is again taken from the R: header line of the BBS in
question.

 When the BBS is idle the Database Manager is called and the update
information detailed above is processed.


<a name="DataDesc"></a><big><b>DATABASE DESCRIPTION.</b></big>

 The database  is  composed  of  individual  records.  Each  record 
following components :

- Callsign and Name.
- Active information.
- Temporary information.

 The active and temporary information components are identical and each
includes the following fields:

- Date of the information
- Hierarchical Address   (one word)
- Zip code          (one word)
- Qth               (one or more words)

 Only the Active information is used for addressing/routing and database
requests.


<a name="Manager"></a><big><b>DATABASE MANAGER.</b></big>

 This process freshens the database, following receipt of the new or changed
information detailed above.

 The update subroutine will first look for an entry in the database for the
callsign which matches the received information. If it does not exist then a
completely new record will be created in the database and the information be
used to fill what fields it can, in both the active and the temporary
components. The date will be then changed to the one associated with the
update information.

 If the record does already exist, then the unknown fields of both the
temporary and active fields will be filled in, and those fields already known
in the temporary part will be replaced by the new information if the date new
information is younger than that already on file. The date will then be
adjusted such that it is consistent with the updated information.

 If the new information is of the /U category, then the current fields will
be replaced by the new information in both the primary and secondary (Active
and Temporary) parts of the record, as this information has been input
directly from the user. If the information was of another category then only
the secondary (Temporary) part of the record will be updated, so the Active
or primary record will remain unchanged at this time.

 If a field is changed, a flag giving the update request type is then
validated. If the /U flag is already validated, it will not be replaced. This
flag will be used in case the WP update messages are validated.


<a name="Epurwp"></a><big><b>EPURWP AND UPDATE MESSAGES.</b></big>

 <a href="toolepwp.htm">EPURWP</a> is a maintenance program for the White Pages database which should be<br>run during each House-Keeping cycle.<br><br> The program conducts a validity check on each of the entries, and discards<br>any "unwanted" records (in the case of an invalid callsign for example).<br><br> The program also checks the date of the last update of the temporary part of<br>each record. If this date is older than a pre-defined number of days (given<br>as a parameter, default 40 days) then the temporary part is considered as<br>stable, and then the known fields will be transferred to the Primary or<br>Active part, which is then used to answer all addressing/server requests.<br><br> This process ensures that the database is tolerant of users sending messages<br>from mailboxes other than their normal HomeBBS. Once the Active or primary<br>part of the record is set, then the temporary (or secondary) part can be<br>updated/changed many times. Only once this temporary field has remained<br>unchanged for 40 days, or the user exercises any of the "Nx" options at his<br>new HomeBBs will the Active or Primary record be changed.<br><br> If the changes to the database are validated, then the record is marked with<br>an update flag and a line will be appended to the file MESS.WP<br><br> Each line of the outgoing WP update messages looks like :<br><br>On 930123 FD1CDC/U @ F6FBB.FMLR.FRA.EU zip 31240 Claude Saint Jean<br><br> Any unknown fields are replaced by "?" like :<br><br>On 930123 FD1CDC/U @ F6FBB.FMLR.FRA.EU zip ? ? Saint Jean<br><br> The U character is the update type.<br><br><br><a name="Wpserver"></a><big><b>WP SERVER REQUESTS.</b></big>

 FBB software has an internal built-in WP server.

 The format of the WP server requests are as shown below :

BBS PROMPT &gt;
SP WP @ F6FBB
Title of message
WP Request (does not matter)
Text of message

F6FBB ?
EA3* ?

^Z (or /EX)

 The server will answer to the request with a private message, addressed to
the sender, and routed to the BBS according to the first R: header line of
the incoming request.

 The reply message is restricted to a maximum of 100 lines, as the use of
wildcards in the request could generate a unacceptably long replies.&nbsp;&nbsp;

<font color="#800000">This page was last updated 17-Apr-99</font>

</pre>
     
</body>
</html>