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