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