sync the user database every 15 secs
[spider.git] / Changes
1 26Jul00=======================================================================
2 1. added wantgrid (to control display of grid square info on DX Broadcasts)
3 2. added lastoper for controlling periodic demands for user info from other
4 nodes.
5 3. added spiderFAQ stuff from Ian G0VGS and latest update of the admin manual
6 4. changed updating and deleting from user file in an attempt to keep down
7 duplicates and possibly corruptions.
8 5. added a DXUser::export routine to allow the cluster to automatically 
9 export the user data in ascii from cron.
10 6. added a line in the ISSUED crontab to do the export once a week
11 7. delete annok and dxok if set to 1 in user records.
12 8. added export_users command to allow arbitary exporting of user files
13 9. added set and unset/dxgrid command to allow control over the grid squares 
14 on DX announcements
15 10. Removed export_user.pl (no longer needed)
16 11. made import_users.pl accept a non related input filename and always
17 update the current user file.
18 12. added an 'auto rcmd <node> for/oper <call>' for people I can see on the
19 cluster that issue spots and for whom I have no qra info (no more than once
20 a month). This isn't the default - set $send_opernam in
21 /spider/local/DXProtVars.pm (copied from /spider/perl). Good for gateways.
22 13. Despace spot texts properly again for deduping purposes.
23 14. Corrected Pc84/85 handling a bit.
24 15. Sync the user database every 15 secs to see whether we can reduce the 
25 corruptions and duplicates.
26 25Jul00=======================================================================
27 1. ignore \n in ax25 mode for C client.
28 2. remove extra space at the end of a DX spot announce when no grid square
29 is output.
30 3. added new admin manual from Ian G0VGS
31 20Jul00=======================================================================
32 1. Finally managed to update my source with the sourceforge one
33 2. added user->qra cleaning in various places
34 3. added four digit locator strings to broadcast DX spots (for users).
35 4. PC11 with blank callsigns should now be ignored.
36 5. put back the unpadding to the PC11 dup checking to catch spots with added
37 blanks at the end of lines.
38 25Jun00=======================================================================
39 1. added 0 to the regex that checks for valid data on the cluster.pl->client
40 channel - this will allow G0VGS and G0RDI to connect....
41 2. removed technically unnecessary /= 60 from the dup routines to see if 
42 Arnold's Sparcs don't then crash.
43 19Jun00=======================================================================
44 1. move ann_dup, spot_dup etc to dup_ann, dup_spots etc
45 2. made mode 3 the default line ending convention for all out going connects
46 via telnet in client.pl
47 18Jun00=======================================================================
48 1. fixed line ending ambiguities (I think) for telnet connections. Well 
49 actually only really band aided it. It works but isn't how I want it. 
50 Client.pl has got to go....
51 2. Added 1.21 of Ian G0VGS's admin manual
52 17Jun00=======================================================================
53 1. I believe I have fixed all the login/logout 'broken pipe' errors
54 2. Added G0RDI's 'links' command.
55 3. added update_sysop.pl which cleans out all previous versions of the sysops
56 information from the user database and recreates it with that in DXVars.pm
57 4. Added node type to links and who
58 5. Hardened up the cluster->client link in the cluster software so that 
59 rubbish on port 27754 doesn't (usually) crash the cluster.
60 14Jun00=======================================================================
61 1. fixed sh/node crash
62 2. fixed RTT in who.pl
63 13Jun00=======================================================================
64 1. fixed looping bug in C client on ending.
65 12Jun00=======================================================================
66 1. Added RCMD for clx
67 2. Added WCY processing
68 3. Added new node types (clx, spider, dxnet, arcluster)
69 4. Store echo settings
70 5. Store pagelth settings
71 6. sort out source of DXVars for callbot.pl
72 7. added sh/isolate
73 8. added sh/lockout 
74 11Jun00=======================================================================
75 1. removed extraneous DXDebug from DXUtil
76 2. added help for set/echo
77 3. Centralised all spot, wwv and ann dup handling into respective packages.
78 4. Created new AnnTalk package (for above and OOing announce and talk 
79 handling).
80 5. Fixed problem with outputting lines with | in them to console.pl.
81 10Jun00=======================================================================
82 1. got rid of some more nasty bugs in sh/qra.
83 2. fixed 9A3xx to always be Croatia (and not Haiti!).
84 09Jun00=======================================================================
85 1. change some print commands in DXMsg to dbg('err'...
86 2. overloaded confess, croak et al into DXDebug and removed Carp from 
87 everywhere and checked that the necessary debugging really does go into
88 the debug files now.
89 3. changed print statements in cluster.pl to dbg('err',... so they go into
90 the debug files as well.
91 4. Altered the logic around duplicate spots, reduced the length of comment
92 checked to 20 characters (this should solve some problems including those
93 people sucking ar-cluster spots with prefixes in the extreme rh end). 
94 08Jun00=======================================================================
95 1. fixed problem with binary characters from cluster->client
96 2. added set/echo and unset/echo commands
97 3. echo login characters on login: prompt for C client
98 4. Send \r\n on telnet connections for C Client
99 5. Make echoing the default option (for M$ telnet clients :-()
100 11May00=======================================================================
101 1. fixed looping in Msg.pm (at last)
102 10May00=======================================================================
103 1. wrote a cross between 'tail -f' and grepdbg so that you can watch the
104 debug files for particular strings and only have them print out. 
105 05May00=======================================================================
106 1. rewrote parts of Msg.pm and client.c so that the messages no longer use
107 a length word at the front of each one. They are simply strings of characters
108 separated by a \n. No binary characters are allowed (they are encoded as %nn)
109 a la HTTP. This hopefully cures Arnold's problem and also make it more
110 secure anyway. It also paves the way for the ax25/ip multicast client.
111 30Apr00=======================================================================
112 1. put some extra checks and balances in to message send routine in Msg.pm to
113 see if I can prevent the error seen by Arnold (which I think is only likely to
114 appear in heavily loaded sites).
115 25Apr00=======================================================================
116 1. Changed reply so that you can reply to more than one address privately
117 31Mar00=======================================================================
118 1. fixed nnn-mmm in kill (erase/delete) msgs so that mmm is also deleted and
119 not just nnn -> mmm-1.
120 2. Added an autosplit to message importing so that messages are split
121 automagically into bits if the filename used in the import directory starts
122 with "split". This will add a [1/5] type string on the the end of the subject. 
123 3. dedupe more aggressively on the text of Spots so that only the 1st 27 chars
124 of text are considered (as opposed to the whole lot).
125 30Mar00=======================================================================
126 1. altered client.pl connect code so that it doesn't falsely recognise 
127 /spider/src/client as a 'client' instruction.
128 28Mar00=======================================================================
129 1. Added buffering to client 
130 2. Fixed LOGIN so that you can login with an arbitrary callsign
131 27Mar00=======================================================================
132 1. updated wpxloc.raw and rsgb.cty for 4W and TX0.
133 2. display 'start time' rather than 'last start time in' in who.
134 3. Allow local users to see their own sh/talk or sh/log stuff.
135 4. A more robust version of the C client.
136 5. Added a message exporting command 'export'.
137 6. allow swopping on all messages, including imported and manually sent ones
138 7. S A < B @ C $BID now works from the command line and thus bbses ought to
139 be able to send messages into the cluster. Bids are (currently) ignored.
140 26Mar00=======================================================================
141 1. first cut of C client
142 18Mar00=======================================================================
143 1. fixed convkeps.pl so that it accepts more formats for floating point.
144 08Mar00=======================================================================
145 1. tidied up Sun.pm and sh/sat
146 2. fixed sh/qra so that the correct lat/long is displayed if only one locator
147 is given.
148 10Jan00=======================================================================
149 1. added Steve Franke's new Sun.pm and show/satellite command
150 08Jan00=======================================================================
151 1. really removed the restriction on 0 length messages.
152 2. added a periodic msg file import system a la FBB. Stick one or more files
153 into /spider/msg/import with a suitable SEND line, subject and the text and 
154 it will import it. The importer will accept some BBS syntax (eg < GB7TLH) to
155 allow you to customise the 'from' callsign.
156 03Jan00=======================================================================
157 1. changed the copyright statement in sh/version!
158 2. added sh/date with special "be compatible with ak1a" syntax for the output
159 of sh/date with no arguments, otherwise the same as sh/time. A special favour
160 to G4PDQ...
161 3. and another one, added show/node especially for G4PDQ.
162 01Jan00=======================================================================
163 1. Fixed Julian routines to get rid of the millenium bug! (do as I say, not
164 as I do!).
165 2. updated gdx.pl so that external programs can do a sh/dx just as a normal
166 user can. On reflection this could be used as a model for all sorts of 
167 "external" interface routines.
168 3. renamed gdx.pl as showdx.
169 11Dec99=======================================================================
170 1. added missing pc48 so that it calls the DXDb::process routine 
171 10Dec99=======================================================================
172 1. allow msgs to marked as read or unread
173 02Dec99=======================================================================
174 1. DX command doesn't recognise '6M' as '6m' in SH/DX ON 6M.
175 2. set/node now sets the homenode as the callsign.
176 3. changed the label for the 18Mhz band from '18m' to '17m' in the bands 
177 table. 
178 01Dec99=======================================================================
179 1. started the callbot which lives at n2tly.dxcluster.net 9000.
180 2. added www.qrz.com
181 3. added www.buck.com
182 4. added k4ute at no4j.com
183 28Nov99=======================================================================
184 1. fixed all the stupid errors introduced in 1.36 confusing DXUser->get with
185 DXCluster->get_exact.
186 24Nov99=======================================================================
187 1. extended badmsg.pl stuff so that it works like the forward file and allows
188 one to reject on to, from, origin and subject fields.
189 2. added a swop.pl again in a forward.pl like format that allows simple swop
190 for a field or test on a field and set another.
191 3. Fixed the problem that read private mail follows you around as well as
192 unread private mail does.
193 4. Change the logic of connections so that the node will accept callsigns with
194 SSIDs to -8 as different entities from each other. SSIDs > 8 are subtracted 
195 from 15 and are assumed to be coming in via netrom diddled connections. This
196 affects lots of the commands as well. I may not have got them all.
197 5. Hangup clients on HUP signals. I originally ignored them, for reasons that
198 are now lost in the mists of time. HUP signals now cause clients to die 
199 (cleanly) and disconnect everything correctly.
200 6. Added show/time command
201 21Nov99=======================================================================
202 1. lose extraneous rubbish after the callsign as sent by BBSes.
203 2. Change end label on sh/moon to RGain dB rather than Loss dB.
204 3. Remove spurious call to DXCluster->get_exact in pc50.
205 4. Allow rcmd to locally connected nodes that are not (for some reason) in the
206 nodes table.
207 5. Try and send a PC39 in more cases to a cluster that I want to disconnect
208 from in the hope that it notices and disconnects its end.
209 20Nov99=======================================================================
210 1. Added set/unset logininfo which will tell anybody that has this set when
211 someone has either logged in or out of this node.
212 2. Added set/pinginterval command which alters the length of time between
213 pings sent to nodes, the value is minutes < 120 and seconds above that, 0
214 means disable pinging (not recommended).
215 3. If someone does a sysop whilst connected via ax25, don't show privilege
216 level or passwd in stat/user.
217 4. Fixed the problem with the dx command where if the callsign ended in a ?
218 then the call and the freq would be replicated in the remarks.
219 5. Set/unset ann, dx, talk, beep, wx, wwv all are now permanent (ie stored in
220 the user file)
221 19Nov99=======================================================================
222 1. Added new version of sh/sun and also sh/moon from Steve K9AN
223 2. Added rtt to who.
224 3. added Aliase for show/tnc_sta to who.
225 4. added Alias for show/uptime to sh/cl 
226 18Nov99=======================================================================
227 1. Added ping obs counter together with Time::HiRes timers. This will dis-
228 connect nodes that fail to respond to 3 ping requests (on the 4th attempt). 
229 The default time is a ping every 3 mins, therefore a link will be struck out
230 after 12 minutes of nil response.
231 2. Maintain a table of outstanding connects to other nodes and prevent over-
232 laps (special favour to G0RDI).
233 17Nov99=======================================================================
234 1. Started using Data::Dumper for things again
235 2. 'Fixed' DXUser file corruption?
236 3. Allow multiline (ie lines with \n in them) output in $DXChannel::send 
237 4. Added Andrew K9CW's updated wpxloc.raw, regenerated prefix_data.pl
238 5. Put in callsign matching and stuff into sh/sun.
239 14Nov99=======================================================================
240 1. added BBS.pm to start BBS input of mail
241 2. fixed eval in DXUser to log errors rather than banging out
242 12Nov99=======================================================================
243 1. added sh/sun command kindly supplied by Steve K9AN.
244 2. allow ^Z on its own on a line to terminate a message
245 08Nov99=======================================================================
246 1. added spoofing (mk1 version) for sysops, useful for those little jobs like
247 reseting a user's qra locator and such like "spoof g7brn set/qra jo02lq".
248 2. fixed set/location so it stores the qra locator in the qra locator slot, 
249 NOT the lat/long (who wrote this stuff...?).
250 07Nov99=======================================================================
251 1. reduced the amount of stuff compared against for dup announces.
252 2. Check the regex for DK0WCY announces produces results before storing it as
253 a WWV.
254 3. Added some logging for set/priv (un)set/lockout.
255 4. Added test long path calc to sh/muf
256 5. Only wonder down the msg queue every minute
257 6. Put in the initial DB code (at last), you can create and remove local and
258 standard remote dbs, you can import AK1A style .FUL ascii databases, you can
259 enquire on a local or remote database.
260 7. A return ping to a node will clear down all outstanding pings to
261 that node (which might cause some confusion if more then one ping is
262 outstanding for a node, but then - shit happens).
263 04Nov99=======================================================================
264 1. Removed ~ from the end of the PC18.
265 2. Removed a hangover from duff character checking in cluster.pl
266 3. Stop PC frames that are to be routed, being routed back to themselves.
267 03Nov99=======================================================================
268 1. Simplified command caching so it uses anonymous subroutines, you should
269 also get error messages back on the console now when developing.
270 2. Allow locally connected AK1A clusters that for some obscure reason don't
271 issue PC19s to still appear as connected and allow them to acquire users.
272 31Oct99=======================================================================
273 1. updated Minimuf.pm and show/muf.pl to the fixed versions sent to me by
274 Steve Franke K9AN. 
275 2. Made set/badnodes work, added show/badnodes. This is an interim fix until
276 input spot filtering works.
277 24Oct99=======================================================================
278 1. fixed announces so that nodes only get one of them (not two).
279 2. Altered the select timeouts to prevent apparent excessive CPU usage on
280 multiprocessor machines (or at least that is what seems to be the trouble
281 here). 
282 22Oct99=======================================================================
283 1. allow filter CALLSIGNS to be in upper or lower case.
284 2. create the concept of input and output filters, input filters are of the 
285 form "in_$call.pl" eg: "in_g1tlh.pl" (or "in_G1TLH.pl"), output filters are 
286 "g1tlh.pl" (or "G1TLH.pl").
287 3. all users can now filter on spots, ann and wwv (assuming the sysop has set
288 the filters up - still no user creatable filters. Nodes can filter on both
289 input for announces and output for all of these. I would recommend setting 
290 up a few filters that are likely to be wanted and then symlinking callsigns
291 to them as you get requests.
292 4. added callsign and length of history/position of screen stats to console.
293 If you want to change the colour of the callsign you will need to copy the
294 Console.pm to your /spider/local directory and change the $mycallcolor equate.
295 21Oct99=======================================================================
296 1. fixed reply so that reply b or reply nop generate a bulletin with the 
297 correct address.
298 2. implemented sh/muf command.
299 3. reduced privilege of catchup and uncatchup to 5. This so that, suitably
300 privileged, nodes that occasionally link can rcmd a "catchup <nodecall> all"
301 to the node they are connecting to and thus prevent a large tranche of, 
302 potentially duplicate, mail. This isn't an issue for DXSpider, but may be
303 an issue for any AK1A clusters you are connected to.
304 20Oct99=======================================================================
305 1. Translated all the subroutines of minimuf into perl as Minimuf.pm
306 2. Limited the length of an ANN that is saved for de-duping to $pc12_dup_lth
307 (def 72)
308 3. help command should now return stuff that you expect.
309 4. reduced necessary privilege to use 'MSG' command to 6.
310 5. Correct the count of spots and wwv for a merge.
311 6. Allow decodes of DK0WCY-3 WWV data beacon announces
312 7. rewrote send so that an SB doesn't send a buckshee bull to NOPRIVATE!
313 8. Changed default colouration on console so that all spots >= 50Mhz are red
314 9. Fixed init command so that PC21s are sent down non-initted channels
315 10. Allow forwarding of unknown private mail. This means that you can set up
316 forwarding of 'foreign' mail across to and by gateways using the same 
317 mechanism as bulletins (/spider/msg/forward.pl).
318 11. Allow line wrapping on the console (G0RDI, G0VGS et al).
319 18Oct99=======================================================================
320 1. changed help command so that it works correctly with multiple title lines.
321 2. added to address to the list of things a message checks to see whether it
322 is a duplicate (how on earth did it take _this_ long to find this one?).
323 3. Changes S CC so that the callsign it says it has sent to is the real one
324 (request from G8TIC)
325 21Sep99=======================================================================
326 1. allow zero messages to be stored (request from G4PDQ)
327 2. make DX more flexible and change spotter syntax to be consistant with
328 sh/dx (request from K9AN)
329 30Aug99=======================================================================
330 1. remove -@ as well as \d from SSIDs for spots
331 2. remove WEB and/or NET from the front or rear of callsigns in Prefix.pm
332 29Aug99=======================================================================
333 1. Added msg command to allow the changing of To, From, Subject and so on the
334 messages. This seems particularly important just now as a whole raft of G3's
335 seem to be putting out non private bulls to callsigns.
336 2. While I am at set messages to TO fields that appear to be users to private
337 if they have been sent as bulls.
338 3. Add DISTROs, if a callsign field appears in /spider/msg/distro in upper
339 use that as a list of callsigns to send further. Note this is potentially
340 recursive as callsigns in a distro can be distros.
341 25Aug99=======================================================================
342 1. check the date of a WWV much more carefully.
343 24Aug99=======================================================================
344 1. Prevented spots with lowercase callsigns being forwarded. This opens a
345 much bigger can of worms which I shall have to address later.
346 17Aug99=======================================================================
347 1. all protocol except PC29 containing %XX characters will be dumped.
348 2. Changed console.pl so that if you start typing it moves the top window
349 back to the bottom.
350 19Jul99=======================================================================
351 1. Added iota and qra clauses to sh/dx as well, these take optional arguments
352 and will look for the appropriate strings.
353 17Jul99=======================================================================
354 1. Started database integration.
355 2. added qsl clause to sh/dx that searches for qsl or via in the dx info
356 16Jul99=======================================================================
357 1. drop frames with 'illegal' characters in them (but pass frames with 
358 embedded %XX characters).
359 15Jul99=======================================================================
360 1. Changed grepdbg to accept a regexp. More useful (to me anyway).
361 2. Altered init command so that it doesn't send PC21s down the initted 
362 channel.
363 10Jul99=======================================================================
364 1. added an explicit disconnect from my side for already connected calls. This
365 appears to have fixed a problem where if two consoles connect at the same time
366 with the same (sysop?) callsign the cluster would stop.
367 2. added some debugging in the Message handler to allow more state to be seen.
368 3. Message handler now seems to work better for longer and doesn't spew out
369 PC42 aborts with quite such gay abandon.
370 05Jul99=======================================================================
371 1. added stat/msg and stat/cluster commands to allow me to poke about inside
372 the msg and cluster node tables.
373 04Jul99=======================================================================
374 1. removed silly 'new message has arrived' to connected nodes 
375 2. added a ! command to the console.pl program; works like the bash shell.
376 01Jul99=======================================================================
377 1. Altered priv to 5 for connect.pl to match disconnect for nodes
378 29Jun99=======================================================================
379 1. fixed merge command that I broke.
380 2. added some randomness in waittimes for aborted outgoing messages 
381 3. Message Queuing now only occurs every 5 minutes (configurable if anyone 
382 wants to write the command for doing it) and on receipt of a PC16. This is
383 a further attempt at sorting the crossing of messages!
384 4. a PC33 will cause another attempt at queuing. If you are on a roll, keep
385 going!
386 28Jun99=======================================================================
387 1. console.pl now works with history and editting.
388 2. added scrolling to stuff sent by the cluster.
389 3. added colours to things.
390 27Jun99=======================================================================
391 1. added WWV filtering
392 2. added timeouts to for forwarding Messages, also added a waiting time for
393 failed (stalled) outgoing messages.
394 3. Incoming messages will now have priority over outgoing messages to the
395 same node.
396 4. Added 'catchup' command which will 'catchup' messages to date for a node. 
397 This means that when you start forwarding to a node, it doesn't get all the
398 messages queued up that are probably old.
399 5. added 'uncatchup' which does the opposite of the above.
400 6. fixed kill full and PC49 handling so that it actually works.
401 7. Fixed local aliases so they add to the front of the standard ones. This
402 means you only need to add your specials or override the system ones you need
403 to.
404 21Jun99=======================================================================
405 1. changed regex for cluster->client msgs so that strings like |---| are no
406 longer ignored.
407 20Jun99=======================================================================
408 1. prevented a merge to myself (causes a loop)
409 18Jun99=======================================================================
410 1. fixed a problem with DXLogPrint repeating log entries.
411 2. altered the permissions on disconnnect so that priv 5 users can disconnect
412 clusters, but still require priv 8 to disconnect users.
413 3. made sure that an incoming PC18 clears out all the cluster info for
414 that channel before re-initialising.
415 4. add init command.
416 5. disconnect users before nodess on shutdown
417 15Jun99=======================================================================
418 1. added grepdbg program (so you can search your debug files and get times
419 and dates of incidents).
420 2. Moved DXVars.pm to DXVars.pm.issue to force new users to cp it to their
421 local directory.
422 3. added $allowzero to DXProt to allow thru PC19s with zero protocol versions.
423 14Jun99=======================================================================
424 1. changed IO::File in help and apropos to IO::File
425 2. added a check for isa('DXNode') for PC50s
426 08Jun99=======================================================================
427 1. Started work on the curses based operator console.
428 03Jun99=======================================================================
429 1. cluster seems to have a memory leak, put DESTROY functions in where 
430 appropriate.
431 2. try to make sure that PC21 commands are not issued inappropriately and
432 also reformat PC19 for onward broadcast so that nodes coming in on loops are
433 dropped from those broadcasts.
434 3. make sure PC16,17,19,21 doen't affect locally connected nodes.
435 4. Changed all instances of FileHandle to IO::File.
436 01Jun99=======================================================================
437 1. removed a output of an unwanted pc21 for isolated nodes
438 31May99=======================================================================
439 1. Added checking for PC16,17,19 and 21 to make sure that they come in from
440 the channels that they are supposed to.
441 2. Pass the RCMDing node's priv level to the command (rather than the 
442 connecting node's privilege level).
443 3. Pass thru merge requests for other nodes.
444 4. Removed a warning from client.pl
445 5. routed external DB commands and drop them (for now) locally
446 6. routed external mail commands (ie those addressed elsewhere)
447 7. routed external PC26/27 lines 
448 25May99=======================================================================
449 1. try to make the lastin value correct even for local users
450 2. got rid of the stupid bug that failed to print out the offline message
451 but put a "*main::STDOUTmain" for every line of that message instead.
452 3. Ported to 5.00503 (well actually just installed it and it just runs). 
453 4. Added who command
454 23May99=======================================================================
455 1. Got rid of some of the useless error messages on global destruction when
456 quiting a program.
457 2. Stuck -w back on client.pl
458 23May99=======================================================================
459 1. tried to change connection to raw mode for cluster connections
460 2. sh/c and sh/u are now sorted in alphabetical order
461 3. Limited the number of queued dx spots when composing messages to 20 (the 
462 oldest one is lost for every one added above 20).
463 4. Added generalised shell globbing everywhere I think it is useful, including
464 sh/dx, dir, sh/files etc
465 5. Made dir more compatible with ak1a and added 'to' and 'from' call searching
466 it should now do everything that ak1a does except counts.
467 6. added similar functionality to kill command so that you can kill ranges, to
468 and from callsigns etc.
469 22May99=======================================================================
470 1. added check for -1 from Date::Parse and return undef for out of range dates
471 2. added show/files and type commands
472 21May99=======================================================================
473 1. made set/nodx work again.
474 2. made dx stuff queue nicely again when sending messages.
475 18May99=======================================================================
476 1. Added announce dup checking.
477 2. Added system announce filtering.
478 08May99=======================================================================
479 1. Added a bit more checking to the rcmd thing to make more sure that this
480 rcmd isn't coming from an imposter. Not possible to prevent everything 
481 ofcourse, just make it a bit harder.
482 2. altered set/lockout and set/privilege so that they can't executed remotely.
483 3. Added some code to reject rubbish (with invalid binary characters) protocol
484 or user lines as input.
485 4. prevented PC command being executed remotely :-)
486 05May99=======================================================================
487 1. change the connection overlap from an abort to a disconnect.
488 02May99=======================================================================
489 1. Added the mechanism for doing user spot filtering for spots in the cluster 
490 (no user control just yet - but sysops can do it).
491 2. Fixed problem with nodes sending out the node lists of isolated nodes.
492 30Apr99=======================================================================
493 1. Try to make it even more AK1A friendly by putting the node list out in the
494 'correct' order.
495 2. added code so that local users and commands go to all connected nodes 
496 INCLUDING the isolated ones.
497 26Apr99=======================================================================
498 1. added set/user command as a hack, please use this with care, there is
499 very little checking.
500 2. added export_opernam.pl which is a basic reader of AK1A opernam.dat files
501 to stdout
502 25Apr99=======================================================================
503 1. Fixed problem with filtered spots not coming out.
504 2. Added the possibility of filtering on channel callsign
505 20Apr99=======================================================================
506 1. altered order of undefing and closing of user file in an attempt to make 
507 corruptions/missing users less likely.
508 2. made messages that are addressed to the node call appear to the alias call
509 3. check dates much more rigourously.
510 4. ignore SIGTERM and SIGINT during shutdown of the cluster
511 15Mar99=======================================================================
512 1. added $actiondata to filter line to allow per action data such as no of hops
513 2. fixed a silly problem in talk for non-existant callsigns
514 3. Added sysop command
515 02Mar99========================================================================
516 1. Changed DXUser so that it uses a homemade import/export hash routine 
517 2. DXUser now uses a DB_BTREE file
518 3. Added export_users.pl, import_users.pl and convert_users.pl
519 25Feb99========================================================================
520 1. added NL language stuff.
521 2. added set/language
522 21Feb99========================================================================
523 1. Allowed multiple 'on <freq>' for show/dx
524 2. Made sure the 'on 20m/ssb' thing worked (also 'on hf/cw').
525 3. first cut of the Filtering code, no user commands yet but the file
526 format is defined and manually added filters should work for spots
527 17Feb99========================================================================
528 1. added export_user.pl to export user files (for interest and safety)
529 2. changed DXUser::init to allow O_RDONLY access which may limit the number
530 of coredumps G0RDI seems to get.
531 15Feb99========================================================================
532 1. Added msg forwarding code which uses $main::root/msg/forward.pl.
533 14Feb99========================================================================
534 1. Changed A & K in WWV to be the other way around (I am told by G3IOR that
535 this will mean that we won't have pole to pole aurora nor all the power lines
536 overloading everywhere as well as a result of having values of K > 10).
537 2. allow the '~' character in message bodies.
538 3. Moved $main::data/badmsg.pl to $main::root/msg/badmsg.pl.
539 11Feb99========================================================================
540 1. Fixed a problem with isolated nodes' configurations being sent on sending 
541 local configs to new connections.
542 08Feb99========================================================================
543 1. added a $SIG{ALRM} in the client to actually catch the alarm when it goes 
544 off which means that the netrom/ax25 call programs terminate properly (and not
545 loop as fast as their little legs can paddle, soaking up CPU time).
546 2. Implemented read receipts as an especial request from G4PDQ.
547 3. Fiddled with DXUser a bit to see whether I can stop it core dumping on new
548 users in PC16s on G0RDI's machine.
549 4. Added E4 (Palestine) to Prefix data.
550 30Jan99========================================================================
551 1. Some of the dates we get can cause crashes, tried to make it more robust (oh
552 and Y2K compliant)
553 2. PC16 seem to come in with missing callsigns from somewhere
554 3. added $main::data/baddx.pl which prevents callsigns that are in the list being
555 a) forwarded b) stored and c) (except for the originator, if local) being
556 displayed locally.
557 4. added $main::data/badmsg.pl which deletes any messages whose TO address is
558 in this list (this is largely for european sensibilities). 
559 18Jan99========================================================================
560 1. added present(),presentish() and disconnect() to DXCron so that you can see 
561 (easily) if a station is on the cluster anywhere and also disconnect them
562 locally. 
563 2. added rcmd() to DXCron so you can send an rcmd to someone else from crontab.
564 3. <embarrassment>Fixed create_sysop.pl so that longitude is spelt correctly
565 there as well</embarrassment> made the update work properly. NOTE create_sysop
566 will only do what you expect if all cluster.pl and client.pl programs are 
567 stopped.
568 4. DXCron wasn't reading in reliably on startup, this is now (hopefully) fixed.
569 the -M semantics are rather strange!
570 5. The -w switch is now standard on cluster.pl
571 6. Added last_connect() which gives the last connect time of a user (or now
572 if connected).
573 7. Added present_on(call, node) and presentish_on(ditto) which returns true if 
574 the call is connected to the node.
575 8. incoming messages for users will now send a 'new message' message (instead
576 of merely generating the message)[who wrote this rubbish?].
577 9. Hooked $SIG{__WARN__} and $SIG{__DIE__} so we store these nasty error 
578 messages.
579 10. Print the no of users on restricted protocol links if we have had PC50
580 11. Had a go at making the sh/cl stats more accurate.
581 12. PC11 was trying to call Local::spot1 instead of Local::spot, no warning 
582 previously.
583 13. Added a simple lockfile to prevent more than one cluster running at a time
584 17Jan99========================================================================
585 1. fixed some permission problems on DXLog.
586 2. There is a circumstance in DXMsg which caused the cluster to stop on an 
587 null ref pointer which I can't get to the bottom of but have bandaided out 
588 for now.
589 3. Started filter and Database code.
590 4. Upper cased all the TO callsigns for sending to more than one station in
591 messages.
592 07Jan99========================================================================
593 1. Fixed Geomag after emacs reformatted it wrong so sh/wwv works again.
594 2. Added more range checking in WWV spots (they really are a heap of ...)
595 3. Changed create_sysop.pl so that you can update as well as create the user 
596 file
597 4. Remove spotter's SSID from WWV spots
598 06Jan99========================================================================
599 1. Do some range checking for spots and WWV in the future (got a WWV for Oct 
600 2034 whhich caused a bit of confusion!)
601 2. Make WWV spots broadcast them to the users! (as opposed to merely storing 
602 them)(thank you G0RDI).
603 3. Allow users to do show/announce (thank you JE1SGH).
604 4. Delay broadcasts to users if they are not in a 'prompt' state (means you can
605 add messages and see what you are doing on a busy system)
606 5. Made set/unset dx,ann,wx,talk,wwv do what is expected
607 6. added set/sys_location and set/set_qra to set the cluster lat/long and qra
608 7. New messages will now be announced on logon (if there are any)
609 03Jan99========================================================================
610 1. Upped the version no !!!!
611 2. made the DXProtocol routines much less sensitive to '~' characters (JE1SGH)
612 3. added '^' -> ':' conversions on ann, talk and dx commands
613 4. You can now send messages containing blank lines.
614 5. Fixed merge command problem reported by G0RDI
615 28Dec98========================================================================
616 1. Crossed fingers, got rid of the instabilities caused by execing programs
617 at vast speed (reduced it significantly anyway).
618 2. Personals will now move if homenode is known.
619 3. Added Local.pm for doing local specials
620 27Dec98========================================================================
621 1. Various detail changes to remove some more warning with -w on
622 2. Added DXCron handling - you can do crontabs now.
623 3. Added show/program command so you can see where it is loading your .pm files
624 from.
625 4. Added pc26/27 replies to locally connected cluster's merge (pc25) requests
626 5. Added spotters DXCC and original cluster to Spot data files.
627 23Dec98========================================================================
628 1. Reindented various things
629 2. Added missing $main::mycall on the end of outgoing PC11s (!)
630 3. Check that PC16/17 node calls really are nodes (AFAIAC).
631 22Dec98========================================================================
632 1. Added brackets round callsign if not here for prompt
633 2. Added Iain's set/password routine
634 3. Fixed sh/dx problems (the xemacs indent region messed Spot.pm up!)
635 4. Issued 1.15
636 21Dec98============= late! ====================================================
637 1. fixed problem with missing DXDebug in DXProt.
638 2. Fixed DXDebug so that it actually works as advertised with and without 
639 trailing \n. 
640 3. Added deduping of WWV spots as well (at for date,time,sfi,k and i) dups
641 4. Replaced the 0 in "02-Dec-1998" with ' ' so it reads " 2-Dec-1998", it seems
642 hard to credit it but some 'programs' out there that connect to clusters have
643 problems with the leading '0'!
644 5. In the same vain, included a strictly AK1A compatible sh/heading, apparently
645 this is necessary for the same reason as 4.
646 6. Started contrib tree stored the old show/heading in contrib/g0rdi/show.
647 7. Because I now correctly dedupe spots and wwv (there's a hostage to fortune..)
648 I have added a merge command. 
649 21Dec98========================================================================
650 1. Added "issue" to the client program for 'login' connections
651 2. Added more docs for client program.
652 3. Fixed problem introduced in 1.12 where a connect locally with a callsign of
653 someone connected remotely would stop the cluster.
654 4. issue release 1.13
655 20Dec98========================================================================
656 1. Removed all the warnings I get with perl -w (at least for just starting the
657 cluster and running a few commands).
658 2. Added per node hop control.
659 3. Added some docs on how to use it and isolation
660 4. Made talk command more intelligent in that if the user isn't seen and the
661 user's last node is visible it tries the talk anyway.
662 19Dec98========================================================================
663 1. Fixed problems with sh/rcmd (talk/ann/log) with a callsign as argument and
664 also made what G0RDI wanted work as well!
665 2. Added isolate flag to allow isolation of different networks at a gateway.
666 3. Changed make Makefile.PL to perl Makefile.PL in instructions
667 4. Copied latest instructions to html directory
668 5. Had another attempt at making clients disconnect without hanging everytime.
669 6. Changed msg queuing semantics so that the system routes on exact callsign.
670 7. Changed the protocol version so that it increments with the DXSpider version.
671 14Dec98========================================================================
672 1. Made the telnet thing work a bit better. It still will not work reliably to
673 a real telnetd on port 23.
674 2. Allowed network logins on client by specifying login instead of call.
675 3. made msg handling more robust (PC30 with unknown streams cause PC42), queueing
676 is only done on channels that are in state 'normal'.
677 4. Added pc command which takes a callsign and some text and sends it without
678 mods to the callsign, useful for sending manual PC protocol to unstick things.
679 Also for sending anonymous messages to online users.
680 5. Stopped duplicate messages being stored (it receives them and then bins them)
681 6. Implemented PC49 delete/full from outside (kill full on the inside)
682 7. Implemented the client command in connect scripts so that you can have 
683 different scripts for the same callsign.
684 8. Added sh/wwv command
685 13Dec98========================================================================
686 1. Fixed VS6 lat/long in prefix_data and wpxloc.raw
687 2. Sorted out last in times for remote users
688 3. editted and substitued G0RDI's version of the install instructions over
689 mine in spider/html
690 4. fixed telnet connections
691 5. added connect instructions to html tree.
692 6. Added some more help
693 7. Upissued version
694 12Dec98========================================================================
695 1. Incorporated sh/st, (un)set/lockout, forward/opername from Iain G0RDI
696 2. Added group handling with (un)set/group, show/group. This allows arbitrary
697 groups to be formed (for ann/<group> for example) and is also used to 'filter' 
698 spots, announces, wwvs etc into groups of cluster nodes (useful for creating 
699 disjoint cluster networks)
700 3. **** CHANGE mylongtitude to mylongitude in DXVars.pm ****
701 4. Altered QRA locator routines so they work correctly!
702 5. Fixed all commands that had the wrong mylat(itude) and mylong(itude) names
703 in.
704 07Dec98========================================================================
705 1. Added set/name, set/qra, set/location, set/qth, set/homenode, set/bbs, 
706 set/email
707 2. changed the Msg socket close to a shutdown (hopefully more reliable), this 
708 should stop clients hanging on exit.
709 3. Added Alias support for help
710 4. Added lltos and stoll routines to DXBearing
711 5. Added auto prompting for name, qth, location and homenode if any of these
712 aren't known.
713 06Dec98========================================================================
714 1. Fixed DXBearing::is_qra so that it correctly detects full QRA locators
715 2. Added sh/qra for doing locator distances and bearings
716 3. Added some stuff to Notes.txt on hints for command writers
717 4. Changed help system to use just one file per language
718 5. Started adding more help
719 6. Fixed 24Mhz band limits
720 7. Added apropos command and lots of new help text
721 05Dec98========================================================================
722 1. Added sh/heading and QRA locator calculation stuff
723 04Dec98========================================================================
724 1. Started Changes file
725 2. Added load/cmd_cache.pl to clear cmd cache shortcuts (use this if cluster.pl
726 get confused about where it is getting its commands from eg if you have
727 removed a file from local_cmd 'cos you want to go back to standard one)
728 3. Fixed bull handling at least to the extent that it stores them and
729 doesn't mess up the normal directory handling.
730 4. Fixed the unset/debug command so that it actually does the job!
731 5. Removed the middle line 'written in perl for unix' from show/version.pl