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