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