fix both infinite recursion by detecting it
[spider.git] / Changes
1 09Jun01=======================================================================
2 1. more fixes
3 2. add set/debug filter so that you can see why your filters aren't working
4 (for sysops only)
5 3. add ephemera deduping for all those PC41,24,50 etc etc broadcasts 
6 4. Fix a problem with the connect text being sent on outgoing connections
7 (this confuses db0fhf amongst other things)
8 5. catch deep recursion bugs before you run out of memory.
9 6. Make sure that PC16|17|19|21 update as well as add and delete
10 08Jun01=======================================================================
11 1. first cut with new routing code. Created NEW_ROUTE branch
12 2. added acc/route and rej/route commands
13 3. added stat/route_node and stat/route_user commands to look at the routing
14 table entities
15 07Jun01=======================================================================
16 1. move userconfig.pl and nodeconfig.pl to stat/
17 2. fix problem with locally connected users not being removed from the 
18 routing tables
19 3. Fix the build calc to take into account subdirectories
20 06Jun01=======================================================================
21 1. add stat/route_node and stat/route_user commands
22 2. add sh/userconfig command (to show backward links to nodes)
23 3. add sh/nodeconfig command
24 05Jun01=======================================================================
25 1. add set/bbs command
26 2. more work on Routing code.
27 3. status/msg on its own will print the status of the msg system.
28 4. add sh/newconfig command
29 03Jun01=======================================================================
30 1. Fix the problem with ExtMsg and unresolvable IP addresses, hopefully
31 properly this time.
32 15May01=======================================================================
33 1. set/lockout now prevents any outgoing connection taking place.
34 2. Started the new routing stuff which will run in parallel for a while.
35 3. changed the msg timeout arrangements so that it might not get stuck so
36 easily.
37 4. add $DXMsg::bulltopriv global to make msgs to known callsigns private 
38 14May01=======================================================================
39 1. fix problem with re-reading in db definitions for remote databases.
40 2. try to prevent situations where two can (semi) successfully login, probably
41 under load, and get a 'tried to connect whilst already connected' abort.
42 3. change the max number of days to search for spots to 100
43 11May01=======================================================================
44 1. allow stat/msg on priv 1
45 07May01=======================================================================
46 1. set/page 0 switches off paging
47 03May01=======================================================================
48 1. It appears that for ages now, not enough PC19 and PC16s are being sent
49 if you have more than one of them. Sigh..
50 02May01=======================================================================
51 1. put an upper limit on the number of concurrent errors allowed in command
52 mode (20). This should disconnect runaway spot suckers....
53 28Apr01=======================================================================
54 1. fix an occasional problem with 'sorry connected to' messages
55 23Apr01=======================================================================
56 1. fix very long standing bug in storing and transmitting spots. The decimal
57 point was left off :-(
58 22Apr01=======================================================================
59 1. Sysops can now have full privileges if there is a ExtMsg listener on 
60 localhost (or everything) and they telnet to localhost and login with their
61 callsign. This means that they don't need a client anymore (for local access)
62 2. added input spot filtering. 
63 3. Added run_cmd to DXCron which allows you to run any command on the system
64 from the crontab. (Dunno why I didn't do this before). 
65 18Apr01=======================================================================
66 1. added Ian M0AZM's Java Client (SpiderConsole)
67 17Apr01=======================================================================
68 1. made a slight speedup on write in Msg.pm (about doubled it)
69 16Apr01=======================================================================
70 1. make the correct error messages come out on reject/accept when people
71 leave out keywords like 'on'.
72 2. Fairly major changes to the documentation tree.  Split the admin manual
73 into 2 sections, Installation and Admin and merge the Windows stuff.
74 15Apr01=======================================================================
75 1. made some mods to the sgml documentation for 1.47
76 2. added show/connect command
77 11Apr01=======================================================================
78 1. fixed more of the "xxx disappeared from yyy" messages
79 2. altered the build no logic so that it always checksums the same files
80 regardless of whatever else you might have in the directory.
81 3. made shortcut at shutdown so that you don't get a storm of PC21s on busy
82 nodes as each connection goes down. Just send a pc39 to each interface and
83 nothing else.
84 4. changed action of SIG{INT} and SIG{TERM} so that they now work on MSWin32
85 10Apr01=======================================================================
86 1. altered PC21 logic somewhat to eliminate dup PC21s
87 2. disconnect should remove dangling local users in the routing table.
88 3. fixed nasty recursive timer bug
89 4. added some extra info to make connect tracking a bit easier.
90 5. improved docs on connect scripts a bit (to include agw connects)
91 09Apr01=======================================================================
92 1. changed lockfile name to cluster.lck (from .lock) for MSWin's benefit
93 08Apr01=======================================================================
94 1. added a quick installation guide to the admin manual and removed references
95 to client.pl (g0vgs)
96 01Apr01=======================================================================
97 1. changed agwrestart semantics. You need to use main::agwrestart() in your
98 crontabs rather than AGWMsg::init();
99 2. try to thread winclient.pl for MSWin32.
100 31Mar01=======================================================================
101 1. added agwrestart command
102 2. add Iains Windoze installation manual (g0vgs)
103 3. various alterations to adminmanual and initial version of the CVS changes
104 file (g0vgs)
105 30Mar01=======================================================================
106 1. fix errors on accept in ExtMsg and in Msg
107 2. fix the non-blocking problems of connects (and other things in general).
108 non-blocking only works for unix implementations at the moment.
109 3. add rinit command (sends a PC20)
110 4. improve debuging so that stuff is always escaped and a new 'raw' debug 
111 mode that shows everything sent and received in glorious hex and characters
112 29Mar01=======================================================================
113 1. add better tracking of AGW circuits (possibly)
114 2. add set and unset/agwmonitor (ing) [for all the notice it seems to take]
115 28Mar01=======================================================================
116 1. AGW engine stuff now accepts incoming calls and at least attempts to do
117 outgoing ones. YMMV.
118 2. fixed 'always' telnet on a client line in a connect script
119 27Mar01=======================================================================
120 1. add first cut at an AGW Engine. Copy /spider/perl/AGWConnect.pm to 
121 /spider/local and edit it appropriately. You shouldn't need a login and passwd
122 if you are using the default setup. It may allow incoming connects (and then
123 again it may not - I don't have a reliable infrostructure to test with at the
124 moment). The AGW Engine is a M$ thingy, but that don't preclude you connecting
125 to it from a unix box. 
126 22Mar01=======================================================================
127 1. edit the helpfile for set/debug and add help for show/debug
128 2. Allow ^Z again on messages
129 3. Added back onboard support for ax25 OUTBOUND connections. You will need
130 exactly the same facilities as before (ie netrom_call, ax25_call suid root 
131 etc) but it is called direct from the cluster.pl - client.pl is DEAD!
132 19Mar01=======================================================================
133 1. Add 'not allowed' messages into sh/filter with callsign and reduce priv
134 2. decode %xx characters in winclient.pl
135 necessary to 1.
136 18Mar01=======================================================================
137 1. minor changes to user and admin manuals.  Added revsion numbers
138 17Mar01=======================================================================
139 1. put block check back in, try a work around for EWOULDBLOCK/EINPROGRESS
140 for M$. 
141 16Mar01=======================================================================
142 1. integrate build number into main cluster and change the PC18 to show 
143 version and build in the text portion
144 14Mar01=======================================================================
145 1. first cut at outgoing ax25 /external program connects
146 2. slight change of interface to connect
147 3. added a build number to sh/version
148 13Mar01=======================================================================
149 1. implemented first cut at non blocking connect
150 2. removed memory leakage in connects
151 3. add link IP address if available on who
152 4. made the \r\n work correctly on External connections
153 5. removed client.pl
154 6. fixed memory leakages in DXMsg
155 7. fixed pc39/21 handling
156 8. fixed routing table issues and general disconnection tidy up
157 10Mar01=======================================================================
158 1. minor changes to the admin manual to reflect differences in distibutions
159 thanks to pa3ezl (g0vgs)
160 2. add (finally) the first draft of the usermanual (g0vgs)
161 05Mar01=======================================================================
162 1. do some major surgery on the connect logic to shorten the possibility of 
163 duplicate connects happening
164 2. fix stupid error on sh/qrz queries that don't work
165 04Mar01=======================================================================
166 1. allow fallback to english for help
167 03Mar01=======================================================================
168 1. allow incoming and outgoing IP connects direct to cluster.pl
169 2. fixed (long standing)a hole in PC17 handling
170 3. added winclient.pl (actually just a very basic client) from Iain G0RDI
171 4. Added Spanish as a language (thanks ea1dav) (g0vgs) 
172 5. ignore BUST(ED) spots
173 28Feb01=======================================================================
174 1. allow sh/c gb7 (ie show the config of all gb7 nodes)(for example)
175 2. get rid of spurious DXHash 'uninitialised' messages if no corresponding 
176 file is present.
177 3. changed policy of $censorpc in DXProt.pm so that badwords are looked for
178 in all text announces etc.
179 4. Unpad (remove excess spaces from) spotted callsigns in PC11. 
180 5. test for opertaing system in various places and do different if M$
181 27Feb01=======================================================================
182 1. allow partial node callsigns on sh/c (eg sh/c gb7)
183 2. Changed Msg.pm to allow a more generalised interface with more than one
184 listener.
185 3. Added IntMsg.pm to implement the internal connection management that is
186 currently scattered about the cluster code.
187 25Feb01=======================================================================
188 1. Fixed watchdbg so that simple arguments work again
189 22Feb01=======================================================================
190 1. Added platform name to sh/version
191 2. changed client.pl so that it send \r\n instead of \n on telnet connects
192 3. added lineend '\r\n' command to connect scripts so you can override 
193 defaults
194 03Feb01=======================================================================
195 1. Changes and additions to the manual and added a help file for sh/log (g0vgs)
196 13Jan01=======================================================================
197 1. Documentation alterations to match new commands etc (g0vgs)
198 08Jan01=======================================================================
199 1. Changed the way that badnodes, baddx etc work. There is a new general way
200 implemented (dunno why I didn't do this before - hey ho...) as a consequence
201 there are set/unset/show baddx (for bad dx callsigns) badnode (for dx from
202 bad nodes) badspotter (for bad spotters of dx eg VE2STN). Expect more of 
203 this sort of thing...
204 2. Added one to the copyright dates...
205 06Jan01=======================================================================
206 1. Fix set/obscount so it actually works.
207 2. Allow different number formats for set/pingint eg: 5m for 5 minutes and
208 120s for 120 seconds (and 1h for 1 hour).
209 03Jan01=======================================================================
210 1. Added a txt directory for txt versions of manuals (g0vgs)
211 2. Various documentation changes
212 02Jan01=======================================================================
213 1. added a help file for forward/latlong and updated the admin manual to
214 match. (g0vgs)
215 2. Add spot2csv.pl to convert spot files into tab delimited .csv format.
216 3. Add show/route to see which interface a station is connected on.
217 31Dec00=======================================================================
218 1. add lat/long info to show/prefix
219 30Dec00=======================================================================
220 1. added latest version of the admin manual from Ian G0VGS.
221 23Dec00=======================================================================
222 1. don't route anything back down the channel it came from.
223 2. and, in the process, fix some silly errors in routing converted rcmd PCs
224 3. changed all occurrances of 'freq' in filter help to 'on' and corrected
225 some errors (eg freq/ssb).
226 4. added latest admin manual.
227 18Dec00=======================================================================
228 1. fix double printing of DB results
229 2. add new style filtering for WWV and WCY to complete the set
230 3. got the field nos right (hopefully) on Announces for filters
231 05Dec00=======================================================================
232 1. fix frequency hinting routine so it correctly handles things like 'on 23cm'
233 where digits are the 'wrong' way round.
234 2. made default max days to search for spots 3 months.
235 3. added hex decodes for those pesky 'national' characters that aren't really
236 in grepdbg and watchdbg.
237 4. decide that we are using Latin-1 and therefore characters 0x80-0x9f are
238 not allowed.
239 5. fix the announces so that they are all UPPER CASE for poor old DXTelnet.
240 03Dec00=======================================================================
241 1. change grepdbg and watchdbg so that you can see a number of lines before
242 the condx that you are looking for so:-
243   grepdbg 3 LOOP
244   watchdbg 3 LOOP 
245 will show both the LOOP line and the preceeding 2 lines.
246 2. add PCPROT to all error condx lines in DXProt.pm so that you can watch
247 for them more easily.
248 30Nov00=======================================================================
249 1. remove %nn strings from dups of announces and spots
250 2. remove check for ssids on PC41s 
251 29Nov00=======================================================================
252 1. make some small changes to DXmsg to try to track delete problems?
253 2. fix ann/full so it doesn't dup
254 27Nov00=======================================================================
255 1. alter sh/wcy output slightly
256 26Nov00=======================================================================
257 1. made it possible for sysop calls to be used on other nodes and still have
258 anti loop checking on PC16/17.
259 25Nov00=======================================================================
260 1. -l <nnn> now works on C client
261 2. -e toggles echo cancelling (normally on) on C client
262 20Nov00=======================================================================
263 1. added even more checking to PC16,17 and 39
264 19Nov00=======================================================================
265 1. improve reaping code a bit more.
266 2. put some extra checking in the PC16,17,19,21 code.
267 3. fix problem with the aliased user disappearing and loads of 'unitialised'
268 messages coming out.
269 16Nov00=======================================================================
270 1. Alter the process reaping code in cluster.pl to use waitpid
271 12Nov00=======================================================================
272 1. Fix lack 't' action in Filter.pm
273 08Nov00=======================================================================
274 1. fix cosmetic errors in for/oper for 'users'.
275 07Nov00=======================================================================
276 1. removed sh/call because the owner isn't happy about us using it. 
277 2. change sh/qrz to the new interface. MUCH QUICKER! you will need a user id
278 and password from qrz.com to use it and you will have to copy the 
279 /spider/perl/Internet.pm to /spider/local and alter it accordingly. Do 
280 remember to set $allow=1 as well! The new interface comes courtesy of Fred
281 LLoyd, the proprietor of http://www.qrz.com
282 06Nov00=======================================================================
283 1. Added sh/qrz to the list of callbook services
284 05Nov00=======================================================================
285 1. 75% speed up on sh/dx !, lower memory usage as well!
286 2. Fixed problem with clear/spot 0 (how did this one last so long!!!)
287 3. add 'on' in accept/reject spots as synonym for 'freq'
288 4. add the same speed up to general log printing
289 5. fixed help \ 
290 04Nov00=======================================================================
291 1. fix sh/filter so ity now works for any callsign (and not just connected
292 ones).
293 2. Have only one is_callsign and not an iscallsign as well.
294 3. Add set/hops and show/hops commands.
295 4. Add unset/badnode command and put some help in for these commands
296 03Nov00=======================================================================
297 1. allow - in filter strings
298 2. store only the filter expression NOTE BENE: you will need to clear all 
299 your existing filters and re-enter them!!!!!!
300 3. Added announce filtering
301 4. Fixed problem with announce filtering on output to the node
302 02Nov00=======================================================================
303 1. updated filtering logic. You will need to RECREATE your filters (clear/spot
304 all, then start again) for testing.
305 2. allow PC73 for DXNet
306 3. added some help text for filtering and filtering spots in particular.
307 01Nov00=======================================================================
308 1. put PC11 field 2 check back to m for pc text.
309 2. improve 'simple' callsign checking
310 3. Added the first cut of the new user/sysop filtering code. This cut works 
311 for spots and the syntax is:-
312
313 accept/spots [<call>] [input] [<filterno>] things ..
314 reject/spots [<call>] [input] [<filterno>] things ..
315
316 where things are: 
317   freq 0/30000 | hf | hf/cw | 6m,4m,2m
318   call G,PA,HB9
319   info iota
320   by G,PA,HB9
321   call_dxcc 61,62
322   call_itu 31
323   call_zone 14,15,16
324   by_dxcc 61,62
325   by_itu 31
326   by_zone 14,15,16
327   origin GB7,MB7
328   channel GB7DJK,GB7BAA
329       
330 You can simply string these together on one line one after the other and 
331 there is an implied 'and', you can also string together with 'or' 'not' (or
332 '!') and '(' and ')' - in otherwords an arbitrary expression.
333               
334 You can see what you have done with:
335
336 show/filter [<call>]
337
338 You can clear your work with:
339
340 clear/spots [<call>] [input] [<filterno>|all]
341
342 Have fun and someone please write the documentation.
343 4. Added show/msg_status.pl sysop command (shows some info on what is busy in 
344 the message system)
345 31Oct00=======================================================================
346 1. add 0x8e to the list of characters we clobber (make xterm go into graphics
347 mode).
348 30Oct00=======================================================================
349 1. put in new Filter::it code and tested it. Now all we have to do is write
350 the user access routines (oh and the help files!).
351 29Oct00=======================================================================
352 1. put in echo cancelling measures into the clients. This doesn't mean you
353 shouldn't take steps to prevent echoing on node links, but it may help where
354 (whatever you do) it still bloody echos! This is experimental.
355 2. store dxchan and mynode as callsigns (and not references) in the routing 
356 tables and do some checking in accessors to see if we can capture some errors.
357 3. tart up the stat/chan etc display to give more useful debugging info 
358 28Oct00=======================================================================
359 1. updated show/sun and show/moon from stuff sent by Steve Franke K9AN
360 2. added show/call which queries jeifer.pineknot.com for any call in the 
361 world (as opposed to UALR which only does US calls). Inspired by a bit of 
362 perl sent to me by Steve Franke (again!) and also Angel EA7WA who gave me the
363 pineknot ip address.
364 3. fixed clients so that they accept -0 as a valid SSID and then strip it off
365 as though they had come in without (why has this taken so long to appear? How
366 long have we been running this code ??????). 
367 27Oct00=======================================================================
368 1. alter the code in clean_old of DXMsg system to see if we get some different
369 behaviour with random crashing
370 26Oct00=======================================================================
371 1. if there is a 'connected' file in /spider/data then the client will send
372 it out to the user after connection.
373 25Oct00=======================================================================
374 1. fix catchup and uncatchup commands so that they accept ranges
375 24Oct00=======================================================================
376 1. added cty.dat from http://www.k1ea.com/cty/index.htm to the prefix_data.pl
377 data file and modified create_prefix.pl accordingly.
378 2. the 'no text line' messages should now propagate correctly
379 3. added the dxcc, itu and cq zone numbers for announcer and origining node 
380 on announce filters - see the /spider/filter/ann/*.issue files for more info.
381 4. you can now specify a 'user_default.pl', 'node_default.pl' and 
382 'in_node_default.pl' in each of the filter directories
383 23Oct00=======================================================================
384 1. Added K5K as Kingman Reef
385 1. Added K7K as Kure
386 17Oct00=======================================================================
387 1. force frames to go down the local interface when doing a route. This is 
388 particularly important for pings!
389 16Oct00=======================================================================
390 1. add a ':' after 'G7BRN de G1TLH' in a talk message.
391 2. added /J to the list of things to ignore (as in G1TLH/J) in prefix 
392 processing (ie /J mean Jota not /JA [Japan]).
393 3. change all INCOMING 00-08 0A-1F and 9B characters that make it past the
394 intermediate client->server protocol to '.'.
395 04Sep00=======================================================================
396 1. made PC10,11,12 badword checking dependant on a flag variable ($censorpc)
397 default = 0 (off).
398 02Sep00=======================================================================
399 1. fix a long standing talk bug to do with routing to specific nodes (t xxx >
400 yyy .....)
401 2. Add badwords checking in various places. You put a list of words into
402 /spider/data/badwords one or several per line. Lines starting with # are
403 ignored. PC10, PC11, PC12 with words contained in this file will not be
404 sent on. Also ann, talk and dx commands have badword checking added. Words
405 are NOT case sensitive, but you will need to put all the endings in (eg 
406 ...k, ...ker, ...king).
407 3. Added new version of admin manual from G0VGS.
408 01Sep00=======================================================================
409 1. allow blank on field 4 of PC10 (even though it's "illegal").
410 28Aug00=======================================================================
411 1. changes DXChannel::get_all_ak1a to get_all_nodes.
412 2. ignore PC21s coming in on the interface with that callsign (ie nodes 
413 trying to disconnect themselves).
414 3. output correct PC29 on blank lines and escape ^ characters differently 
415 (and transparently for spider nodes).
416 26Aug00=======================================================================
417 1. make blank origins on messages the node call.
418 2. added new version of FAQ from Ian G0VGS
419 3. added a dummy PC75 command (WCY merge?)
420 4. Don't allow mail routing for clx nodes
421 5. Log isolates
422 25Aug00=======================================================================
423 1. moan about and then delete empty message files
424 24Aug00=======================================================================
425 1. Removed WWV command so that users can't interfere (read mess up) the
426 automatic feeds which come from various places on the net.
427 23Aug00=======================================================================
428 1. Added persistant dupe file so that all dupes are stored here (including
429 announces) - announces are now kept for 5 days (as default).
430 2. limit the characters stored in a dupe for spots and announces
431 20Aug00=======================================================================
432 1. Added system Alias for set/nodxgrid => unset/dxgrid
433 2. Add full individual checking for all PC protocol fields in all messages
434 and removed any language dependant stuff (hopefully).
435 3. console.pl is now a bit more international (client.c/pl already are)
436 19Aug00=======================================================================
437 1. Added an efficiency thing for AUTOLOADed accessors from OO Perl by Conway.
438 2. Fiddled with the rtty and digital bandplan frequencies.
439 18Aug00=======================================================================
440 1. added a couple of changes for perl 5.6.0
441 2. removed del_dup from DXUser for earlier versions of DB '1.85' (ie real ones
442 not 2.x versions in 1.85 compatibility mode).
443 3. Started the OOing of the PC protocol stuff.
444 15Aug00=======================================================================
445 1. added 1.25 of the admin manual html
446 14Aug00=======================================================================
447 1. Added regex support to sh/dup_*.pl commands
448 2. fixed rcmd in crontab so that will work again
449 13Aug00=======================================================================
450 1. removed extra /60 in AnnTalk to make deduping of announces work a bit
451 better for longer...
452 05Aug00=======================================================================
453 1. Fixed hex character problem put in somewhen in the C Client
454 03Aug00=======================================================================
455 1. caught some more signals (are any of these causing the random stopping
456 of the code?
457 2. the Console now requires 1.05 of the Curses module ^R REFRESHES THE SCREEN
458 (as does ^L) AT LAST!!!!!
459 02Aug00=======================================================================
460 1. put back hex check exception for PC29
461 01Aug00=======================================================================
462 1. made the export and import ascii system work finally. The user_asc file
463 generated (automatically and 0000Z Sunday morning) is autoloading. Just 
464 execute it and it will automatically reload your user database.
465 2. remove import_users.pl no longer necessary
466 31Jul00=======================================================================
467 1. try to fix paging problem.
468 2. added help for spoof and set/forward
469 3. fixed bogus callsign check for field 2 of a PC12
470 4. Add DB_File to DXCommandmode to make it available for commands
471 30Jul00=======================================================================
472 1. Added talk mode so that I don't have to keep typing T <call> all the time.
473 2. fiddled around with storing of Debug messages a bit more.
474 3. bomb proofed the type command.
475 4. started the objectifying for talk, dx and announcements.
476 5. fix talkmode so that it only does 'via' PC10s when it really needs to.
477 6. SEND now displays a message if you try to do it in not prompt mode.
478 7. stopped a few more things being done by rcmd (eg send, talk, ann, dx)
479 8. tidied up the talking a bit more.
480 9. Increase default hop counts all round.
481 10. Adjust hex encoding so that 8 bit characters should now go thru
482 11. check more of the essential protocol fields for 8 bit characters.
483 29Jul00=======================================================================
484 1. added forward/latlong which will forward ALL the users that have a latitude
485 and longitude set on them to one or more locally connected nodes - with a hop
486 count of 1.
487 2. speeded up the show/node command by using the DB_File interface and 
488 sequentially reading the data directly and only 'get'ting the ones that are
489 nodes.
490 3. did the same for show/isolate and show/lockout.
491 28Jul00=======================================================================
492 1. fixed watchdbg midnight rollover loop and removed the date part of the 
493 date/time translation to leave just the time.
494 27Jul00=======================================================================
495 1. made sure that 'en' is the default language on new users.
496 2. issue error message if shutdown is attempted by a low privileged user.
497 3. Make sure a privilege is defined for all users (even if it is 0).
498 4. Try to fix some more dups (and the time on them).
499 5. make the time stored on dups generated locally on spots an integer no of 
500 minutes * 60 
501 6. send unsolicited PC[38]5s to the sysop if online.
502 7. merged current html from www.dxcluster.org with Ian's stuff
503 8. Added sgml files into the source tree
504 9. changed default paclen in client.c to 236
505 26Jul00=======================================================================
506 1. added wantgrid (to control display of grid square info on DX Broadcasts)
507 2. added lastoper for controlling periodic demands for user info from other
508 nodes.
509 3. added spiderFAQ stuff from Ian G0VGS and latest update of the admin manual
510 4. changed updating and deleting from user file in an attempt to keep down
511 duplicates and possibly corruptions.
512 5. added a DXUser::export routine to allow the cluster to automatically 
513 export the user data in ascii from cron.
514 6. added a line in the ISSUED crontab to do the export once a week
515 7. delete annok and dxok if set to 1 in user records.
516 8. added export_users command to allow arbitary exporting of user files
517 9. added set and unset/dxgrid command to allow control over the grid squares 
518 on DX announcements
519 10. Removed export_user.pl (no longer needed)
520 11. made import_users.pl accept a non related input filename and always
521 update the current user file.
522 12. added an 'auto rcmd <node> for/oper <call>' for people I can see on the
523 cluster that issue spots and for whom I have no qra info (no more than once
524 a month). This isn't the default - set $send_opernam in
525 /spider/local/DXProtVars.pm (copied from /spider/perl). Good for gateways.
526 13. Despace spot texts properly again for deduping purposes.
527 14. Corrected Pc84/85 handling a bit.
528 15. Sync the user database every 15 secs to see whether we can reduce the 
529 corruptions and duplicates.
530 25Jul00=======================================================================
531 1. ignore \n in ax25 mode for C client.
532 2. remove extra space at the end of a DX spot announce when no grid square
533 is output.
534 3. added new admin manual from Ian G0VGS
535 20Jul00=======================================================================
536 1. Finally managed to update my source with the sourceforge one
537 2. added user->qra cleaning in various places
538 3. added four digit locator strings to broadcast DX spots (for users).
539 4. PC11 with blank callsigns should now be ignored.
540 5. put back the unpadding to the PC11 dup checking to catch spots with added
541 blanks at the end of lines.
542 25Jun00=======================================================================
543 1. added 0 to the regex that checks for valid data on the cluster.pl->client
544 channel - this will allow G0VGS and G0RDI to connect....
545 2. removed technically unnecessary /= 60 from the dup routines to see if 
546 Arnold's Sparcs don't then crash.
547 19Jun00=======================================================================
548 1. move ann_dup, spot_dup etc to dup_ann, dup_spots etc
549 2. made mode 3 the default line ending convention for all out going connects
550 via telnet in client.pl
551 18Jun00=======================================================================
552 1. fixed line ending ambiguities (I think) for telnet connections. Well 
553 actually only really band aided it. It works but isn't how I want it. 
554 Client.pl has got to go....
555 2. Added 1.21 of Ian G0VGS's admin manual
556 17Jun00=======================================================================
557 1. I believe I have fixed all the login/logout 'broken pipe' errors
558 2. Added G0RDI's 'links' command.
559 3. added update_sysop.pl which cleans out all previous versions of the sysops
560 information from the user database and recreates it with that in DXVars.pm
561 4. Added node type to links and who
562 5. Hardened up the cluster->client link in the cluster software so that 
563 rubbish on port 27754 doesn't (usually) crash the cluster.
564 14Jun00=======================================================================
565 1. fixed sh/node crash
566 2. fixed RTT in who.pl
567 13Jun00=======================================================================
568 1. fixed looping bug in C client on ending.
569 12Jun00=======================================================================
570 1. Added RCMD for clx
571 2. Added WCY processing
572 3. Added new node types (clx, spider, dxnet, arcluster)
573 4. Store echo settings
574 5. Store pagelth settings
575 6. sort out source of DXVars for callbot.pl
576 7. added sh/isolate
577 8. added sh/lockout 
578 11Jun00=======================================================================
579 1. removed extraneous DXDebug from DXUtil
580 2. added help for set/echo
581 3. Centralised all spot, wwv and ann dup handling into respective packages.
582 4. Created new AnnTalk package (for above and OOing announce and talk 
583 handling).
584 5. Fixed problem with outputting lines with | in them to console.pl.
585 10Jun00=======================================================================
586 1. got rid of some more nasty bugs in sh/qra.
587 2. fixed 9A3xx to always be Croatia (and not Haiti!).
588 09Jun00=======================================================================
589 1. change some print commands in DXMsg to dbg('err'...
590 2. overloaded confess, croak et al into DXDebug and removed Carp from 
591 everywhere and checked that the necessary debugging really does go into
592 the debug files now.
593 3. changed print statements in cluster.pl to dbg('err',... so they go into
594 the debug files as well.
595 4. Altered the logic around duplicate spots, reduced the length of comment
596 checked to 20 characters (this should solve some problems including those
597 people sucking ar-cluster spots with prefixes in the extreme rh end). 
598 08Jun00=======================================================================
599 1. fixed problem with binary characters from cluster->client
600 2. added set/echo and unset/echo commands
601 3. echo login characters on login: prompt for C client
602 4. Send \r\n on telnet connections for C Client
603 5. Make echoing the default option (for M$ telnet clients :-()
604 11May00=======================================================================
605 1. fixed looping in Msg.pm (at last)
606 10May00=======================================================================
607 1. wrote a cross between 'tail -f' and grepdbg so that you can watch the
608 debug files for particular strings and only have them print out. 
609 05May00=======================================================================
610 1. rewrote parts of Msg.pm and client.c so that the messages no longer use
611 a length word at the front of each one. They are simply strings of characters
612 separated by a \n. No binary characters are allowed (they are encoded as %nn)
613 a la HTTP. This hopefully cures Arnold's problem and also make it more
614 secure anyway. It also paves the way for the ax25/ip multicast client.
615 30Apr00=======================================================================
616 1. put some extra checks and balances in to message send routine in Msg.pm to
617 see if I can prevent the error seen by Arnold (which I think is only likely to
618 appear in heavily loaded sites).
619 25Apr00=======================================================================
620 1. Changed reply so that you can reply to more than one address privately
621 31Mar00=======================================================================
622 1. fixed nnn-mmm in kill (erase/delete) msgs so that mmm is also deleted and
623 not just nnn -> mmm-1.
624 2. Added an autosplit to message importing so that messages are split
625 automagically into bits if the filename used in the import directory starts
626 with "split". This will add a [1/5] type string on the the end of the subject. 
627 3. dedupe more aggressively on the text of Spots so that only the 1st 27 chars
628 of text are considered (as opposed to the whole lot).
629 30Mar00=======================================================================
630 1. altered client.pl connect code so that it doesn't falsely recognise 
631 /spider/src/client as a 'client' instruction.
632 28Mar00=======================================================================
633 1. Added buffering to client 
634 2. Fixed LOGIN so that you can login with an arbitrary callsign
635 27Mar00=======================================================================
636 1. updated wpxloc.raw and rsgb.cty for 4W and TX0.
637 2. display 'start time' rather than 'last start time in' in who.
638 3. Allow local users to see their own sh/talk or sh/log stuff.
639 4. A more robust version of the C client.
640 5. Added a message exporting command 'export'.
641 6. allow swopping on all messages, including imported and manually sent ones
642 7. S A < B @ C $BID now works from the command line and thus bbses ought to
643 be able to send messages into the cluster. Bids are (currently) ignored.
644 26Mar00=======================================================================
645 1. first cut of C client
646 18Mar00=======================================================================
647 1. fixed convkeps.pl so that it accepts more formats for floating point.
648 08Mar00=======================================================================
649 1. tidied up Sun.pm and sh/sat
650 2. fixed sh/qra so that the correct lat/long is displayed if only one locator
651 is given.
652 10Jan00=======================================================================
653 1. added Steve Franke's new Sun.pm and show/satellite command
654 08Jan00=======================================================================
655 1. really removed the restriction on 0 length messages.
656 2. added a periodic msg file import system a la FBB. Stick one or more files
657 into /spider/msg/import with a suitable SEND line, subject and the text and 
658 it will import it. The importer will accept some BBS syntax (eg < GB7TLH) to
659 allow you to customise the 'from' callsign.
660 03Jan00=======================================================================
661 1. changed the copyright statement in sh/version!
662 2. added sh/date with special "be compatible with ak1a" syntax for the output
663 of sh/date with no arguments, otherwise the same as sh/time. A special favour
664 to G4PDQ...
665 3. and another one, added show/node especially for G4PDQ.
666 01Jan00=======================================================================
667 1. Fixed Julian routines to get rid of the millenium bug! (do as I say, not
668 as I do!).
669 2. updated gdx.pl so that external programs can do a sh/dx just as a normal
670 user can. On reflection this could be used as a model for all sorts of 
671 "external" interface routines.
672 3. renamed gdx.pl as showdx.
673 11Dec99=======================================================================
674 1. added missing pc48 so that it calls the DXDb::process routine 
675 10Dec99=======================================================================
676 1. allow msgs to marked as read or unread
677 02Dec99=======================================================================
678 1. DX command doesn't recognise '6M' as '6m' in SH/DX ON 6M.
679 2. set/node now sets the homenode as the callsign.
680 3. changed the label for the 18Mhz band from '18m' to '17m' in the bands 
681 table. 
682 01Dec99=======================================================================
683 1. started the callbot which lives at n2tly.dxcluster.net 9000.
684 2. added www.qrz.com
685 3. added www.buck.com
686 4. added k4ute at no4j.com
687 28Nov99=======================================================================
688 1. fixed all the stupid errors introduced in 1.36 confusing DXUser->get with
689 DXCluster->get_exact.
690 24Nov99=======================================================================
691 1. extended badmsg.pl stuff so that it works like the forward file and allows
692 one to reject on to, from, origin and subject fields.
693 2. added a swop.pl again in a forward.pl like format that allows simple swop
694 for a field or test on a field and set another.
695 3. Fixed the problem that read private mail follows you around as well as
696 unread private mail does.
697 4. Change the logic of connections so that the node will accept callsigns with
698 SSIDs to -8 as different entities from each other. SSIDs > 8 are subtracted 
699 from 15 and are assumed to be coming in via netrom diddled connections. This
700 affects lots of the commands as well. I may not have got them all.
701 5. Hangup clients on HUP signals. I originally ignored them, for reasons that
702 are now lost in the mists of time. HUP signals now cause clients to die 
703 (cleanly) and disconnect everything correctly.
704 6. Added show/time command
705 21Nov99=======================================================================
706 1. lose extraneous rubbish after the callsign as sent by BBSes.
707 2. Change end label on sh/moon to RGain dB rather than Loss dB.
708 3. Remove spurious call to DXCluster->get_exact in pc50.
709 4. Allow rcmd to locally connected nodes that are not (for some reason) in the
710 nodes table.
711 5. Try and send a PC39 in more cases to a cluster that I want to disconnect
712 from in the hope that it notices and disconnects its end.
713 20Nov99=======================================================================
714 1. Added set/unset logininfo which will tell anybody that has this set when
715 someone has either logged in or out of this node.
716 2. Added set/pinginterval command which alters the length of time between
717 pings sent to nodes, the value is minutes < 120 and seconds above that, 0
718 means disable pinging (not recommended).
719 3. If someone does a sysop whilst connected via ax25, don't show privilege
720 level or passwd in stat/user.
721 4. Fixed the problem with the dx command where if the callsign ended in a ?
722 then the call and the freq would be replicated in the remarks.
723 5. Set/unset ann, dx, talk, beep, wx, wwv all are now permanent (ie stored in
724 the user file)
725 19Nov99=======================================================================
726 1. Added new version of sh/sun and also sh/moon from Steve K9AN
727 2. Added rtt to who.
728 3. added Aliase for show/tnc_sta to who.
729 4. added Alias for show/uptime to sh/cl 
730 18Nov99=======================================================================
731 1. Added ping obs counter together with Time::HiRes timers. This will dis-
732 connect nodes that fail to respond to 3 ping requests (on the 4th attempt). 
733 The default time is a ping every 3 mins, therefore a link will be struck out
734 after 12 minutes of nil response.
735 2. Maintain a table of outstanding connects to other nodes and prevent over-
736 laps (special favour to G0RDI).
737 17Nov99=======================================================================
738 1. Started using Data::Dumper for things again
739 2. 'Fixed' DXUser file corruption?
740 3. Allow multiline (ie lines with \n in them) output in $DXChannel::send 
741 4. Added Andrew K9CW's updated wpxloc.raw, regenerated prefix_data.pl
742 5. Put in callsign matching and stuff into sh/sun.
743 14Nov99=======================================================================
744 1. added BBS.pm to start BBS input of mail
745 2. fixed eval in DXUser to log errors rather than banging out
746 12Nov99=======================================================================
747 1. added sh/sun command kindly supplied by Steve K9AN.
748 2. allow ^Z on its own on a line to terminate a message
749 08Nov99=======================================================================
750 1. added spoofing (mk1 version) for sysops, useful for those little jobs like
751 reseting a user's qra locator and such like "spoof g7brn set/qra jo02lq".
752 2. fixed set/location so it stores the qra locator in the qra locator slot, 
753 NOT the lat/long (who wrote this stuff...?).
754 07Nov99=======================================================================
755 1. reduced the amount of stuff compared against for dup announces.
756 2. Check the regex for DK0WCY announces produces results before storing it as
757 a WWV.
758 3. Added some logging for set/priv (un)set/lockout.
759 4. Added test long path calc to sh/muf
760 5. Only wonder down the msg queue every minute
761 6. Put in the initial DB code (at last), you can create and remove local and
762 standard remote dbs, you can import AK1A style .FUL ascii databases, you can
763 enquire on a local or remote database.
764 7. A return ping to a node will clear down all outstanding pings to
765 that node (which might cause some confusion if more then one ping is
766 outstanding for a node, but then - shit happens).
767 04Nov99=======================================================================
768 1. Removed ~ from the end of the PC18.
769 2. Removed a hangover from duff character checking in cluster.pl
770 3. Stop PC frames that are to be routed, being routed back to themselves.
771 03Nov99=======================================================================
772 1. Simplified command caching so it uses anonymous subroutines, you should
773 also get error messages back on the console now when developing.
774 2. Allow locally connected AK1A clusters that for some obscure reason don't
775 issue PC19s to still appear as connected and allow them to acquire users.
776 31Oct99=======================================================================
777 1. updated Minimuf.pm and show/muf.pl to the fixed versions sent to me by
778 Steve Franke K9AN. 
779 2. Made set/badnodes work, added show/badnodes. This is an interim fix until
780 input spot filtering works.
781 24Oct99=======================================================================
782 1. fixed announces so that nodes only get one of them (not two).
783 2. Altered the select timeouts to prevent apparent excessive CPU usage on
784 multiprocessor machines (or at least that is what seems to be the trouble
785 here). 
786 22Oct99=======================================================================
787 1. allow filter CALLSIGNS to be in upper or lower case.
788 2. create the concept of input and output filters, input filters are of the 
789 form "in_$call.pl" eg: "in_g1tlh.pl" (or "in_G1TLH.pl"), output filters are 
790 "g1tlh.pl" (or "G1TLH.pl").
791 3. all users can now filter on spots, ann and wwv (assuming the sysop has set
792 the filters up - still no user creatable filters. Nodes can filter on both
793 input for announces and output for all of these. I would recommend setting 
794 up a few filters that are likely to be wanted and then symlinking callsigns
795 to them as you get requests.
796 4. added callsign and length of history/position of screen stats to console.
797 If you want to change the colour of the callsign you will need to copy the
798 Console.pm to your /spider/local directory and change the $mycallcolor equate.
799 21Oct99=======================================================================
800 1. fixed reply so that reply b or reply nop generate a bulletin with the 
801 correct address.
802 2. implemented sh/muf command.
803 3. reduced privilege of catchup and uncatchup to 5. This so that, suitably
804 privileged, nodes that occasionally link can rcmd a "catchup <nodecall> all"
805 to the node they are connecting to and thus prevent a large tranche of, 
806 potentially duplicate, mail. This isn't an issue for DXSpider, but may be
807 an issue for any AK1A clusters you are connected to.
808 20Oct99=======================================================================
809 1. Translated all the subroutines of minimuf into perl as Minimuf.pm
810 2. Limited the length of an ANN that is saved for de-duping to $pc12_dup_lth
811 (def 72)
812 3. help command should now return stuff that you expect.
813 4. reduced necessary privilege to use 'MSG' command to 6.
814 5. Correct the count of spots and wwv for a merge.
815 6. Allow decodes of DK0WCY-3 WWV data beacon announces
816 7. rewrote send so that an SB doesn't send a buckshee bull to NOPRIVATE!
817 8. Changed default colouration on console so that all spots >= 50Mhz are red
818 9. Fixed init command so that PC21s are sent down non-initted channels
819 10. Allow forwarding of unknown private mail. This means that you can set up
820 forwarding of 'foreign' mail across to and by gateways using the same 
821 mechanism as bulletins (/spider/msg/forward.pl).
822 11. Allow line wrapping on the console (G0RDI, G0VGS et al).
823 18Oct99=======================================================================
824 1. changed help command so that it works correctly with multiple title lines.
825 2. added to address to the list of things a message checks to see whether it
826 is a duplicate (how on earth did it take _this_ long to find this one?).
827 3. Changes S CC so that the callsign it says it has sent to is the real one
828 (request from G8TIC)
829 21Sep99=======================================================================
830 1. allow zero messages to be stored (request from G4PDQ)
831 2. make DX more flexible and change spotter syntax to be consistant with
832 sh/dx (request from K9AN)
833 30Aug99=======================================================================
834 1. remove -@ as well as \d from SSIDs for spots
835 2. remove WEB and/or NET from the front or rear of callsigns in Prefix.pm
836 29Aug99=======================================================================
837 1. Added msg command to allow the changing of To, From, Subject and so on the
838 messages. This seems particularly important just now as a whole raft of G3's
839 seem to be putting out non private bulls to callsigns.
840 2. While I am at set messages to TO fields that appear to be users to private
841 if they have been sent as bulls.
842 3. Add DISTROs, if a callsign field appears in /spider/msg/distro in upper
843 use that as a list of callsigns to send further. Note this is potentially
844 recursive as callsigns in a distro can be distros.
845 25Aug99=======================================================================
846 1. check the date of a WWV much more carefully.
847 24Aug99=======================================================================
848 1. Prevented spots with lowercase callsigns being forwarded. This opens a
849 much bigger can of worms which I shall have to address later.
850 17Aug99=======================================================================
851 1. all protocol except PC29 containing %XX characters will be dumped.
852 2. Changed console.pl so that if you start typing it moves the top window
853 back to the bottom.
854 19Jul99=======================================================================
855 1. Added iota and qra clauses to sh/dx as well, these take optional arguments
856 and will look for the appropriate strings.
857 17Jul99=======================================================================
858 1. Started database integration.
859 2. added qsl clause to sh/dx that searches for qsl or via in the dx info
860 16Jul99=======================================================================
861 1. drop frames with 'illegal' characters in them (but pass frames with 
862 embedded %XX characters).
863 15Jul99=======================================================================
864 1. Changed grepdbg to accept a regexp. More useful (to me anyway).
865 2. Altered init command so that it doesn't send PC21s down the initted 
866 channel.
867 10Jul99=======================================================================
868 1. added an explicit disconnect from my side for already connected calls. This
869 appears to have fixed a problem where if two consoles connect at the same time
870 with the same (sysop?) callsign the cluster would stop.
871 2. added some debugging in the Message handler to allow more state to be seen.
872 3. Message handler now seems to work better for longer and doesn't spew out
873 PC42 aborts with quite such gay abandon.
874 05Jul99=======================================================================
875 1. added stat/msg and stat/cluster commands to allow me to poke about inside
876 the msg and cluster node tables.
877 04Jul99=======================================================================
878 1. removed silly 'new message has arrived' to connected nodes 
879 2. added a ! command to the console.pl program; works like the bash shell.
880 01Jul99=======================================================================
881 1. Altered priv to 5 for connect.pl to match disconnect for nodes
882 29Jun99=======================================================================
883 1. fixed merge command that I broke.
884 2. added some randomness in waittimes for aborted outgoing messages 
885 3. Message Queuing now only occurs every 5 minutes (configurable if anyone 
886 wants to write the command for doing it) and on receipt of a PC16. This is
887 a further attempt at sorting the crossing of messages!
888 4. a PC33 will cause another attempt at queuing. If you are on a roll, keep
889 going!
890 28Jun99=======================================================================
891 1. console.pl now works with history and editting.
892 2. added scrolling to stuff sent by the cluster.
893 3. added colours to things.
894 27Jun99=======================================================================
895 1. added WWV filtering
896 2. added timeouts to for forwarding Messages, also added a waiting time for
897 failed (stalled) outgoing messages.
898 3. Incoming messages will now have priority over outgoing messages to the
899 same node.
900 4. Added 'catchup' command which will 'catchup' messages to date for a node. 
901 This means that when you start forwarding to a node, it doesn't get all the
902 messages queued up that are probably old.
903 5. added 'uncatchup' which does the opposite of the above.
904 6. fixed kill full and PC49 handling so that it actually works.
905 7. Fixed local aliases so they add to the front of the standard ones. This
906 means you only need to add your specials or override the system ones you need
907 to.
908 21Jun99=======================================================================
909 1. changed regex for cluster->client msgs so that strings like |---| are no
910 longer ignored.
911 20Jun99=======================================================================
912 1. prevented a merge to myself (causes a loop)
913 18Jun99=======================================================================
914 1. fixed a problem with DXLogPrint repeating log entries.
915 2. altered the permissions on disconnnect so that priv 5 users can disconnect
916 clusters, but still require priv 8 to disconnect users.
917 3. made sure that an incoming PC18 clears out all the cluster info for
918 that channel before re-initialising.
919 4. add init command.
920 5. disconnect users before nodess on shutdown
921 15Jun99=======================================================================
922 1. added grepdbg program (so you can search your debug files and get times
923 and dates of incidents).
924 2. Moved DXVars.pm to DXVars.pm.issue to force new users to cp it to their
925 local directory.
926 3. added $allowzero to DXProt to allow thru PC19s with zero protocol versions.
927 14Jun99=======================================================================
928 1. changed IO::File in help and apropos to IO::File
929 2. added a check for isa('DXNode') for PC50s
930 08Jun99=======================================================================
931 1. Started work on the curses based operator console.
932 03Jun99=======================================================================
933 1. cluster seems to have a memory leak, put DESTROY functions in where 
934 appropriate.
935 2. try to make sure that PC21 commands are not issued inappropriately and
936 also reformat PC19 for onward broadcast so that nodes coming in on loops are
937 dropped from those broadcasts.
938 3. make sure PC16,17,19,21 doen't affect locally connected nodes.
939 4. Changed all instances of FileHandle to IO::File.
940 01Jun99=======================================================================
941 1. removed a output of an unwanted pc21 for isolated nodes
942 31May99=======================================================================
943 1. Added checking for PC16,17,19 and 21 to make sure that they come in from
944 the channels that they are supposed to.
945 2. Pass the RCMDing node's priv level to the command (rather than the 
946 connecting node's privilege level).
947 3. Pass thru merge requests for other nodes.
948 4. Removed a warning from client.pl
949 5. routed external DB commands and drop them (for now) locally
950 6. routed external mail commands (ie those addressed elsewhere)
951 7. routed external PC26/27 lines 
952 25May99=======================================================================
953 1. try to make the lastin value correct even for local users
954 2. got rid of the stupid bug that failed to print out the offline message
955 but put a "*main::STDOUTmain" for every line of that message instead.
956 3. Ported to 5.00503 (well actually just installed it and it just runs). 
957 4. Added who command
958 23May99=======================================================================
959 1. Got rid of some of the useless error messages on global destruction when
960 quiting a program.
961 2. Stuck -w back on client.pl
962 23May99=======================================================================
963 1. tried to change connection to raw mode for cluster connections
964 2. sh/c and sh/u are now sorted in alphabetical order
965 3. Limited the number of queued dx spots when composing messages to 20 (the 
966 oldest one is lost for every one added above 20).
967 4. Added generalised shell globbing everywhere I think it is useful, including
968 sh/dx, dir, sh/files etc
969 5. Made dir more compatible with ak1a and added 'to' and 'from' call searching
970 it should now do everything that ak1a does except counts.
971 6. added similar functionality to kill command so that you can kill ranges, to
972 and from callsigns etc.
973 22May99=======================================================================
974 1. added check for -1 from Date::Parse and return undef for out of range dates
975 2. added show/files and type commands
976 21May99=======================================================================
977 1. made set/nodx work again.
978 2. made dx stuff queue nicely again when sending messages.
979 18May99=======================================================================
980 1. Added announce dup checking.
981 2. Added system announce filtering.
982 08May99=======================================================================
983 1. Added a bit more checking to the rcmd thing to make more sure that this
984 rcmd isn't coming from an imposter. Not possible to prevent everything 
985 ofcourse, just make it a bit harder.
986 2. altered set/lockout and set/privilege so that they can't executed remotely.
987 3. Added some code to reject rubbish (with invalid binary characters) protocol
988 or user lines as input.
989 4. prevented PC command being executed remotely :-)
990 05May99=======================================================================
991 1. change the connection overlap from an abort to a disconnect.
992 02May99=======================================================================
993 1. Added the mechanism for doing user spot filtering for spots in the cluster 
994 (no user control just yet - but sysops can do it).
995 2. Fixed problem with nodes sending out the node lists of isolated nodes.
996 30Apr99=======================================================================
997 1. Try to make it even more AK1A friendly by putting the node list out in the
998 'correct' order.
999 2. added code so that local users and commands go to all connected nodes 
1000 INCLUDING the isolated ones.
1001 26Apr99=======================================================================
1002 1. added set/user command as a hack, please use this with care, there is
1003 very little checking.
1004 2. added export_opernam.pl which is a basic reader of AK1A opernam.dat files
1005 to stdout
1006 25Apr99=======================================================================
1007 1. Fixed problem with filtered spots not coming out.
1008 2. Added the possibility of filtering on channel callsign
1009 20Apr99=======================================================================
1010 1. altered order of undefing and closing of user file in an attempt to make 
1011 corruptions/missing users less likely.
1012 2. made messages that are addressed to the node call appear to the alias call
1013 3. check dates much more rigourously.
1014 4. ignore SIGTERM and SIGINT during shutdown of the cluster
1015 15Mar99=======================================================================
1016 1. added $actiondata to filter line to allow per action data such as no of hops
1017 2. fixed a silly problem in talk for non-existant callsigns
1018 3. Added sysop command
1019 02Mar99========================================================================
1020 1. Changed DXUser so that it uses a homemade import/export hash routine 
1021 2. DXUser now uses a DB_BTREE file
1022 3. Added export_users.pl, import_users.pl and convert_users.pl
1023 25Feb99========================================================================
1024 1. added NL language stuff.
1025 2. added set/language
1026 21Feb99========================================================================
1027 1. Allowed multiple 'on <freq>' for show/dx
1028 2. Made sure the 'on 20m/ssb' thing worked (also 'on hf/cw').
1029 3. first cut of the Filtering code, no user commands yet but the file
1030 format is defined and manually added filters should work for spots
1031 17Feb99========================================================================
1032 1. added export_user.pl to export user files (for interest and safety)
1033 2. changed DXUser::init to allow O_RDONLY access which may limit the number
1034 of coredumps G0RDI seems to get.
1035 15Feb99========================================================================
1036 1. Added msg forwarding code which uses $main::root/msg/forward.pl.
1037 14Feb99========================================================================
1038 1. Changed A & K in WWV to be the other way around (I am told by G3IOR that
1039 this will mean that we won't have pole to pole aurora nor all the power lines
1040 overloading everywhere as well as a result of having values of K > 10).
1041 2. allow the '~' character in message bodies.
1042 3. Moved $main::data/badmsg.pl to $main::root/msg/badmsg.pl.
1043 11Feb99========================================================================
1044 1. Fixed a problem with isolated nodes' configurations being sent on sending 
1045 local configs to new connections.
1046 08Feb99========================================================================
1047 1. added a $SIG{ALRM} in the client to actually catch the alarm when it goes 
1048 off which means that the netrom/ax25 call programs terminate properly (and not
1049 loop as fast as their little legs can paddle, soaking up CPU time).
1050 2. Implemented read receipts as an especial request from G4PDQ.
1051 3. Fiddled with DXUser a bit to see whether I can stop it core dumping on new
1052 users in PC16s on G0RDI's machine.
1053 4. Added E4 (Palestine) to Prefix data.
1054 30Jan99========================================================================
1055 1. Some of the dates we get can cause crashes, tried to make it more robust (oh
1056 and Y2K compliant)
1057 2. PC16 seem to come in with missing callsigns from somewhere
1058 3. added $main::data/baddx.pl which prevents callsigns that are in the list being
1059 a) forwarded b) stored and c) (except for the originator, if local) being
1060 displayed locally.
1061 4. added $main::data/badmsg.pl which deletes any messages whose TO address is
1062 in this list (this is largely for european sensibilities). 
1063 18Jan99========================================================================
1064 1. added present(),presentish() and disconnect() to DXCron so that you can see 
1065 (easily) if a station is on the cluster anywhere and also disconnect them
1066 locally. 
1067 2. added rcmd() to DXCron so you can send an rcmd to someone else from crontab.
1068 3. <embarrassment>Fixed create_sysop.pl so that longitude is spelt correctly
1069 there as well</embarrassment> made the update work properly. NOTE create_sysop
1070 will only do what you expect if all cluster.pl and client.pl programs are 
1071 stopped.
1072 4. DXCron wasn't reading in reliably on startup, this is now (hopefully) fixed.
1073 the -M semantics are rather strange!
1074 5. The -w switch is now standard on cluster.pl
1075 6. Added last_connect() which gives the last connect time of a user (or now
1076 if connected).
1077 7. Added present_on(call, node) and presentish_on(ditto) which returns true if 
1078 the call is connected to the node.
1079 8. incoming messages for users will now send a 'new message' message (instead
1080 of merely generating the message)[who wrote this rubbish?].
1081 9. Hooked $SIG{__WARN__} and $SIG{__DIE__} so we store these nasty error 
1082 messages.
1083 10. Print the no of users on restricted protocol links if we have had PC50
1084 11. Had a go at making the sh/cl stats more accurate.
1085 12. PC11 was trying to call Local::spot1 instead of Local::spot, no warning 
1086 previously.
1087 13. Added a simple lockfile to prevent more than one cluster running at a time
1088 17Jan99========================================================================
1089 1. fixed some permission problems on DXLog.
1090 2. There is a circumstance in DXMsg which caused the cluster to stop on an 
1091 null ref pointer which I can't get to the bottom of but have bandaided out 
1092 for now.
1093 3. Started filter and Database code.
1094 4. Upper cased all the TO callsigns for sending to more than one station in
1095 messages.
1096 07Jan99========================================================================
1097 1. Fixed Geomag after emacs reformatted it wrong so sh/wwv works again.
1098 2. Added more range checking in WWV spots (they really are a heap of ...)
1099 3. Changed create_sysop.pl so that you can update as well as create the user 
1100 file
1101 4. Remove spotter's SSID from WWV spots
1102 06Jan99========================================================================
1103 1. Do some range checking for spots and WWV in the future (got a WWV for Oct 
1104 2034 whhich caused a bit of confusion!)
1105 2. Make WWV spots broadcast them to the users! (as opposed to merely storing 
1106 them)(thank you G0RDI).
1107 3. Allow users to do show/announce (thank you JE1SGH).
1108 4. Delay broadcasts to users if they are not in a 'prompt' state (means you can
1109 add messages and see what you are doing on a busy system)
1110 5. Made set/unset dx,ann,wx,talk,wwv do what is expected
1111 6. added set/sys_location and set/set_qra to set the cluster lat/long and qra
1112 7. New messages will now be announced on logon (if there are any)
1113 03Jan99========================================================================
1114 1. Upped the version no !!!!
1115 2. made the DXProtocol routines much less sensitive to '~' characters (JE1SGH)
1116 3. added '^' -> ':' conversions on ann, talk and dx commands
1117 4. You can now send messages containing blank lines.
1118 5. Fixed merge command problem reported by G0RDI
1119 28Dec98========================================================================
1120 1. Crossed fingers, got rid of the instabilities caused by execing programs
1121 at vast speed (reduced it significantly anyway).
1122 2. Personals will now move if homenode is known.
1123 3. Added Local.pm for doing local specials
1124 27Dec98========================================================================
1125 1. Various detail changes to remove some more warning with -w on
1126 2. Added DXCron handling - you can do crontabs now.
1127 3. Added show/program command so you can see where it is loading your .pm files
1128 from.
1129 4. Added pc26/27 replies to locally connected cluster's merge (pc25) requests
1130 5. Added spotters DXCC and original cluster to Spot data files.
1131 23Dec98========================================================================
1132 1. Reindented various things
1133 2. Added missing $main::mycall on the end of outgoing PC11s (!)
1134 3. Check that PC16/17 node calls really are nodes (AFAIAC).
1135 22Dec98========================================================================
1136 1. Added brackets round callsign if not here for prompt
1137 2. Added Iain's set/password routine
1138 3. Fixed sh/dx problems (the xemacs indent region messed Spot.pm up!)
1139 4. Issued 1.15
1140 21Dec98============= late! ====================================================
1141 1. fixed problem with missing DXDebug in DXProt.
1142 2. Fixed DXDebug so that it actually works as advertised with and without 
1143 trailing \n. 
1144 3. Added deduping of WWV spots as well (at for date,time,sfi,k and i) dups
1145 4. Replaced the 0 in "02-Dec-1998" with ' ' so it reads " 2-Dec-1998", it seems
1146 hard to credit it but some 'programs' out there that connect to clusters have
1147 problems with the leading '0'!
1148 5. In the same vain, included a strictly AK1A compatible sh/heading, apparently
1149 this is necessary for the same reason as 4.
1150 6. Started contrib tree stored the old show/heading in contrib/g0rdi/show.
1151 7. Because I now correctly dedupe spots and wwv (there's a hostage to fortune..)
1152 I have added a merge command. 
1153 21Dec98========================================================================
1154 1. Added "issue" to the client program for 'login' connections
1155 2. Added more docs for client program.
1156 3. Fixed problem introduced in 1.12 where a connect locally with a callsign of
1157 someone connected remotely would stop the cluster.
1158 4. issue release 1.13
1159 20Dec98========================================================================
1160 1. Removed all the warnings I get with perl -w (at least for just starting the
1161 cluster and running a few commands).
1162 2. Added per node hop control.
1163 3. Added some docs on how to use it and isolation
1164 4. Made talk command more intelligent in that if the user isn't seen and the
1165 user's last node is visible it tries the talk anyway.
1166 19Dec98========================================================================
1167 1. Fixed problems with sh/rcmd (talk/ann/log) with a callsign as argument and
1168 also made what G0RDI wanted work as well!
1169 2. Added isolate flag to allow isolation of different networks at a gateway.
1170 3. Changed make Makefile.PL to perl Makefile.PL in instructions
1171 4. Copied latest instructions to html directory
1172 5. Had another attempt at making clients disconnect without hanging everytime.
1173 6. Changed msg queuing semantics so that the system routes on exact callsign.
1174 7. Changed the protocol version so that it increments with the DXSpider version.
1175 14Dec98========================================================================
1176 1. Made the telnet thing work a bit better. It still will not work reliably to
1177 a real telnetd on port 23.
1178 2. Allowed network logins on client by specifying login instead of call.
1179 3. made msg handling more robust (PC30 with unknown streams cause PC42), queueing
1180 is only done on channels that are in state 'normal'.
1181 4. Added pc command which takes a callsign and some text and sends it without
1182 mods to the callsign, useful for sending manual PC protocol to unstick things.
1183 Also for sending anonymous messages to online users.
1184 5. Stopped duplicate messages being stored (it receives them and then bins them)
1185 6. Implemented PC49 delete/full from outside (kill full on the inside)
1186 7. Implemented the client command in connect scripts so that you can have 
1187 different scripts for the same callsign.
1188 8. Added sh/wwv command
1189 13Dec98========================================================================
1190 1. Fixed VS6 lat/long in prefix_data and wpxloc.raw
1191 2. Sorted out last in times for remote users
1192 3. editted and substitued G0RDI's version of the install instructions over
1193 mine in spider/html
1194 4. fixed telnet connections
1195 5. added connect instructions to html tree.
1196 6. Added some more help
1197 7. Upissued version
1198 12Dec98========================================================================
1199 1. Incorporated sh/st, (un)set/lockout, forward/opername from Iain G0RDI
1200 2. Added group handling with (un)set/group, show/group. This allows arbitrary
1201 groups to be formed (for ann/<group> for example) and is also used to 'filter' 
1202 spots, announces, wwvs etc into groups of cluster nodes (useful for creating 
1203 disjoint cluster networks)
1204 3. **** CHANGE mylongtitude to mylongitude in DXVars.pm ****
1205 4. Altered QRA locator routines so they work correctly!
1206 5. Fixed all commands that had the wrong mylat(itude) and mylong(itude) names
1207 in.
1208 07Dec98========================================================================
1209 1. Added set/name, set/qra, set/location, set/qth, set/homenode, set/bbs, 
1210 set/email
1211 2. changed the Msg socket close to a shutdown (hopefully more reliable), this 
1212 should stop clients hanging on exit.
1213 3. Added Alias support for help
1214 4. Added lltos and stoll routines to DXBearing
1215 5. Added auto prompting for name, qth, location and homenode if any of these
1216 aren't known.
1217 06Dec98========================================================================
1218 1. Fixed DXBearing::is_qra so that it correctly detects full QRA locators
1219 2. Added sh/qra for doing locator distances and bearings
1220 3. Added some stuff to Notes.txt on hints for command writers
1221 4. Changed help system to use just one file per language
1222 5. Started adding more help
1223 6. Fixed 24Mhz band limits
1224 7. Added apropos command and lots of new help text
1225 05Dec98========================================================================
1226 1. Added sh/heading and QRA locator calculation stuff
1227 04Dec98========================================================================
1228 1. Started Changes file
1229 2. Added load/cmd_cache.pl to clear cmd cache shortcuts (use this if cluster.pl
1230 get confused about where it is getting its commands from eg if you have
1231 removed a file from local_cmd 'cos you want to go back to standard one)
1232 3. Fixed bull handling at least to the extent that it stores them and
1233 doesn't mess up the normal directory handling.
1234 4. Fixed the unset/debug command so that it actually does the job!
1235 5. Removed the middle line 'written in perl for unix' from show/version.pl