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