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