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