fixed problem where two consoles with same call stopped the cluster
[spider.git] / Changes
1 10Jul99=======================================================================
2 1. added an explicit disconnect from my side for already connected calls. This
3 appears to have fixed a problem where if two consoles connect at the same time
4 with the same (sysop?) callsign the cluster would stop.
5 2. added some debugging in the Message handler to allow more state to be seen.
6 05Jul99=======================================================================
7 1. added stat/msg and stat/cluster commands to allow me to poke about inside
8 the msg and cluster node tables.
9 04Jul99=======================================================================
10 1. removed silly 'new message has arrived' to connected nodes if message is
11 2. added a ! command to the console.pl program; works like the bash shell.
12 addressed to the node call.
13 01Jul99=======================================================================
14 1. Altered priv to 5 for connect.pl to match disconnect for nodes
15 29Jun99=======================================================================
16 1. fixed merge command that I broke.
17 2. added some randomness in waittimes for aborted outgoing messages 
18 3. Message Queuing now only occurs every 5 minutes (configurable if anyone 
19 wants to write the command for doing it) nad on receipt of a PC16. This is
20 a further attempt at sorting the crossing of messages!
21 4. a PC33 will cause another attempt at queuing. If you are on a roll, keep
22 going!
23 28Jun99=======================================================================
24 1. console.pl now works with history and editting.
25 2. added scrolling to stuff sent by the cluster.
26 3. added colours to things.
27 27Jun99=======================================================================
28 1. added WWV filtering
29 2. added timeouts to for forwarding Messages, also added a waiting time for
30 failed (stalled) outgoing messages.
31 3. Incoming messages will now have priority over outgoing messages to the
32 same node.
33 4. Added 'catchup' command which will 'catchup' messages to date for a node. 
34 This means that when you start forwarding to a node, it doesn't get all the
35 messages queued up that are probably old.
36 5. added 'uncatchup' which does the opposite of the above.
37 6. fixed kill full and PC49 handling so that it actually works.
38 7. Fixed local aliases so they add to the front of the standard ones. This
39 means you only need to add your specials or override the system ones you need
40 to.
41 21Jun99=======================================================================
42 1. changed regex for cluster->client msgs so that strings like |---| are no
43 longer ignored.
44 20Jun99=======================================================================
45 1. prevented a merge to myself (causes a loop)
46 18Jun99=======================================================================
47 1. fixed a problem with DXLogPrint repeating log entries.
48 2. altered the permissions on disconnnect so that priv 5 users can disconnect
49 clusters, but still require priv 8 to disconnect users.
50 3. made sure that an incoming PC18 clears out all the cluster info for
51 that channel before re-initialising.
52 4. add init command.
53 5. disconnect users before nodess on shutdown
54 15Jun99=======================================================================
55 1. added grepdbg program (so you can search your debug files and get times
56 and dates of incidents).
57 2. Moved DXVars.pm to DXVars.pm.issue to force new users to cp it to their
58 local directory.
59 3. added $allowzero to DXProt to allow thru PC19s with zero protocol versions.
60 14Jun99=======================================================================
61 1. changed IO::File in help and apropos to IO::File
62 2. added a check for isa('DXNode') for PC50s
63 08Jun99=======================================================================
64 1. Started work on the curses based operator console.
65 03Jun99=======================================================================
66 1. cluster seems to have a memory leak, put DESTROY functions in where 
67 appropriate.
68 2. try to make sure that PC21 commands are not issued inappropriately and
69 also reformat PC19 for onward broadcast so that nodes coming in on loops are
70 dropped from those broadcasts.
71 3. make sure PC16,17,19,21 doen't affect locally connected nodes.
72 4. Changed all instances of FileHandle to IO::File.
73 01Jun99=======================================================================
74 1. removed a output of an unwanted pc21 for isolated nodes
75 31May99=======================================================================
76 1. Added checking for PC16,17,19 and 21 to make sure that they come in from
77 the channels that they are supposed to.
78 2. Pass the RCMDing node's priv level to the command (rather than the 
79 connecting node's privilege level).
80 3. Pass thru merge requests for other nodes.
81 4. Removed a warning from client.pl
82 5. routed external DB commands and drop them (for now) locally
83 6. routed external mail commands (ie those addressed elsewhere)
84 7. routed external PC26/27 lines 
85 25May99=======================================================================
86 1. try to make the lastin value correct even for local users
87 2. got rid of the stupid bug that failed to print out the offline message
88 but put a "*main::STDOUTmain" for every line of that message instead.
89 3. Ported to 5.00503 (well actually just installed it and it just runs). 
90 4. Added who command
91 23May99=======================================================================
92 1. Got rid of some of the useless error messages on global destruction when
93 quiting a program.
94 2. Stuck -w back on client.pl
95 23May99=======================================================================
96 1. tried to change connection to raw mode for cluster connections
97 2. sh/c and sh/u are now sorted in alphabetical order
98 3. Limited the number of queued dx spots when composing messages to 20 (the 
99 oldest one is lost for every one added above 20).
100 4. Added generalised shell globbing everywhere I think it is useful, including
101 sh/dx, dir, sh/files etc
102 5. Made dir more compatible with ak1a and added 'to' and 'from' call searching
103 it should now do everything that ak1a does except counts.
104 6. added similar functionality to kill command so that you can kill ranges, to
105 and from callsigns etc.
106 22May99=======================================================================
107 1. added check for -1 from Date::Parse and return undef for out of range dates
108 2. added show/files and type commands
109 21May99=======================================================================
110 1. made set/nodx work again.
111 2. made dx stuff queue nicely again when sending messages.
112 18May99=======================================================================
113 1. Added announce dup checking.
114 2. Added system announce filtering.
115 08May99=======================================================================
116 1. Added a bit more checking to the rcmd thing to make more sure that this
117 rcmd isn't coming from an imposter. Not possible to prevent everything 
118 ofcourse, just make it a bit harder.
119 2. altered set/lockout and set/privilege so that they can't executed remotely.
120 3. Added some code to reject rubbish (with invalid binary characters) protocol
121 or user lines as input.
122 4. prevented PC command being executed remotely :-)
123 05May99=======================================================================
124 1. change the connection overlap from an abort to a disconnect.
125 02May99=======================================================================
126 1. Added the mechanism for doing user spot filtering for spots in the cluster 
127 (no user control just yet - but sysops can do it).
128 2. Fixed problem with nodes sending out the node lists of isolated nodes.
129 30Apr99=======================================================================
130 1. Try to make it even more AK1A friendly by putting the node list out in the
131 'correct' order.
132 2. added code so that local users and commands go to all connected nodes 
133 INCLUDING the isolated ones.
134 26Apr99=======================================================================
135 1. added set/user command as a hack, please use this with care, there is
136 very little checking.
137 2. added export_opernam.pl which is a basic reader of AK1A opernam.dat files
138 to stdout
139 25Apr99=======================================================================
140 1. Fixed problem with filtered spots not coming out.
141 2. Added the possibility of filtering on channel callsign
142 20Apr99=======================================================================
143 1. altered order of undefing and closing of user file in an attempt to make 
144 corruptions/missing users less likely.
145 2. made messages that are addressed to the node call appear to the alias call
146 3. check dates much more rigourously.
147 4. ignore SIGTERM and SIGINT during shutdown of the cluster
148 15Mar99=======================================================================
149 1. added $actiondata to filter line to allow per action data such as no of hops
150 2. fixed a silly problem in talk for non-existant callsigns
151 3. Added sysop command
152 02Mar99========================================================================
153 1. Changed DXUser so that it uses a homemade import/export hash routine 
154 2. DXUser now uses a DB_BTREE file
155 3. Added export_users.pl, import_users.pl and convert_users.pl
156 25Feb99========================================================================
157 1. added NL language stuff.
158 2. added set/language
159 21Feb99========================================================================
160 1. Allowed multiple 'on <freq>' for show/dx
161 2. Made sure the 'on 20m/ssb' thing worked (also 'on hf/cw').
162 3. first cut of the Filtering code, no user commands yet but the file
163 format is defined and manually added filters should work for spots
164 17Feb99========================================================================
165 1. added export_user.pl to export user files (for interest and safety)
166 2. changed DXUser::init to allow O_RDONLY access which may limit the number
167 of coredumps G0RDI seems to get.
168 15Feb99========================================================================
169 1. Added msg forwarding code which uses $main::root/msg/forward.pl.
170 14Feb99========================================================================
171 1. Changed A & K in WWV to be the other way around (I am told by G3IOR that
172 this will mean that we won't have pole to pole aurora nor all the power lines
173 overloading everywhere as well as a result of having values of K > 10).
174 2. allow the '~' character in message bodies.
175 3. Moved $main::data/badmsg.pl to $main::root/msg/badmsg.pl.
176 11Feb99========================================================================
177 1. Fixed a problem with isolated nodes' configurations being sent on sending 
178 local configs to new connections.
179 08Feb99========================================================================
180 1. added a $SIG{ALRM} in the client to actually catch the alarm when it goes 
181 off which means that the netrom/ax25 call programs terminate properly (and not
182 loop as fast as their little legs can paddle, soaking up CPU time).
183 2. Implemented read receipts as an especial request from G4PDQ.
184 3. Fiddled with DXUser a bit to see whether I can stop it core dumping on new
185 users in PC16s on G0RDI's machine.
186 4. Added E4 (Palestine) to Prefix data.
187 30Jan99========================================================================
188 1. Some of the dates we get can cause crashes, tried to make it more robust (oh
189 and Y2K compliant)
190 2. PC16 seem to come in with missing callsigns from somewhere
191 3. added $main::data/baddx.pl which prevents callsigns that are in the list being
192 a) forwarded b) stored and c) (except for the originator, if local) being
193 displayed locally.
194 4. added $main::data/badmsg.pl which deletes any messages whose TO address is
195 in this list (this is largely for european sensibilities). 
196 18Jan99========================================================================
197 1. added present(),presentish() and disconnect() to DXCron so that you can see 
198 (easily) if a station is on the cluster anywhere and also disconnect them
199 locally. 
200 2. added rcmd() to DXCron so you can send an rcmd to someone else from crontab.
201 3. <embarrassment>Fixed create_sysop.pl so that longitude is spelt correctly
202 there as well</embarrassment> made the update work properly. NOTE create_sysop
203 will only do what you expect if all cluster.pl and client.pl programs are 
204 stopped.
205 4. DXCron wasn't reading in reliably on startup, this is now (hopefully) fixed.
206 the -M semantics are rather strange!
207 5. The -w switch is now standard on cluster.pl
208 6. Added last_connect() which gives the last connect time of a user (or now
209 if connected).
210 7. Added present_on(call, node) and presentish_on(ditto) which returns true if 
211 the call is connected to the node.
212 8. incoming messages for users will now send a 'new message' message (instead
213 of merely generating the message)[who wrote this rubbish?].
214 9. Hooked $SIG{__WARN__} and $SIG{__DIE__} so we store these nasty error 
215 messages.
216 10. Print the no of users on restricted protocol links if we have had PC50
217 11. Had a go at making the sh/cl stats more accurate.
218 12. PC11 was trying to call Local::spot1 instead of Local::spot, no warning 
219 previously.
220 13. Added a simple lockfile to prevent more than one cluster running at a time
221 17Jan99========================================================================
222 1. fixed some permission problems on DXLog.
223 2. There is a circumstance in DXMsg which caused the cluster to stop on an 
224 null ref pointer which I can't get to the bottom of but have bandaided out 
225 for now.
226 3. Started filter and Database code.
227 4. Upper cased all the TO callsigns for sending to more than one station in
228 messages.
229 07Jan99========================================================================
230 1. Fixed Geomag after emacs reformatted it wrong so sh/wwv works again.
231 2. Added more range checking in WWV spots (they really are a heap of ...)
232 3. Changed create_sysop.pl so that you can update as well as create the user 
233 file
234 4. Remove spotter's SSID from WWV spots
235 06Jan99========================================================================
236 1. Do some range checking for spots and WWV in the future (got a WWV for Oct 
237 2034 whhich caused a bit of confusion!)
238 2. Make WWV spots broadcast them to the users! (as opposed to merely storing 
239 them)(thank you G0RDI).
240 3. Allow users to do show/announce (thank you JE1SGH).
241 4. Delay broadcasts to users if they are not in a 'prompt' state (means you can
242 add messages and see what you are doing on a busy system)
243 5. Made set/unset dx,ann,wx,talk,wwv do what is expected
244 6. added set/sys_location and set/set_qra to set the cluster lat/long and qra
245 7. New messages will now be announced on logon (if there are any)
246 03Jan99========================================================================
247 1. Upped the version no !!!!
248 2. made the DXProtocol routines much less sensitive to '~' characters (JE1SGH)
249 3. added '^' -> ':' conversions on ann, talk and dx commands
250 4. You can now send messages containing blank lines.
251 5. Fixed merge command problem reported by G0RDI
252 28Dec98========================================================================
253 1. Crossed fingers, got rid of the instabilities caused by execing programs
254 at vast speed (reduced it significantly anyway).
255 2. Personals will now move if homenode is known.
256 3. Added Local.pm for doing local specials
257 27Dec98========================================================================
258 1. Various detail changes to remove some more warning with -w on
259 2. Added DXCron handling - you can do crontabs now.
260 3. Added show/program command so you can see where it is loading your .pm files
261 from.
262 4. Added pc26/27 replies to locally connected cluster's merge (pc25) requests
263 5. Added spotters DXCC and original cluster to Spot data files.
264 23Dec98========================================================================
265 1. Reindented various things
266 2. Added missing $main::mycall on the end of outgoing PC11s (!)
267 3. Check that PC16/17 node calls really are nodes (AFAIAC).
268 22Dec98========================================================================
269 1. Added brackets round callsign if not here for prompt
270 2. Added Iain's set/password routine
271 3. Fixed sh/dx problems (the xemacs indent region messed Spot.pm up!)
272 4. Issued 1.15
273 21Dec98============= late! ====================================================
274 1. fixed problem with missing DXDebug in DXProt.
275 2. Fixed DXDebug so that it actually works as advertised with and without 
276 trailing \n. 
277 3. Added deduping of WWV spots as well (at for date,time,sfi,k and i) dups
278 4. Replaced the 0 in "02-Dec-1998" with ' ' so it reads " 2-Dec-1998", it seems
279 hard to credit it but some 'programs' out there that connect to clusters have
280 problems with the leading '0'!
281 5. In the same vain, included a strictly AK1A compatible sh/heading, apparently
282 this is necessary for the same reason as 4.
283 6. Started contrib tree stored the old show/heading in contrib/g0rdi/show.
284 7. Because I now correctly dedupe spots and wwv (there's a hostage to fortune..)
285 I have added a merge command. 
286 21Dec98========================================================================
287 1. Added "issue" to the client program for 'login' connections
288 2. Added more docs for client program.
289 3. Fixed problem introduced in 1.12 where a connect locally with a callsign of
290 someone connected remotely would stop the cluster.
291 4. issue release 1.13
292 20Dec98========================================================================
293 1. Removed all the warnings I get with perl -w (at least for just starting the
294 cluster and running a few commands).
295 2. Added per node hop control.
296 3. Added some docs on how to use it and isolation
297 4. Made talk command more intelligent in that if the user isn't seen and the
298 user's last node is visible it tries the talk anyway.
299 19Dec98========================================================================
300 1. Fixed problems with sh/rcmd (talk/ann/log) with a callsign as argument and
301 also made what G0RDI wanted work as well!
302 2. Added isolate flag to allow isolation of different networks at a gateway.
303 3. Changed make Makefile.PL to perl Makefile.PL in instructions
304 4. Copied latest instructions to html directory
305 5. Had another attempt at making clients disconnect without hanging everytime.
306 6. Changed msg queuing semantics so that the system routes on exact callsign.
307 7. Changed the protocol version so that it increments with the DXSpider version.
308 14Dec98========================================================================
309 1. Made the telnet thing work a bit better. It still will not work reliably to
310 a real telnetd on port 23.
311 2. Allowed network logins on client by specifying login instead of call.
312 3. made msg handling more robust (PC30 with unknown streams cause PC42), queueing
313 is only done on channels that are in state 'normal'.
314 4. Added pc command which takes a callsign and some text and sends it without
315 mods to the callsign, useful for sending manual PC protocol to unstick things.
316 Also for sending anonymous messages to online users.
317 5. Stopped duplicate messages being stored (it receives them and then bins them)
318 6. Implemented PC49 delete/full from outside (kill full on the inside)
319 7. Implemented the client command in connect scripts so that you can have 
320 different scripts for the same callsign.
321 8. Added sh/wwv command
322 13Dec98========================================================================
323 1. Fixed VS6 lat/long in prefix_data and wpxloc.raw
324 2. Sorted out last in times for remote users
325 3. editted and substitued G0RDI's version of the install instructions over
326 mine in spider/html
327 4. fixed telnet connections
328 5. added connect instructions to html tree.
329 6. Added some more help
330 7. Upissued version
331 12Dec98========================================================================
332 1. Incorporated sh/st, (un)set/lockout, forward/opername from Iain G0RDI
333 2. Added group handling with (un)set/group, show/group. This allows arbitrary
334 groups to be formed (for ann/<group> for example) and is also used to 'filter' 
335 spots, announces, wwvs etc into groups of cluster nodes (useful for creating 
336 disjoint cluster networks)
337 3. **** CHANGE mylongtitude to mylongitude in DXVars.pm ****
338 4. Altered QRA locator routines so they work correctly!
339 5. Fixed all commands that had the wrong mylat(itude) and mylong(itude) names
340 in.
341 07Dec98========================================================================
342 1. Added set/name, set/qra, set/location, set/qth, set/homenode, set/bbs, 
343 set/email
344 2. changed the Msg socket close to a shutdown (hopefully more reliable), this 
345 should stop clients hanging on exit.
346 3. Added Alias support for help
347 4. Added lltos and stoll routines to DXBearing
348 5. Added auto prompting for name, qth, location and homenode if any of these
349 aren't known.
350 06Dec98========================================================================
351 1. Fixed DXBearing::is_qra so that it correctly detects full QRA locators
352 2. Added sh/qra for doing locator distances and bearings
353 3. Added some stuff to Notes.txt on hints for command writers
354 4. Changed help system to use just one file per language
355 5. Started adding more help
356 6. Fixed 24Mhz band limits
357 7. Added apropos command and lots of new help text
358 05Dec98========================================================================
359 1. Added sh/heading and QRA locator calculation stuff
360 04Dec98========================================================================
361 1. Started Changes file
362 2. Added load/cmd_cache.pl to clear cmd cache shortcuts (use this if cluster.pl
363 get confused about where it is getting its commands from eg if you have
364 removed a file from local_cmd 'cos you want to go back to standard one)
365 3. Fixed bull handling at least to the extent that it stores them and
366 doesn't mess up the normal directory handling.
367 4. Fixed the unset/debug command so that it actually does the job!
368 5. Removed the middle line 'written in perl for unix' from show/version.pl