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