Update manuals for CVS and new commands
[spider.git] / sgml / adminmanual.sgml
1 <!doctype linuxdoc system>\r
2 \r
3 <article>\r
4 \r
5 <!-- Title information -->\r
6 \r
7 <title>The DXSpider Administration Manual v1.51</title> \r
8 <author>Ian Maude, G0VGS, (g0vgs@gb7mbc.net), and\r
9 Charlie Carroll, K1XX, (k1xx@ptcnh.net)</author>\r
10 <date>June 2004 revision 1</date>\r
11 \r
12 <abstract>\r
13 A reference for SysOps of the DXSpider DXCluster program.\r
14 </abstract>\r
15 \r
16 <!-- Table of contents -->\r
17 <toc>\r
18 \r
19 <!-- Begin the document -->\r
20 \r
21 <sect>Routing and Filtering\r
22 \r
23 <sect1>Introduction\r
24 \r
25 <P>\r
26 From DXSpider version 1.48, major changes were introduced to the way \r
27 node connections are treated.  This is part of an ongoing process to\r
28 remove problems with loops and to enable talk and other functions to\r
29 propagate across the whole of the worldwide cluster network.  In fact,\r
30 in a Spider network, it would be useful, perhaps even necessary to\r
31 have loops.  This would give real resilience to the network, meaning\r
32 that if a link dropped, the information flow would simply come in and\r
33 go out via a different route.  Of course, we do not have a complete\r
34 network of Spider nodes, there are other programs out there.  Some of\r
35 these do not have any protection from loops.  Certainly AK1A does not \r
36 handle loops well at all.  It is therefore necessary to have some form \r
37 of protection for these nodes.\r
38 \r
39 <P>\r
40 In fact DXSpider has had a simple system for some time which is called\r
41 <it>isolation</it>. This is similar to what in other systems such as \r
42 <bf>clx</bf>, is called <it>passive mode</it>. A more detailed explanation\r
43 of <it>isolation</it> is given further below. This system is still available\r
44 and, for simple networks, is probably all that you need.\r
45 \r
46 <P>\r
47 The new functionality introduced in version 1.48 allows filtering the node\r
48 and user protocol frames on a "per interface" basis. We call this\r
49 <it>route filtering</it>. This is used <bf>instead of</bf>\r
50 <it>isolation</it>. \r
51 \r
52 <p>\r
53 What this really means is that you can control more or less completely\r
54 which user and node management PC protocol frames pass to each of your \r
55 partner nodes. You can also limit what comes into your node from your \r
56 partners. It is even possible to control the settings that your partner \r
57 node has for the routing information that it sends to you \r
58 (using the <it>rcmd</it> command).\r
59 \r
60 <sect1>Route Filters\r
61 \r
62 <p>\r
63 Initially when route filters were being tested we generated a\r
64 "default" filter.  Unfortunately it quickly became apparent that this\r
65 might suit the UK cluster network but didn't really fit anybody else.\r
66 However using a default filter is an appropriate thing to do. How, is\r
67 explained further on.\r
68 \r
69 <p>\r
70 The first thing that you must do is determine whether you need to use \r
71 route filtering <bf>at all</bf>. If you are a "normal" node with two or \r
72 three partners and you arranged in an "official" non-looping tree type \r
73 network, then <bf>you do not need to do route filtering</bf> and you will \r
74 feel a lot better for not getting involved. If you are successfully using \r
75 <it>isolation</it> then you also probably don't need to use route filtering.\r
76 \r
77 <p>\r
78 To put it simply, you should not mix Isolation and Route Filtering.  It \r
79 will work, of sorts, but you will not get the expected results.  If you \r
80 are using Isolation sucessfully at the moment, do not get involved in \r
81 Route Filtering unless you have a good supply of aspirin!  Once you have \r
82 started down the road of Route Filtering, do not use Isolation either.\r
83 Use one or the other, not both.\r
84 \r
85 <p>\r
86 You will only require this functionality if you are "well-connected". What \r
87 that means is that you are connected to several different parts of (say) \r
88 the EU cluster and, at the same time, also connected to two or three places \r
89 in the US which, in turn are connected back to the EU. This is called a \r
90 "loop" and if you are seriously looped then you need filtering.\r
91 \r
92 <P>\r
93 I should at this stage give a little bit of background on filters.  All\r
94 the filters in Spider work in basically the same way.  You can either\r
95 accept or reject various options in order to create the filter rules\r
96 you wish to achieve.  Some filters are user settable, others can only\r
97 be altered by the sysop.  Route filtering can only be done by the sysop.\r
98 \r
99 <P> \r
100 Anyway, without further discouragement, let me start the process\r
101 of explanation.\r
102 \r
103 <sect1>The node_default filter\r
104 \r
105 <P>\r
106 All normal systems should have a default routing filter and it should\r
107 usually be set to send only the normal, unlooped, view of your\r
108 "national" network.  Here in the UK that means nodes from the UK and\r
109 Eire, in EU it is more complex as the networks there grew up in a more\r
110 intertwined way.\r
111 \r
112 <p> \r
113 The generic commands are:-\r
114 \r
115 <tscreen><verb>\r
116 reject/route node_default &lt;filter_option&gt;\r
117 \r
118 or\r
119 \r
120 accept/route node_default &lt;filter_option&gt;\r
121 </verb></tscreen>\r
122 \r
123 where filter_option is one of the following ...\r
124 \r
125 <tscreen><verb>\r
126 call &lt;prefixes&gt;\r
127 call_dxcc &lt;numbers&gt;\r
128 call_itu &lt;numbers&gt;\r
129 call_zone &lt;numbers&gt;\r
130 channel &lt;prefixes&gt;\r
131 channel_dxcc &lt;numbers&gt;\r
132 channel_itu &lt;numbers&gt;\r
133 channel_zone &lt;numbers&gt;\r
134 </verb></tscreen>\r
135 \r
136 Please be careful if you alter this setting, it will affect \r
137 <bf><it>ALL</it></bf> your links!  Remember, this is a <it>default</it>\r
138 filter for node connections, not a <it>per link</it> default.\r
139 \r
140 <p>\r
141 For the default routing filter then you have two real choices: either\r
142 a "national" view or the "safe" option of only your own\r
143 callsign. Examples of each (for my node: GB7DJK) are:-\r
144 \r
145 <tscreen><verb>\r
146 acc/route node_default call_dxcc 61,38\r
147 acc/route node_default call gb7djk\r
148 </verb></tscreen>\r
149 \r
150 GB7DJK uses the first of these. The DXCC countries can be obtained from the \r
151 <it>show/prefix</it> command.\r
152 \r
153 <p>\r
154 The example filters shown control <it>output</it> <bf>TO</bf> all your\r
155 partner nodes unless they have a specific filter applied to them (see\r
156 next section).\r
157 \r
158 <p>\r
159 It is also possible to control the <it>incoming</it> routing\r
160 information that you are prepared to accept <bf>FROM</bf> your partner\r
161 nodes. The reason this is necessary is to make sure that stuff like\r
162 mail, pings and similar commands a) go down the correct links and b)\r
163 don't loop around excessively. Again using GB7DJK as an example a typical\r
164 default input filter would be something like:\r
165 \r
166 <tscreen><verb>\r
167 rej/route node_default input call_dxcc 61,38 and not channel_dxcc 61,38\r
168 </verb></tscreen>\r
169 \r
170 What this does is accept node and user information for our national\r
171 network from nodes that are in our national network, but rejects such\r
172 information from anyone else. Although it doesn't explicitly say so,\r
173 by implication, any other node information (not from the UK and Eire)\r
174 is accepted.\r
175 \r
176 <p>\r
177 As I imagine it will take a little while to get one's head around all of \r
178 this you can study the effect of any rules that you try by watching the \r
179 debug output after having done:-\r
180 \r
181 <tscreen><verb>\r
182 set/debug filter\r
183 </verb></tscreen>\r
184 \r
185 After you have got tired of that, to put it back the way it was:-\r
186 \r
187 <tscreen><verb>\r
188 unset/debug filter\r
189 </verb></tscreen>\r
190 \r
191 <sect1>General route filtering\r
192 \r
193 <P>\r
194 Exactly the same rules apply for general route filtering.  You would\r
195 use either an accept filter or a reject filter like this ...\r
196 \r
197 <tscreen><verb>\r
198 reject/route &lt;node_call&gt; &lt;filter_option&gt;\r
199 \r
200 or\r
201 \r
202 accept/route &lt;node_call&gt; &lt;filter_option&gt; \r
203 </verb></tscreen>\r
204 \r
205 <P>\r
206 Here are some examples of route filters ...\r
207 \r
208 <tscreen><verb>\r
209 rej/route gb7djk call_dxcc 61,38 (send everything except UK+EIRE nodes)\r
210 rej/route all                    (equiv to [very] restricted mode)\r
211 acc/route gb7djk call_dxcc 61,38 (send only UK+EIRE nodes)\r
212 acc/route gb7djk call gb7djk     (equiv to SET/ISOLATE)\r
213 </verb></tscreen>\r
214 \r
215 In practice you will either be opening the default filter out for a\r
216 partner by defining a specific filter for that callsign:-\r
217  \r
218 <tscreen><verb>\r
219 acc/route gb7baa all\r
220 acc/route gb7baa input all\r
221 </verb></tscreen>\r
222 \r
223 or restricting it quite a lot, in fact making it very nearly like an \r
224 <it>isolated</it> node, like this:-\r
225 \r
226 <tscreen><verb>\r
227 acc/route pi4ehv-8 call gb7djk\r
228 rej/route pi4ehv-8 input call_dxcc 61,38 \r
229 </verb></tscreen>\r
230 \r
231 This last example takes everything except UK and Eire from PI4EHV-8\r
232 but only sends him my local configuration (just a PC19 for GB7DJK and\r
233 PC16s for my local users).\r
234 \r
235 <p>\r
236 It is possible to write <bf>much</bf> more complex rules, there are up \r
237 to 10 accept/reject pairs per callsign per filter. For more information \r
238 see the next section. \r
239 \r
240 \r
241 <sect1>General filter rules\r
242 \r
243 <P>\r
244 Upto v1.44 it was not possible for the user to set their own filters.  From \r
245 v1.45 though that has all changed.  It is now possible to set filters for just \r
246 about anything you wish.  If you have just updated from an older version of \r
247 DXSpider you will need to update your new filters.  You do not need to do \r
248 anything with your old filters, they will be renamed as you update.\r
249 \r
250 <P>\r
251 There are 3 basic commands involved in setting and manipulating filters.  These \r
252 are <em>accept</em>, <em>reject</em> and <em>clear</em>.  First we will look\r
253 generally at filtering. There are a number of things you can filter in the \r
254 DXSpider system. They all use the same general mechanism.\r
255 \r
256 <P>\r
257 In general terms you can create a "reject" or an "accept" filter which can have \r
258 up to 10 lines in it. You do this using, for example ... \r
259 \r
260 <tscreen><verb> \r
261 accept/spots .....\r
262 reject/spots .....\r
263 </verb></tscreen>\r
264 \r
265 where ..... are the specific commands for that type of filter. There are filters \r
266 for spots, wwv, announce, wcy and (for sysops) connects. See each different \r
267 accept or reject command reference for more details.\r
268 \r
269 There is also a command to clear out one or more lines in a filter. They are ...\r
270 \r
271 <tscreen><verb>\r
272 clear/spots 1\r
273 clear/spots all\r
274 </verb></tscreen>\r
275 \r
276 There is clear/xxxx command for each type of filter.\r
277 \r
278 <P>\r
279 and you can check that your filters have worked by the command ... \r
280 \r
281 <tscreen><verb>  \r
282 show/filter\r
283 </verb></tscreen>\r
284 \r
285 <P>\r
286 For now we are going to use spots for the examples, but you can apply the same\r
287 principles to all types of filter.\r
288 \r
289 <sect1>Types of filter\r
290 \r
291 <P>\r
292 There are two main types of filter, <em>accept</em> or <em>reject</em>.  You \r
293 can use either to achieve the result you want dependent on your own preference \r
294 and which is more simple to do.  It is pointless writing 8 lines of reject \r
295 filters when 1 accept filter would do the same thing!  Each filter has 10 \r
296 lines (of any length) which are tried in order.  If a line matches then the \r
297 action you have specified is taken (ie reject means ignore it and accept \r
298 means take it)\r
299 \r
300 <P>\r
301 If you specify reject filters, then any lines that arrive that match the filter \r
302 will be dumped but all else will be accepted.  If you use an accept filter, \r
303 then ONLY the lines in the filter will be accepted and all else will be dumped.\r
304 For example if you have a single line <em>accept</em> filter ...\r
305 \r
306 <tscreen><verb>\r
307 accept/spots on vhf and (by_zone 14,15,16 or call_zone 14,15,16)\r
308 </verb></tscreen>\r
309 \r
310 then you will <em>ONLY</em> get VHF spots <em>from</em> or <em>to</em> CQ zones \r
311 14, 15 and 16.\r
312 \r
313 <P>\r
314 If you set a reject filter like this ...\r
315 \r
316 <tscreen><verb>\r
317 reject/spots on hf/cw\r
318 </verb></tscreen>\r
319 \r
320 Then you will get everything <em>EXCEPT</em> HF CW spots.  You could make this \r
321 single filter even more flexible.  For example, if you are interested in IOTA \r
322 and will work it even on CW even though normally you are not interested in \r
323 CW, then you could say ...\r
324 \r
325 <tscreen><verb>\r
326 reject/spots on hf/cw and not info iota\r
327 </verb></tscreen>\r
328 \r
329 But in that case you might only be interested in iota and say:-\r
330 \r
331 <tscreen><verb>\r
332 accept/spots not on hf/cw or info iota\r
333 </verb></tscreen>\r
334 \r
335 which achieves exactly the same thing. You should choose one or the other \r
336 until you are comfortable with the way it works. You can mix them if you \r
337 wish (actually you can have an accept AND a reject on the same line) but \r
338 don't attempt this until you are sure you know what you are doing!\r
339 \r
340 <P>\r
341 You can arrange your filter lines into logical units, either for your own\r
342 understanding or simply convenience. Here is an example ...\r
343 \r
344 <tscreen><verb>\r
345 reject/spots 1 on hf/cw\r
346 reject/spots 2 on 50000/1400000 not (by_zone 14,15,16 or call_zone 14,15,16)  \r
347 </verb></tscreen>\r
348 \r
349 What this does is to ignore all HF CW spots and also rejects any spots on VHF \r
350 which don't either originate or spot someone in Europe. \r
351 \r
352 <P>\r
353 This is an example where you would use a line number (1 and 2 in this case), if \r
354 you leave the digit out, the system assumes '1'. Digits '0'-'9' are available.  \r
355 This make it easier to see just what filters you have set.  It also makes it \r
356 more simple to remove individual filters, during a contest for example.\r
357 \r
358 <P>\r
359 You will notice in the above example that the second line has brackets.  Look \r
360 at the line logically.  You can see there are 2 separate sections to it.  We \r
361 are saying reject spots that are VHF or above <em>APART</em> from those in \r
362 zones 14, 15 and 16 (either spotted there or originated there).  If you did \r
363 not have the brackets to separate the 2 sections, then Spider would read it \r
364 logically from the front and see a different expression entirely ...\r
365 \r
366 <tscreen><verb>\r
367 (on 50000/1400000 and by_zone 14,15,16) or call_zone 14,15,16 \r
368 </verb></tscreen>\r
369 \r
370 The simple way to remember this is, if you use OR - use brackets. Whilst we are \r
371 here CASE is not important. 'And BY_Zone' is just the same as 'and by_zone'.\r
372 \r
373 As mentioned earlier, setting several filters can be more flexible than \r
374 simply setting one complex one.  Doing it in this way means that if you want \r
375 to alter your filter you can just redefine or remove one or more lines of it or \r
376 one line. For example ...\r
377 \r
378 <tscreen><verb>\r
379 reject/spots 1 on hf/ssb\r
380 </verb></tscreen>\r
381 \r
382 would redefine our earlier example, or \r
383 \r
384 <tscreen><verb>\r
385 clear/spots 1\r
386 </verb></tscreen>\r
387 \r
388 To remove all the filter lines in the spot filter ...\r
389 \r
390 <tscreen><verb>\r
391 clear/spots all\r
392 </verb></tscreen>\r
393 \r
394 <sect1>Filter options\r
395 \r
396 <P>\r
397 You can filter in several different ways.  The options are listed in the\r
398 various helpfiles for accept, reject and filter.\r
399 \r
400 <sect1>Default filters\r
401 \r
402 <P>\r
403 Sometimes all that is needed is a general rule for node connects.  This can\r
404 be done with a node_default filter.  This rule will always be followed, even\r
405 if the link is isolated, unless another filter is set specifically.  Default\r
406 rules can be set for nodes and users.  They can be set for spots, announces,\r
407 WWV and WCY.  They can also be used for hops.  An example might look like \r
408 this ...\r
409 \r
410 <tscreen><verb>\r
411 accept/spot node_default by_zone 14,15,16,20,33\r
412 set/hops node_default spot 50\r
413 </verb></tscreen>\r
414 \r
415 This filter is for spots only, you could set others for announce, WWV and WCY.\r
416 This filter would work for ALL nodes unless a specific filter is written to \r
417 override it for a particular node.  You can also set a user_default should\r
418 you require.  It is important to note that default filters should be\r
419 considered to be "connected".  By this I mean that should you override the\r
420 default filter for spots, you need to add a rule for the hops for spots also.\r
421 \r
422 <sect1>Advanced filtering\r
423 \r
424 <P>\r
425 Once you are happy with the results you get, you may like to experiment. \r
426 \r
427 <P>\r
428 The previous example that filters hf/cw spots and accepts vhf/uhf spots from EU \r
429 can be written with a mixed filter, for example ... \r
430 \r
431 <tscreen><verb>\r
432 rej/spot on hf/cw\r
433 acc/spot on 0/30000\r
434 acc/spot 2 on 50000/1400000 and (by_zone 14,15,16 or call_zone 14,15,16)\r
435 </verb></tscreen>\r
436 \r
437 Note that the first filter has not been specified with a number.  This will \r
438 automatically be assumed to be number 1.  In this case, we have said <em>reject all\r
439 HF spots in the CW section of the bands but accept all others at HF.  Also\r
440 accept anything in VHF and above spotted in or by operators in the zones\r
441 14, 15 and 16</em>.  Each filter slot actually has a 'reject' slot and \r
442 an 'accept' slot. The reject slot is executed BEFORE the accept slot.\r
443 \r
444 <P>\r
445 It was mentioned earlier that after a reject test that doesn't match, the default \r
446 for following tests is 'accept', the reverse is true for 'accept'. In the example \r
447 what happens is that the reject is executed first, any non hf/cw spot is passed \r
448 to the accept line, which lets through everything else on HF.  The next filter line \r
449 lets through just VHF/UHF spots from EU.\r
450 \r
451 <sect1>Basic hop control\r
452 \r
453 <P>\r
454 In /spider/data you will find a file called hop_table.pl.  This is the file \r
455 that controls your hop count settings.  It has a set of default hops on the \r
456 various PC frames and also a set for each node you want to alter the hops for.  \r
457 You may be happy with the default settings of course, but this powerful tool \r
458 can help to protect and improve the network.  The file will look something \r
459 like this ...\r
460 \r
461 <tscreen><verb>\r
462\r
463 # hop table construction\r
464\r
465 \r
466 package DXProt;\r
467 \r
468 # default hopcount to use\r
469 $def_hopcount = 5;\r
470 \r
471 # some variable hop counts based on message type\r
472 %hopcount = \r
473 (\r
474  11 => 10,\r
475  16 => 10,\r
476  17 => 10,\r
477  19 => 10,\r
478  21 => 10,\r
479 );\r
480 \r
481 \r
482 # the per node hop control thingy\r
483 \r
484 \r
485 %nodehops = \r
486 (\r
487  GB7ADX => {            11 => 8,\r
488                         12 => 8,\r
489                         16 => 8,\r
490                         17 => 8,\r
491                         19 => 8,\r
492                         21 => 8,\r
493                    },\r
494 \r
495  GB7UDX => {            11 => 8,\r
496                         12 => 8,\r
497                         16 => 8,\r
498                         17 => 8,\r
499                         19 => 8,\r
500                         21 => 8,\r
501                    },\r
502  GB7BAA => {\r
503                         11 => 5,\r
504                         12 => 8,\r
505                         16 => 8,\r
506                         17 => 8,\r
507                         19 => 8,\r
508                         21 => 8,\r
509                    },\r
510 );\r
511 </verb></tscreen>\r
512 \r
513 <P>\r
514 Each set of hops is contained within a pair of curly braces and contains a \r
515 series of PC frame types.  PC11 for example is a DX spot. The figures here \r
516 are not exhaustive but should give you a good idea of how the file works.\r
517 \r
518 <P>\r
519 SHould any of the nodecalls include an ssid, it is important to wrap the\r
520 whole call in single quotes, like this ...\r
521 \r
522 <tscreen><verb>\r
523  'DB0FHF-15' => {\r
524                         11 => 5,\r
525                         12 => 8,\r
526                         16 => 8,\r
527                         17 => 8,\r
528                         19 => 8,\r
529                         21 => 8,\r
530                    },\r
531 </verb></tscreen>\r
532 \r
533 If you do not do this, you will get errors and the file will not work as\r
534 expected.\r
535 \r
536 <P>\r
537 You can alter this file at any time, including whilst the cluster is running.  \r
538 If you alter the file during runtime, the command <em>load/hops</em> will \r
539 bring your changes into effect.\r
540 \r
541 <sect1>Hop Control on Specific Nodes\r
542 \r
543 <p>You can set a callsign specific hop count for any of the standard filter\r
544 options so:-\r
545 \r
546 <tscreen><verb>\r
547 set/hops gb7djk spot 4\r
548 set/hops node_default route 10\r
549 set/hops gb7baa wcy 5\r
550 </verb></tscreen>\r
551  \r
552 all work on their specific area of the protocol.\r
553 \r
554 <p>\r
555 The <em>set/hops</em> command overrides any hops that you have set otherwise.\r
556 \r
557 <p>\r
558 You can show what hops have been set using the <em>show/hops</em> command.\r
559 \r
560 <sect1>Isolating networks\r
561 \r
562 <P>\r
563 It is possible to isolate networks from each other on a "gateway" node using the\r
564  <em>set/isolate &lt;node_call&gt;</em> command.\r
565         \r
566 <P>\r
567 The effect of this is to partition an isolated network completely from another \r
568 node connected to your node. Your node will appear on and otherwise behave \r
569 normally on every network to which you are connected, but data from an isolated \r
570 network will not cross onto any other network or vice versa. However all the \r
571 spot, announce and WWV traffic and personal messages will still be handled \r
572 locally (because you are a real node on all connected networks), that is locally\r
573 connected users will appear on all networks and will be able to access and \r
574 receive information from all networks transparently.  All routed messages will \r
575 be sent as normal, so if a user on one network knows that you are a gateway for \r
576 another network, he can still still send a talk/announce etc message via your \r
577 node and it will be routed across.\r
578 \r
579 <P>\r
580 If you use isolate on a node connection you will continue to receive\r
581 all information from the isolated partner, however you will not pass\r
582 any information back to the isolated node.  There are times when you\r
583 would like to forward only spots across a link (maybe during a contest\r
584 for example).  To do this, isolate the node in the normal way and use\r
585 an <em>acc/spot &gt;call&lt; all</em> filter to override the isolate. \r
586 \r
587 <sect1>A DXSpider Filtering Tutorial\r
588 \r
589 <P>\r
590 There is now an excellent primer/tutorial on filtering written by Jim\r
591 Samuels, W3BG with an introduction by Dave Hawes N3RD that I strongly\r
592 suggest you read.  You can read it here \r
593 <htmlurl url="filtering_en.html" name="The DXSpider User Filtering Primer">\r
594 \r
595 <sect>Other filters\r
596 \r
597 <sect1>Filtering Mail\r
598 \r
599 <P>\r
600 In the /spider/msg directory you will find a file called badmsg.pl.issue.  Rename\r
601 this to badmsg.pl and edit the file.  The original looks something like this ....\r
602 \r
603 <tscreen><verb>\r
604 \r
605 # the list of regexes for messages that we won't store having\r
606 # received them (bear in mind that we must receive them fully before\r
607 # we can bin them)\r
608 \r
609 \r
610 # The format of each line is as follows\r
611 \r
612 #     type      source             pattern \r
613 #     P/B/F     T/F/O/S            regex  \r
614 \r
615 # type: P - private, B - bulletin (msg), F - file (ak1a bull)\r
616 # source: T - to field, F - from field,  O - origin, S - subject \r
617 # pattern: a perl regex on the field requested\r
618 \r
619 # Currently only type B and P msgs are affected by this code.\r
620\r
621 # The list is read from the top down, the first pattern that matches\r
622 # causes the action to be taken.\r
623 \r
624 # The pattern can be undef or 0 in which case it will always be selected\r
625 # for the action specified\r
626 \r
627 \r
628 \r
629 package DXMsg;\r
630 \r
631 @badmsg = (\r
632 'B',    'T',    'SALE', \r
633 'B',    'T',    'WANTED',\r
634 'B',    'S',    'WANTED',\r
635 'B',    'S',    'SALE', \r
636 'B',    'S',    'WTB',\r
637 'B',    'S',    'WTS',\r
638 'B',    'T',    'FS',\r
639 );\r
640 </verb></tscreen>\r
641 \r
642 <P>\r
643 I think this is fairly self explanatory.  It is simply a list of subject \r
644 headers that we do not want to pass on to either the users of the cluster or \r
645 the other cluster nodes that we are linked to.  This is usually because of \r
646 rules and regulations pertaining to items for sale etc in a particular country.\r
647 \r
648 \r
649 <sect1>Filtering words from text fields in Announce, Talk and DX spots\r
650 \r
651 <p>\r
652 From version 1.48 onwards the interface to this has changed. You can now\r
653 use the commands <em>set/badword</em> to add words that you are not prepared\r
654 to see on the cluster, <em>unset/badword</em> to allow that word again and \r
655 <em>show/badword</em> to list the words that you have set.\r
656 \r
657 <p>\r
658 If you have a previous <em>/spider/data/badwords</em>, the first time you start\r
659 the node, it will read and convert this file to the new commands. The old style\r
660 file will then be removed.\r
661 \r
662 <sect1>Stopping (possibly bad) DX Spots from Nodes or Spotters\r
663 \r
664 <p> \r
665 There are a number of commands that control whether a spot progresses\r
666 any further by regarding it as "bad" in some way.\r
667 \r
668 <p>\r
669 A DX Spot has a number of fields which can be checked to see whether they\r
670 contain "bad" values, they are: the DX callsign itself, the Spotter and\r
671 the Originating Node.\r
672 \r
673 <p>\r
674 There are a set of commands which allow the sysop to control whether a\r
675 spot continues:-\r
676 \r
677 <tscreen><verb>\r
678 set/baddx\r
679 set/badspotter\r
680 set/badnode\r
681 </verb></tscreen>\r
682 \r
683 These work in the same as the <em>set/badword</em> command, you can add\r
684 any words or callsigns or whatever to the appropriate database. For\r
685 example, to stop a spot from a particular node you do:\r
686 \r
687 <tscreen><verb>\r
688 set/badnode gb7djk gb7dxc\r
689 </verb></tscreen>\r
690 \r
691 a bad spotter:\r
692 \r
693 <tscreen><verb>\r
694 set/badspotter b0mb p1rat nocall\r
695 </verb></tscreen>\r
696 \r
697 and some bad dx:\r
698 \r
699 <tscreen><verb>\r
700 set/baddx video wsjt\r
701 </verb></tscreen>\r
702 \r
703 You can remove a word using the appropriate unset command\r
704 (<em>unset/baddx, unset/badspotter, unset/badnode</em>) or list them\r
705 using one of <em>show/baddx, show/badspotter</em> and\r
706 <em>show/badnode</em>.\r
707 \r
708 <sect>Mail\r
709 \r
710 <P>\r
711 DXSpider deals seamlessly with standard AK1A type mail.  It supports both\r
712 personal and bulletin mail and the sysop has additional commands to ensure\r
713 that mail gets to where it is meant.  DXSpider will send mail almost\r
714 immediately, assuming that the target is on line.  However, only one\r
715 mail message is dealt with at any one time.  If a mail message is already\r
716 being sent or recieved, then the new message will be queued until it has\r
717 finished.\r
718 \r
719 The cluster mail is automatically deleted after 30 days unless the sysop\r
720 sets the "keep" flag using the <em>msg</em> command.\r
721 \r
722 <sect1>Personal mail\r
723 \r
724 <P>\r
725 Personal mail is sent using the <em>sp</em> command.  This is actually the\r
726 default method of sending mail and so a simple <em>s</em> for send will do.\r
727 A full list of the send commands and options is in the <em>command set</em>\r
728 section, so I will not duplicate them here.\r
729 \r
730 <sect1>Bulletin mail\r
731 \r
732 <P>\r
733 Bulletin mail is sent by using the <em>sb</em> command.  This is one of the\r
734 most common mistakes users make when sending mail.  They send a bulletin\r
735 mail with <em>s</em> or <em>sp</em> instead of <em>sb</em> and of course\r
736 the message never leaves the cluster.  This can be rectified by the sysop\r
737 by using the <em>msg</em> command.\r
738 \r
739 <P>Bulletin addresses can be set using the Forward.pl file.\r
740 \r
741 <sect1>Forward.pl\r
742 \r
743 <P>\r
744 DXSpider receives all and any mail sent to it without any alterations needed\r
745 in files.  Because personal and bulletin mail are treated differently, there\r
746 is no need for a list of accepted bulletin addresses.  It is necessary, however,\r
747 to tell the program which links accept which bulletins.  For example, it is\r
748 pointless sending bulletins addresses to "UK" to any links other than UK\r
749 ones.  The file that does this is called forward.pl and lives in /spider/msg.\r
750 At default, like other spider files it is named forward.pl.issue.  Rename it\r
751 to forward.pl and edit the file to match your requirements.\r
752 The format is below ...\r
753 \r
754 <tscreen><verb>\r
755 #\r
756 # this is an example message forwarding file for the system\r
757 #\r
758 # The format of each line is as follows\r
759 #\r
760 #     type    to/from/at pattern action  destinations\r
761 #     P/B/F     T/F/A     regex   I/F    [ call [, call ...] ]\r
762 #\r
763 # type: P - private, B - bulletin (msg), F - file (ak1a bull)\r
764 # to/from/at: T - to field, F - from field, A - home bbs, O - origin \r
765 # pattern: a perl regex on the field requested\r
766 # action: I - ignore, F - forward\r
767 # destinations: a reference to an array containing node callsigns\r
768 #\r
769 # if it is non-private and isn't in here then it won't get forwarded \r
770 #\r
771 # Currently only type B msgs are affected by this code.\r
772\r
773 # The list is read from the top down, the first pattern that matches\r
774 # causes the action to be taken.\r
775 #\r
776 # The pattern can be undef or 0 in which case it will always be selected\r
777 # for the action specified\r
778 #\r
779 # If the BBS list is undef or 0 and the action is 'F' (and it matches the\r
780 # pattern) then it will always be forwarded to every node that doesn't have \r
781 # it (I strongly recommend you don't use this unless you REALLY mean it, if\r
782 # you allow a new link with this on EVERY bull will be forwarded immediately\r
783 # on first connection)\r
784 #\r
785 \r
786 package DXMsg;\r
787 \r
788 @forward = (\r
789 'B',    'T',    'LOCAL',        'F',    [ qw(GB7MBC) ],\r
790 'B',    'T',    'ALL',          'F',    [ qw(GB7BAA GB7ADX PA4AB-14) ],\r
791 'B',    'T',    'UK',           'F',    [ qw(GB7BAA GB7ADX) ],\r
792 'B',    'T',    'QSL',          'F',    [ qw(GB7BAA GB7ADX PA4AB-14) ],\r
793 'B',    'T',    'QSLINF',       'F',    [ qw(GB7BAA GB7ADX PA4AB-14) ],\r
794 'B',    'T',    'DX',           'F',    [ qw(GB7BAA GB7ADX PA4AB-14) ],\r
795 'B',    'T',    'DXINFO',       'F',    [ qw(GB7BAA GB7ADX PA4AB-14) ],\r
796 'B',    'T',    'DXNEWS',       'F',    [ qw(GB7BAA GB7ADX PA4AB-14) ],\r
797 'B',    'T',    'DXQSL',        'F',    [ qw(GB7BAA GB7ADX PA4AB-14) ],\r
798 'B',    'T',    'SYSOP',        'F',    [ qw(GB7BAA GB7ADX) ],\r
799 'B',    'T',    '50MHZ',        'F',    [ qw(GB7BAA GB7ADX PA4AB-14) ],\r
800 );\r
801 </verb></tscreen>\r
802 \r
803 Simply insert a bulletin address and state in the brackets where you wish\r
804 that mail to go.  For example, you can see here that mail sent to "UK" will\r
805 only be sent to the UK links and not to PA4AB-14.\r
806 \r
807 <P>\r
808 To force the cluster to reread the file use load/forward\r
809 \r
810 <P>\r
811 NB: If a user tries to send mail to a bulletin address that does not exist\r
812 in this file, they will get an error.\r
813 \r
814 <sect1>The msg command\r
815 \r
816 <P>\r
817 The <em>msg</em> command is a very powerful and flexible tool for the\r
818 sysop.  It allows the sysop to alter to and from fields and make other\r
819 changes to manage the cluster mail.\r
820 \r
821 Here is a full list of the various options ...\r
822 \r
823 <tscreen><verb>\r
824   MSG TO <msgno> <call>     - change TO callsign to <call>\r
825   MSG FRom <msgno> <call>   - change FROM callsign to <call>\r
826   MSG PRrivate <msgno>      - set private flag\r
827   MSG NOPRrivate <msgno>    - unset private flag\r
828   MSG RR <msgno>            - set RR flag\r
829   MSG NORR <msgno>          - unset RR flag\r
830   MSG KEep <msgno>          - set the keep flag (message won't be deleted ever)\r
831   MSG NOKEep <msgno>        - unset the keep flag\r
832   MSG SUbject <msgno> <new> - change the subject to <new>\r
833   MSG WAittime <msgno>      - remove any waiting time for this message\r
834   MSG NOREad <msgno>        - mark message as unread\r
835   MSG REad <msgno>          - mark message as read\r
836   MSG QUeue                 - queue any outstanding bulletins\r
837   MSG QUeue 1               - queue any outstanding private messages\r
838 </verb></tscreen>\r
839 \r
840 These commands are simply typed from within the cluster as the sysop user.\r
841 \r
842 <sect1>Message status\r
843 \r
844 <P>\r
845 You can check on a message from within the cluster by using the command\r
846 <em>stat/msg</em>.  This will give you additional information on the\r
847 message number including which nodes have received it, which node it\r
848 was received from and when etc.  Here is an example of the output of\r
849 the command ...\r
850 \r
851 <tscreen><verb>\r
852 G0VGS de GB7MBC 28-Jan-2001 1308Z >\r
853 stat/msg 6869\r
854         From: GB7DJK\r
855     Msg Time: 26-Jan-2001 1302Z\r
856        Msgno: 6869\r
857       Origin: GB7DJK\r
858         Size: 8012\r
859      Subject: AMSAT 2line KEPS 01025.AMSAT\r
860           To: UK\r
861 Got it Nodes: GB7BAA, GB7ADX\r
862      Private: 0\r
863 Read Confirm: 0\r
864   Times read: 0\r
865 G0VGS de GB7MBC 28-Jan-2001 1308Z >\r
866 </verb></tscreen>\r
867 \r
868 <sect1>Filtering mail\r
869 \r
870 <P>\r
871 This is described in the section on <em>Other filters</em> so I will not\r
872 duplicate it here.\r
873 \r
874 <sect1>Distribution lists\r
875 \r
876 <P>\r
877 Distribution lists are simply a list of users to send certain types of\r
878 mail to.  An example of this is mail you only wish to send to other\r
879 sysops.  In /spider/msg there is a directory called <em>distro</em>.  You\r
880 put any distibution lists in here.  For example, here is a file called\r
881 SYSOP.pl that caters for the UK sysops.\r
882 \r
883 <tscreen><verb>\r
884 qw(GB7TLH GB7DJK GB7DXM GB7CDX GB7BPQ GB7DXN GB7MBC GB7MBC-6 GB7MDX\r
885    GB7NDX GB7SDX GB7TDX GB7UDX GB7YDX GB7ADX GB7BAA GB7DXA GB7DXH \r
886    GB7DXK GB7DXI GB7DXS)\r
887 </verb></tscreen>\r
888 \r
889 Any mail sent to "sysop" would only be sent to the callsigns in this list.\r
890 \r
891 <sect1>BBS interface\r
892 \r
893 <P>\r
894 Spider provides a simple BBS interface.  No input is required from the sysop\r
895 of the cluster at all.  The BBS simply sets the cluster as a BBS and pushes\r
896 any required mail to the cluster.  No mail can flow from Spider to the BBS,\r
897 the interface is one-way.\r
898 \r
899 <P>\r
900 Please be careful not to flood the cluster network with unnecessary mail.\r
901 Make sure you only send mail to the clusters that want it by using the\r
902 Forward.pl file very carefully.\r
903 \r
904 <sect>Scripts\r
905 \r
906 <p>\r
907 From 1.48 onwards it will become increasingly possible to control DXSpider's\r
908 operation with scripts of various kinds.\r
909 \r
910 <P>\r
911 The directory /spider/scripts is where it all happens and is used for several \r
912 things.  Firstly it contains a file called startup that can be used to call \r
913 in any changes to the cluster from the default settings on startup.  This\r
914 script is executed immediately after all initialisation of the node is done\r
915 but before any connections are possible.  Examples of this include how many \r
916 spots it is possible to get with the sh/dx command, whether you want \r
917 registration/passwords to be permanently on etc.  An example file is shown \r
918 below and is included in the distribution as startup.issue.\r
919 \r
920 <tscreen><verb>\r
921 #\r
922 # startup script example\r
923 #\r
924 # set maximum no of spots allowed to 100\r
925 # set/var $Spot::maxspots = 100\r
926 #\r
927 # Set registration on\r
928 # set/var $main::reqreg = 1\r
929 #\r
930 # Set passwords on\r
931 # set/var $main::passwdreq = 1\r
932 #\r
933 </verb></tscreen>\r
934 \r
935 <P>\r
936 As usual, any text behind a # is treated as a comment and not read.  To use\r
937 this file, simply rename it from startup.issue to startup.  In our example\r
938 above there are three options.  The first option is the amount of spots that\r
939 a user can request with the <em>sh/dx</em> command.  Normally the default is\r
940 to give 10 spots unless the user specifies more.  Without this line enabled,\r
941 the maximum a user can request is 100 spots.  Depending on your link quality\r
942 you may wish to enable more or less by specifying the number.\r
943 \r
944 <P>\r
945 The other 2 options are dealt with more fully in the security section.\r
946 \r
947 <P>\r
948 Secondly, it is used to store the login scripts for users and nodes.  Currently\r
949 this can only be done by the sysop but it is envisaged that eventually users will \r
950 be able to set their own.  An example is included in the distibution but here is \r
951 a further example.\r
952 \r
953 <tscreen><verb>\r
954 #\r
955 # G0FYD\r
956 #\r
957 blank +\r
958 sh/wwv 3\r
959 blank +\r
960 sh/dx \r
961 blank +\r
962 t g0jhc You abt?\r
963 blank +\r
964 </verb></tscreen>\r
965 \r
966 The lines in between commands can simply insert a blank line or a character\r
967 such as a + sign to make the output easier to read.  Simply create this script\r
968 with your favourite editor and save it with the callsign of the user as the\r
969 filename.  Filenames should always be in lower case.\r
970 \r
971 <P>\r
972 Commands can be inserted in the same way for nodes.  A node may wish a series\r
973 of commands to be issued on login, such as a merge command for example.\r
974 \r
975 <P>\r
976 Thirdly, there are 2 default scripts for users and nodes who do not have a\r
977 specifically defined script.  These are <em>user_default</em> and\r
978 <em>node_default</em>\r
979 \r
980 <sect>Databases\r
981 \r
982 <P>\r
983 Spider allows the creation of local or remote databases.  It supports\r
984 chained databases, allowing several different databases to be scanned\r
985 with one simple command.  Importing of databases is limited at present\r
986 to the standard AK1A databases such as OBLAST and the DB0SDX QSL \r
987 database but will expand with time.\r
988 \r
989 <sect1>Creating databases\r
990 \r
991 <P>\r
992 Creating a database could not be more simple.  All the commands are\r
993 sent from the cluster prompt as the <em>sysop</em> user.\r
994 \r
995 To create a database you use the command <em>dbcreate</em>.  It can\r
996 be used in 3 different ways like so ..\r
997 \r
998 <tscreen><verb>\r
999 dbcreate <name>\r
1000 </verb></tscreen>\r
1001 \r
1002 To simply create a database locally, you just tell the command the\r
1003 name of the database.  This does not create the actual database, it\r
1004 simply defines it to say that it exists.\r
1005 \r
1006 <tscreen><verb>\r
1007 dbcreate <name> chain <name> [<name>...]\r
1008 </verb></tscreen>\r
1009 \r
1010 This creates a chained database entry.  The first database will be\r
1011 scanned, then the second, the third etc...\r
1012 \r
1013 <tscreen><verb>\r
1014 dbcreate <name> remote <name>\r
1015 </verb></tscreen>\r
1016 \r
1017 This creates a remote entry.  the first name field is the database\r
1018 name at the remote node, then the remote switch, then the actual\r
1019 node_call of the remote node, for example...\r
1020 \r
1021 <tscreen><verb>\r
1022 dbcreate buckmaster remote gb7dxc\r
1023 </verb></tscreen>\r
1024 \r
1025 Remote databases cannot be chained, however, the last database in a\r
1026 chain can be a remote database.\r
1027 \r
1028 <sect1>Importing databases\r
1029 \r
1030 <P>\r
1031 The only databases that Spider can currently import are the standard\r
1032 AK1A databases such as OBLAST or the DB0SDX qsl and address database.\r
1033 This will be added to with time.\r
1034 \r
1035 To import such a database, first put the file somewhere useful like /tmp\r
1036 and then issue the following command ...\r
1037 \r
1038 <tscreen><verb>\r
1039 dbimport oblast /tmp/OBLAST.FUL\r
1040 </verb></tscreen>\r
1041 \r
1042 This will update the existing local oblast database or create it if\r
1043 it does not exist.\r
1044 \r
1045 <sect1>Checking available databases\r
1046 \r
1047 <P>\r
1048 Once a database is created, you will want to check that it has been\r
1049 added.  To do this use the <em>dbavail</em> command.  This will\r
1050 output the available databases.  For example ...\r
1051 \r
1052 <tscreen><verb>\r
1053 dbavail\r
1054 DB Name          Location   Chain\r
1055 qsl              Local\r
1056 buck             GB7ADX\r
1057 hftest           GB7DXM\r
1058 G0VGS de GB7MBC  3-Feb-2001 1925Z >\r
1059 </verb></tscreen>\r
1060 \r
1061 <sect1>Looking up databases\r
1062 \r
1063 <P>\r
1064 To look for information in a defined database, simply use the <em>dbshow</em>\r
1065 command, for example ...\r
1066 \r
1067 <tscreen><verb>\r
1068 dbshow buckmaster G0YLM\r
1069 </verb></tscreen>\r
1070 \r
1071 will show the information for the callsign G0YLM from the buckmaster\r
1072 database if it exists.  To make things more standard for the users\r
1073 you can add an entry in the Aliases file so that it looks like a standard \r
1074 <em>show</em> command like this ...\r
1075 \r
1076 <tscreen><verb>\r
1077 '^sh\w*/buc', 'dbshow buckmaster', 'dbshow',\r
1078 </verb></tscreen>\r
1079 \r
1080 Now you can simply use show/buckmaster or an abreviation.\r
1081 \r
1082 <sect1>Removing databases\r
1083 \r
1084 <P>\r
1085 To delete an existing database you use the <em>dbremove</em> command.\r
1086 For example ...\r
1087 \r
1088 <tscreen><verb>\r
1089 dbremove oblast\r
1090 </verb></tscreen>\r
1091 \r
1092 would remove the oblast database and its associated datafile from the\r
1093 system.  There are no warnings or recovery possible from this command.\r
1094 If you remove a database it ceases to exist and would have to be created\r
1095 from scratch if you still required it.\r
1096 \r
1097 <sect>Information, files and useful programs\r
1098 \r
1099 <sect1>MOTD\r
1100 \r
1101 <P>\r
1102 One of the more important things a cluster sysop needs to do is to get \r
1103 information to his users.  The simplest way to do this is to have a banner \r
1104 that is sent to the user on login.  This is know as a "message of the day" \r
1105 or "motd".  To set this up, simply create a file in /spider/data called motd \r
1106 and edit it to say whatever you want.  It is purely a text file and will be \r
1107 sent automatically to anyone logging in to the cluster.\r
1108 \r
1109 <sect1>MOTD_NOR\r
1110 \r
1111 <P>\r
1112 This message of the day file lives in the same directory as the standard\r
1113 motd file but is only sent to non-registered users.  Once registered they\r
1114 will receive the same message as any other user.\r
1115 \r
1116 <sect1>Downtime message\r
1117 \r
1118 <P>\r
1119 If for any reason the cluster is down, maybe for upgrade or maintenance but \r
1120 the machine is still running, a message can be sent to the user advising them \r
1121 of the fact.  This message lives in the /spider/data directory and is called\r
1122 "offline".  Simply create the file and edit it to say whatever you wish.  \r
1123 This file will be sent to a user attempting to log into the cluster when\r
1124 DXSpider is not actually running.\r
1125 \r
1126 <sect1>Other text messages\r
1127 \r
1128 <P>\r
1129 You can set other text messages to be read by the user if they input the file \r
1130 name.  This could be for news items or maybe information for new users.  \r
1131 To set this up, make a directory under /spider called <em>packclus</em>.  \r
1132 Under this directory you can create files called <em>news</em> or <em>newuser</em>\r
1133 for example.  In fact you can create files with any names you like.  These can \r
1134 be listed by the user with the command ....\r
1135 \r
1136 <tscreen><verb>\r
1137 show/files\r
1138 </verb></tscreen>\r
1139 \r
1140 They can be read by the user by typing the command ....\r
1141 \r
1142 <tscreen><verb>\r
1143 type news\r
1144 </verb></tscreen>\r
1145 \r
1146 If the file they want to read is called <em>news</em>.  You could also set \r
1147 an alias for this in the Alias file to allow them just to type <em>news</em>\r
1148 \r
1149 <P>\r
1150 You can also store other information in this directory, either directly or \r
1151 nested under directories.  One use for this would be to store DX bulletins \r
1152 such as the OPDX bulletins.  These can be listed and read by the user.  \r
1153 To keep things tidy, make a directory under /spider/packclus called\r
1154 <em>bulletin</em>.  Now copy any OPDX or similar bulletins into it.  These \r
1155 can be listed by the user in the same way as above using the <em>show/files</em>\r
1156 command with an extension for the bulletin directory you have just created, \r
1157 like this ....\r
1158 \r
1159 <tscreen><verb>\r
1160 show/files bulletin\r
1161 </verb></tscreen>\r
1162 \r
1163 <P>\r
1164 An example would look like this ....\r
1165 \r
1166 <tscreen><verb>\r
1167 sh/files\r
1168 bulletin      DIR 20-Dec-1999 1715Z news          1602 14-Dec-1999 1330Z\r
1169 </verb></tscreen>\r
1170 \r
1171 You can see that in the files area (basically the packclus directory) there is a \r
1172 file called <em>news</em> and a directory called <em>bulletin</em>.  You can \r
1173 also see that dates they were created.  In the case of the file <em>news</em>, \r
1174 you can also see the time it was last modified, a good clue as to whether the \r
1175 file has been updated since you last read it.  To read the file called \r
1176 <em>news</em> you would simply issue the command ....\r
1177 \r
1178 <tscreen><verb>\r
1179 type news\r
1180 </verb></tscreen>\r
1181 \r
1182 To look what is in the bulletin directory you issue the command ....\r
1183 \r
1184 <tscreen><verb>\r
1185 show/files bulletin\r
1186 opdx390      21381 29-Nov-1999 1621Z opdx390.1     1670 29-Nov-1999 1621Z\r
1187 opdx390.2     2193 29-Nov-1999 1621Z opdx391      25045 29-Nov-1999 1621Z  \r
1188 opdx392      35969 29-Nov-1999 1621Z opdx393      15023 29-Nov-1999 1621Z  \r
1189 opdx394      33429 29-Nov-1999 1621Z opdx394.1     3116 29-Nov-1999 1621Z  \r
1190 opdx395      24319 29-Nov-1999 1621Z opdx396      32647 29-Nov-1999 1621Z\r
1191 opdx396.1     5537 29-Nov-1999 1621Z opdx396.2     6242 29-Nov-1999 1621Z\r
1192 opdx397      18433 29-Nov-1999 1621Z opdx398      19961 29-Nov-1999 1621Z  \r
1193 opdx399      17719 29-Nov-1999 1621Z opdx400      19600 29-Nov-1999 1621Z\r
1194 opdx401      27738 29-Nov-1999 1621Z opdx402      18698 29-Nov-1999 1621Z\r
1195 opdx403      24994 29-Nov-1999 1621Z opdx404      15685 29-Nov-1999 1621Z\r
1196 opdx405      13984 29-Nov-1999 1621Z opdx405.1     4166 29-Nov-1999 1621Z\r
1197 opdx406      28934 29-Nov-1999 1621Z opdx407      24153 29-Nov-1999 1621Z\r
1198 opdx408      15081 29-Nov-1999 1621Z opdx409      23234 29-Nov-1999 1621Z\r
1199 Press Enter to continue, A to abort (16 lines) >\r
1200 </verb></tscreen>\r
1201 \r
1202 You can now read any file in this directory using the type command, like this ....\r
1203 \r
1204 <tscreen><verb>\r
1205 type bulletin/opdx391\r
1206 Ohio/Penn DX Bulletin No. 391\r
1207 The Ohio/Penn Dx PacketCluster\r
1208 DX Bulletin No. 391\r
1209 BID: $OPDX.391\r
1210 January 11, 1999\r
1211 Editor Tedd Mirgliotta, KB8NW\r
1212 Provided by BARF-80 BBS Cleveland, Ohio\r
1213 Online at 440-237-8208 28.8k-1200 Baud 8/N/1 (New Area Code!)\r
1214 Thanks to the Northern Ohio Amateur Radio Society, Northern Ohio DX\r
1215 Association, Ohio/Penn PacketCluster Network, K1XN & Golist, WB2RAJ/WB2YQH\r
1216 & The 59(9) DXReport, W3UR & The Daily DX, K3TEJ, KN4UG, W4DC, NC6J, N6HR,\r
1217 Press Enter to continue, A to abort (508 lines) >\r
1218 </verb></tscreen>\r
1219 \r
1220 The page length will of course depend on what you have it set to!\r
1221 \r
1222 <sect1>The Aliases file\r
1223 \r
1224 <P>\r
1225 You will find a file in /spider/cmd/ called Aliases.  This is the file that\r
1226 controls what a user gets when issuing a command.  It is also possible to\r
1227 create your own aliases for databases and files you create locally.\r
1228 \r
1229 <P>\r
1230 You should not alter the original file in /spider/cmd/ but create a new file\r
1231 with the same name in /spider/local_cmd.  This means that any new Aliases files\r
1232 that is downloaded will not overwrite your self created Aliases and also that\r
1233 you do not override any new Aliases with your copy in /spider/local_cmd/.  You\r
1234 must remember that any files you store in /spider/local/ or /spider/local_cmd\r
1235 override the originals if the same lines are used in both files.\r
1236 \r
1237 <P>\r
1238 The best way of dealing with all this then is to only put your own locally\r
1239 created Aliases in the copy in /spider/local_cmd.  The example below is\r
1240 currently in use at GB7MBC.\r
1241 \r
1242 <tscreen><verb>\r
1243 \r
1244 #\r
1245 # Local Aliases File\r
1246 #\r
1247 \r
1248 package CmdAlias;\r
1249 \r
1250 %alias = (\r
1251     'n' => [\r
1252       '^news$', 'type news', 'type',\r
1253     ],\r
1254     's' => [\r
1255       '^sh\w*/buck$', 'show/qrz', 'show',\r
1256       '^sh\w*/hftest$', 'dbshow hftest', 'dbshow',\r
1257       '^sh\w*/qsl$', 'dbshow qsl', 'dbshow',\r
1258       '^sh\w*/vhf$', 'dbshow vhf', 'dbshow',\r
1259       '^sh\w*/vhftest$', 'dbshow vhftest', 'dbshow',\r
1260         ],\r
1261 )\r
1262 \r
1263 </verb></tscreen>\r
1264 \r
1265 <P>\r
1266 Each alphabetical section should be preceded by the initial letter and the section\r
1267 should be wrapped in square brackets as you can see.  The syntax is straightforward.\r
1268 The first section on each line is the new command that will be allowed once the\r
1269 alias is included.  The second section is the command it is replacing and the last\r
1270 section is the actual command that is being used.\r
1271 \r
1272 <P>\r
1273 The eagle-eyed amongst you will have noticed that in the first section, the new\r
1274 alias command has a '^' at the start and a '$' at the end.  Basically these force\r
1275 a perfect match on the alias.  The '^' says match the beginning exactly and the\r
1276 '$' says match the end exactly.  This prevents unwanted and unintentional matches\r
1277 with similar commands.\r
1278 \r
1279 <P>\r
1280 I have 3 different types of alias in this file.  At the top is an alias for 'news'.  \r
1281 This is a file I have created in the /spider/packclus/ directory where I can inform \r
1282 users of new developments or points of interest.  In it's initial form a user would \r
1283 have to use the command <em>type news</em>.  The alias allows them to simply type \r
1284 <em>news</em> to get the info.  Second is an alias for the <em>show/qrz</em>\r
1285 command so that those users used to the original <em>show/buck</em> command in\r
1286 AK1A will not get an error, and the rest of the lines are for locally created\r
1287 databases so that a user can type <em>show/hftest</em> instead of having to use\r
1288 the command <em>dbshow hftest</em> which is not as intuitive.\r
1289 \r
1290 <P>\r
1291 This file is just an example and you should edit it to your own requirements.\r
1292 Once created, simply issue the command <em>load/alias</em> at the cluster\r
1293 prompt as the sysop user and the aliases should be available.\r
1294 \r
1295 \r
1296 <sect1>Console.pl\r
1297 \r
1298 <P>\r
1299 In later versions of Spider a simple console program is provided for the sysop.  \r
1300 This has a type ahead buffer with line editing facilities and colour for spots,\r
1301 announces etc.  To use this program, simply use console.pl instead of client.\r
1302 \r
1303 <P>\r
1304 To edit the colours, copy /spider/perl/Console.pl to /spider/local and edit the \r
1305 file with your favourite editor.\r
1306 \r
1307 <sect1>Updating kepler data\r
1308 \r
1309 <P>\r
1310 Spider has a powerful and flexible show/satellite command.  In order for\r
1311 this to be accurate, the kepler data has to be updated regularly.  In\r
1312 general, this data is available as an email or via cluster mail.\r
1313 Updating it is simple.  First you need to export the mail message as a\r
1314 file.  You do this with the <em>export</em> command from the cluster prompt\r
1315 as the sysop.  For example ...\r
1316 \r
1317 <tscreen><verb>\r
1318 export 5467 /spider/perl/keps.in\r
1319 </verb></tscreen>\r
1320 \r
1321 <P>\r
1322 would export message number 5467 as a file called keps.in in the\r
1323 /spider/perl directory.\r
1324 \r
1325 <P>\r
1326 Now login to a VT as sysop and cd /spider/perl.  There is a command in\r
1327 the perl directory called <em>convkeps.pl</em>.  All we need to do now is\r
1328 convert the file like so ...\r
1329 \r
1330 <tscreen><verb>\r
1331 ./convkeps.pl keps.in\r
1332 </verb></tscreen>\r
1333 \r
1334 <P>\r
1335 Now go back to the cluster and issue the command ...\r
1336 \r
1337 <tscreen><verb>\r
1338 load/keps\r
1339 </verb></tscreen>\r
1340 \r
1341 <P>\r
1342 That is it!  the kepler data has been updated.\r
1343 \r
1344 <sect1>The QRZ callbook\r
1345 \r
1346 <P>\r
1347 The command <em>sh/qrz</em> will only work once you have followed a few\r
1348 simple steps.  First you need to get a user ID and password from qrz.com.\r
1349 Simply go to the site and create one.  Secondly you need to copy the file\r
1350 /spider/perl/Internet.pm to /spider/local and alter it to match your user\r
1351 ID and password.  You also at this point need to set $allow=1 to complete\r
1352 the setup.  Many thanks to Fred Lloyd, the proprieter of\r
1353 <htmlurl url="http://www.qrz.com" name="qrz.com"> for allowing this access.\r
1354 \r
1355 <sect1>Connecting logging programs\r
1356 \r
1357 <P>\r
1358 There appear to be very few logging programs out there that support telnet\r
1359 especially the popular ones like LogEQF, Turbolog etc.  This can make it\r
1360 difficult to connect to your own cluster!\r
1361 The way to do it is to make the logging program think it has a TNC attached\r
1362 to a com port on the logging PC and 'push' a linux login out to it.\r
1363 This is achieved very simply by the use of <em>agetty</em>.\r
1364 \r
1365 <P>\r
1366 All that is required is to add a line in /etc/inittab to have the client\r
1367 ready for a connection on the com port of your choice.  Remember that in\r
1368 Linux, the com ports start at ttyS0 for com1, ttyS1 for com2 etc.\r
1369 \r
1370 <tscreen><verb>\r
1371 c4:2345:respawn:/sbin/agetty -L 9600 ttyS1\r
1372 </verb></tscreen>\r
1373 \r
1374 <P>\r
1375 Add this after the standard runlevel lines in /etc/inittab.  The above\r
1376 line works on ttyS1 (com2).  Now as root, issue the command <em>telinit q</em>\r
1377 and it should be ready for connection.  All that is required is a 3 wire\r
1378 serial lead (tx, rx and signal ground).  Tell you logging program to use\r
1379 8n1 at 9600 baud and you should see a Linux login prompt.  Login as normal\r
1380 and then telnet from there to the cluster.\r
1381 \r
1382 <sect>Java Web applet\r
1383 \r
1384 <P>\r
1385 In the spider tree will be a directory <em>spider-web</em>.  This is a\r
1386 neat little java web applet that can be run from a website.  The applet\r
1387 must run on the same machine as the cluster.  The included README file is\r
1388 shown below.\r
1389 \r
1390 <P>\r
1391 I should comment here that the applet is precompiled, that is, ready to go.\r
1392 It was compiled using JDK1.3.1.  If your version is earlier than this then it\r
1393 may not work.  Should that be the case you need to recompile or update your\r
1394 JDK.  To recompile do the following ...\r
1395 \r
1396 <tscreen><verb>\r
1397 cd /spider/spider-web\r
1398 rm *.class\r
1399 /usr/bin/javac spiderclient.java\r
1400 </verb></tscreen>\r
1401 \r
1402 <P>\r
1403 I have used /usr/bin/javac as an example, your path to javac may be different.\r
1404 \r
1405 <verb>\r
1406 Spider-WEB v0.6b\r
1407 \r
1408 Completely based on a clx web client written in Java by dl6dbh\r
1409 (ftp://clx.muc.de/pub/clx/clx-java_10130001.tgz)\r
1410 \r
1411 The webserver has to run on the same machine as your DxSpider software!\r
1412 \r
1413 It is assumed that you have Java installed.  You need JDK1.3.1 at least.\r
1414 \r
1415 Installation instructions (Performed as root):\r
1416 \r
1417 Put all the files in the spider-web directory into a newly created directory\r
1418 under the DocumentRoot of your websever for instance 'client'. In my case\r
1419 this is:  /home/httpd/html/client/ although ymmv.  For Suse the correct\r
1420 path should be /usr/local/httpd/htdocs/client/ for example.\r
1421 \r
1422 Move spider.cgi to the cgi-bin directory of your webserver, in my case that is\r
1423 /home/httpd/cgi-bin/ although ymmv.  For Suse the correct path should be\r
1424 /usr/local/httpd/cgi-bin/ for example.\r
1425 \r
1426 Change the permissions of the files to ensure they are correct, obviously you\r
1427 will need to use the correct path the the files according to your system:\r
1428 \r
1429 chmod 755 /home/httpd/html/cgi-bin/spider.cgi\r
1430 chmod -R 755 /home/httpd/html/client/\r
1431 \r
1432 By default the spider.cgi script should pick up your hostname (As long as this\r
1433 is set correctly).  If it does not or your hostname differs from the name that\r
1434 you attach to the public address that you are using, then edit spider.cgi :\r
1435 \r
1436 # Uncomment and set the hostname manually here if the above fails.\r
1437 # $HOSTNAME = "gb7mbc.spoo.org" ;\r
1438 $PORT = "8000" ;\r
1439 \r
1440 'HOSTNAME' is the hostname of your cluster.\r
1441 \r
1442 'PORT' is the portnumber that you use to connect to your DxSpider via\r
1443 telnet (see Listeners.pm)\r
1444 \r
1445 NOTE: If you can start the console but cannot connect to the cluster from it,\r
1446 then it is possible that the machine you are on cannot resolve the hostname of \r
1447 your cluster machine.  If this is the case, you need to set your hostname \r
1448 manually as above.\r
1449 \r
1450 You also need to set the $NODECALL variable.  This prints the name of your\r
1451 choosing (probably your cluster callsign) on the html page.\r
1452 \r
1453 You now can connect to Spider-Web via http://yourserver/cgi-bin/spider.cgi\r
1454 </verb>\r
1455 \r
1456 <sect>Web based statistics\r
1457 \r
1458 <P>\r
1459 From version 1.50, you can use the freeware software MRTG to produce\r
1460 really nice graphical statistics on your web site.  For an example\r
1461 try <htmlurl url="http://www.gb7mbc.net/mrtg/stats.html" name="http://www.gb7mbc.net/mrtg/stats.html">.\r
1462 \r
1463 <P>\r
1464 The following should help you get it all working.\r
1465 \r
1466 <P>\r
1467 First you need to download the latest version of MRTG from <htmlurl url="http://people.ee.ethz.ch/~oetiker/webtools/mrtg/" name="http://people.ee.ethz.ch/~oetiker/webtools/mrtg/">.\r
1468 You will also need the following files..\r
1469 \r
1470 <tscreen><verb>\r
1471 libpng-1.0.14.tar.gz\r
1472 zlib-1.1.4.tar.gz\r
1473 gd-1.8.3.tar.gz\r
1474 </verb></tscreen>\r
1475 \r
1476 Login to your machine as the root user, put all the downloaded files \r
1477 in /usr/local/src/ (or wherever you prefer) and untar and compile them.  \r
1478 All the information to compile and install these sources come with them.\r
1479 After compilation and installation,  you will find MRTG in /usr/local/mrtg-2.\r
1480 \r
1481 <P>\r
1482 Now copy all the files in /usr/local/src/mrtg-2.9.22/images/ to \r
1483 /spider/html/mrtg/\r
1484 \r
1485 <P>\r
1486 You now need to make 2 symbolic links like below...\r
1487 \r
1488 <tscreen><verb>\r
1489 ln -s /usr/local/mrtg-2/bin/mrtg /usr/bin/mrtg\r
1490 ln -s /usr/local/mrtg-2/lib/mrtg2 /usr/lib/mrtg2\r
1491 </verb></tscreen>\r
1492 \r
1493 <P>\r
1494 Now login to the cluster with your sysop callsign and run the command \r
1495 "mrtg all".\r
1496 \r
1497 <P>Now you are nearly there!  Login as the sysop user and change to the\r
1498 /spider/html/mrtg/ directory.  Now run the command <em>indexmaker</em> as\r
1499 shown below...\r
1500 \r
1501 <tscreen><verb>\r
1502 indexmaker --output stats.html --columns=1 --title "MRTG statistics for GB7DJK" ../../mrtg/mrtg.cfg\r
1503 </verb></tscreen>\r
1504 \r
1505 Changing the callsign for your own cluster callsign of course!\r
1506 \r
1507 <P>\r
1508 And finally you need to login as the root user and create one last\r
1509 symbolic link.  Where this points will depend on where your html\r
1510 documents are kept.  For RedHat systems you use...\r
1511 \r
1512 <tscreen><verb>\r
1513 ln -s /home/sysop/spider/html/mrtg /home/httpd/html/mrtg\r
1514 </verb></tscreen>\r
1515 \r
1516 and for SuSE systems...\r
1517 \r
1518 <tscreen><verb>\r
1519 ln -s /home/sysop/spider/html/mrtg /usr/local/httpd/htdocs/mrtg\r
1520 </verb></tscreen>\r
1521 \r
1522 If you now point your browser to your website as below it should all\r
1523 be happening!\r
1524 \r
1525 <tscreen><verb>\r
1526 http://www.xxx.xxx/mrtg/stats.html\r
1527 </verb></tscreen>\r
1528 \r
1529 Of course, to get the stats to update, you need to add some information\r
1530 in the spider crontab file as below...\r
1531 \r
1532 <tscreen><verb>\r
1533 # Update stats for mrtg on website\r
1534 00,05,10,15,20,25,30,35,40,45,50,55 * * * * run_cmd('mrtg all')\r
1535 </verb></tscreen>\r
1536 \r
1537 This will update the site every 5 minutes.\r
1538 \r
1539 <sect>Security\r
1540 \r
1541 <P>\r
1542 From version 1.49 DXSpider has some additional security features.  These\r
1543 are not by any means meant to be exhaustive, however they do afford some\r
1544 security against piracy.  These two new features can be used independently \r
1545 of each other or in concert to tighten the security.\r
1546 \r
1547 <sect1>Registration\r
1548 \r
1549 <P>\r
1550 The basic principle of registration is simple.  If a user is not registered\r
1551 by the sysop, then they have read-only access to the cluster.  The only\r
1552 thing they can actually send is a talk or a message to the sysop.  In\r
1553 order for them to be able to spot, send announces or talks etc the sysop\r
1554 must register them with the <em>set/register</em> command, like this ...\r
1555 \r
1556 <tscreen><verb>\r
1557 set/register g0vgs\r
1558 </verb></tscreen>\r
1559 \r
1560 The user g0vgs can now fully use the cluster.  In order to enable \r
1561 registration, you can issue the command ...\r
1562 \r
1563 <tscreen><verb>\r
1564 set/var $main::reqreg = 1\r
1565 </verb></tscreen>\r
1566 \r
1567 Any users that are not registered will now see the motd_nor file rather\r
1568 than the motd file as discussed in the Information, files and useful \r
1569 programs section.\r
1570 \r
1571 <P>\r
1572 Entering this line at the prompt will only last for the time the cluster\r
1573 is running of course and would not be present on a restart.  To make the\r
1574 change permanent, add the above line to /spider/scripts/startup.  To\r
1575 read more on the startup file, see the section on Information, files \r
1576 and useful programs.\r
1577 \r
1578 <P>\r
1579 To unregister a user use <em>unset/register</em> and to show the list\r
1580 of registered users, use the command <em>show/register</em>.\r
1581 \r
1582 <sect1>Passwords\r
1583 \r
1584 <P>\r
1585 At the moment, passwords only affect users who login to a DXSpider\r
1586 cluster node via telnet.  If a user requires a password, they can\r
1587 either set it themselves or have the sysop enter it for them by using\r
1588 the <em>set/password</em> command.  Any users who already have passwords, \r
1589 such as remote sysops, will be asked for their passwords automatically \r
1590 by the cluster.  Using passwords in this way means that the user has a\r
1591 choice on whether to have a password or not.  To force the use of\r
1592 passwords at login, issue the command ...\r
1593 \r
1594 <tscreen><verb>\r
1595 set/var $main::passwdreq = 1\r
1596 </verb></tscreen>\r
1597 \r
1598 at the cluster prompt.  This can also be added to the /spider/scripts/startup\r
1599 file as above to make the change permanent.\r
1600 \r
1601 <P>\r
1602 Of course, if you do this you will have to assign a password for each of \r
1603 your users.  If you were asking them to register, it is anticipated that\r
1604 you would ask them to send you a message both to ask to be registered and\r
1605 to give you the password they wish to use.\r
1606 \r
1607 <P>\r
1608 Should a user forget their password, it can be reset by the sysop by\r
1609 first removing the existing password and then setting a new one like so ...\r
1610 \r
1611 <tscreen><verb>\r
1612 unset/password g0vgs\r
1613 set/password g0vgs new_password\r
1614 </verb></tscreen>\r
1615 \r
1616 <sect>CVS\r
1617 \r
1618 <sect1>CVS from a Linux platform\r
1619 \r
1620 <P>\r
1621 CVS stands for "Concurrent Versions System" and the CVS for DXSpider is held\r
1622 at <htmlurl url="http://www.sourceforge.net" name="Sourceforge">.  This means\r
1623 that it is possible to update your DXSpider installation to the latest\r
1624 sources by using a few simple commands.  A graphical interface to CVS for\r
1625 Windows is explained in the next section.\r
1626 \r
1627 <P>\r
1628 Please be aware that if you update your system using CVS, it is possible that\r
1629 you could be running code that is very beta and not fully tested.  There is\r
1630 a possibility that it could be unstable.\r
1631 \r
1632 <P>\r
1633 I am of course assuming that you have a machine with both DXSpider and\r
1634 Internet access running.\r
1635 \r
1636 <P>\r
1637 BEFORE YOU EVEN CONSIDER STARTING WITH THIS MAKE A BACKUP OF YOUR\r
1638 ENTIRE SPIDER TREE!!\r
1639 \r
1640 <P>\r
1641 Assuming you are connected to the Internet, you need to login to the\r
1642 CVS repository and then update your Spider source.  There are several\r
1643 steps which are listed below ...\r
1644 \r
1645 <P>\r
1646 First login as the user <em>sysop</em>.  Next you need to connect to the CVS\r
1647 repository.  You do this with the command below ...\r
1648 \r
1649 <verb>\r
1650 cvs -d:pserver:anonymous@cvs.DXSpider.sourceforge.net:/cvsroot/dxspider login\r
1651 </verb>\r
1652 \r
1653 You will get a password prompt.  Simply hit return here and your machine should\r
1654 return to a normal linux prompt.\r
1655 \r
1656 <P>\r
1657 What happens next depends on whether you have an existing installation that\r
1658 you want to update with the latest and greatest or whether you just want\r
1659 to see what is there and/or run it on a new machine for testing.\r
1660 \r
1661 If you are installing Spider from CVS then change directory to /home/sysop\r
1662 \r
1663 If you are wanting to update Spider then cd to /tmp\r
1664 \r
1665 <P>\r
1666 The next step will create a brand new 'spider' directory in your current\r
1667 directory.\r
1668 \r
1669 <verb>\r
1670 cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/dxspider co spider\r
1671 </verb>\r
1672 \r
1673 This command is all on one line.\r
1674 \r
1675 <P>\r
1676 Hopefully your screen should show you downloading files.  The -z3 simply compresses\r
1677 the download to improve speed.\r
1678 When this has finished, you will have exactly the same as if you had untarred a full\r
1679 tarball PLUS some extra directories and files that CVS needs to do the magic that\r
1680 it does.\r
1681 \r
1682 <P>\r
1683 Now if you are doing a new installation, that's it.  Carry on as if you have\r
1684 just downloaded and untarred the lastest tarball.\r
1685 \r
1686 <P>\r
1687 If you want to upgrade your current installation then do this ...\r
1688 \r
1689 <tscreen><verb>\r
1690 tar cvfz /tmp/s.tgz spider\r
1691 cd /\r
1692 tar xvfzp /tmp/s.tgz\r
1693 </verb></tscreen>\r
1694 \r
1695 This is assuming you downloaded to the /tmp directory of course.\r
1696 \r
1697 <P>\r
1698 NOTE:  the 'p' on the end of the 'xvfz' is IMPORTANT!   It keeps the permissions\r
1699 correct.  YOU WERE LOGGED IN AS THE USER SYSOP WEREN'T YOU?????\r
1700 \r
1701 Remember to recompile the C client (cd /spider/src; make)\r
1702 \r
1703 <P>\r
1704 At this point the files have been upgraded.  You can (usually) restart the cluster\r
1705 in your own time.  However, if you attempt to use any new commands or features\r
1706 expect it to be fatal!  At least your cluster will have been restarted then so it\r
1707 will be too late to worry about it!\r
1708 \r
1709 <P>\r
1710 Now the magic part!  From now on when you want to update, simply connect to the\r
1711 Internet and then, as the user <em>sysop</em> ...\r
1712 \r
1713 <tscreen><verb>\r
1714 cd /spider\r
1715 cvs -z3 update -d\r
1716 </verb></tscreen>\r
1717 \r
1718 and your files will be updated.  As above, remember to recompile the "C" client\r
1719 if it has been updated (CVS will tell you) and restart if any of the perl scripts\r
1720 have been altered or added, again, CVS will tell you.\r
1721 \r
1722 <P>\r
1723 You will find any changes documented in the /spider/Changes file.\r
1724 \r
1725 <sect1>CVS from a Windows platform\r
1726 \r
1727 <P>\r
1728 After the initial setup, an update to your DXSpider software is no more than a couple\r
1729 of clicks away.  This section is intended to explain and illustrate the use of the\r
1730 WinCVS application to update your DXSpider software.  The current stable version of\r
1731 WinCVS is Ver. 1.2.  You can get this software at:\r
1732 \r
1733 <htmlurl url="http://prdownloads.sourceforge.net/cvsgui/WinCvs120.zip" name="http://prdownloads.sourceforge.net/cvsgui/WinCvs120.zip">\r
1734 \r
1735 Pick your download mirror and then install WinCVS after the download is complete.\r
1736 \r
1737 In this next section I have included a series of links to .jpg files to take advantage of the\r
1738 picture and 1000 words equivalency.  The .jpg files are in the C:\spider\html directory.  If\r
1739 someone using a Linux system is reading this section from boredom, the files are in\r
1740 /home/sysop/spider/html.  One aside, a Linux user can also get a copy of gcvs and do your updates\r
1741 graphically as opposed to from the command line.  The following descriptions are almost identical\r
1742 between WinCvs and gcvs.  The following screen shots have duplicate links, depending upon whether\r
1743 you are viewing this information under the Windows or Linux operating system.\r
1744 \r
1745 When WinCVS is installed, running, and you are connected to the internet, the initial screen looks like:\r
1746 \r
1747 <htmlurl url="initial.jpg" name="initial.jpg">\r
1748 \r
1749 If you want, you can also look at these .jpg files with another viewer that might provide some\r
1750 better clarity to the image.  On the left is the directory tree for your hard disk.  Notice that\r
1751 the spider directory has a gray highlight.\r
1752 \r
1753 To start configuring WinCVS, click on Admin at the top of the screen and then Preferences.  This \r
1754 should get you:\r
1755 \r
1756 <htmlurl url="pref-gen.jpg" name="pref-gen.jpg">\r
1757 \r
1758 In the top line for CVSROOT, enter:\r
1759 <tscreen><verb>\r
1760 anonymous@cvs.DXSpider.sourceforge.net:/cvsroot/dxspider login\r
1761 </verb></tscreen>\r
1762 \r
1763 and select\r
1764 <tscreen><verb>\r
1765 "passwd" file on the cvs server\r
1766 </verb></tscreen>\r
1767 \r
1768 for Authentication on the General tab.\r
1769 \r
1770 Next, move to the right to the Ports tab.\r
1771 \r
1772 <htmlurl url="pref-ports.jpg" name="pref-ports.jpg">\r
1773 \r
1774 In here, check the box on the second line down for the "pserver" port.  Enter a port number of 2401.\r
1775 \r
1776 Finally, go to the WinCvs tab all the way to the right.\r
1777 \r
1778 <htmlurl url="pref-wincvs.jpg" name="pref-wincvs.jpg">\r
1779 \r
1780 Enter Notepad as the viewer to open files.  For the HOME folder, put "C:\spider" and click OK\r
1781 because the configuration is now complete.\r
1782 \r
1783 You are now ready to upgrade your copy of DXSpider.  Click on the greyed Spider folder\r
1784 shown in the directory tree on the left of the WinCVS display.  Two things should happen.  The Spider\r
1785 folder will be selected and the greyed-out arrow located just below the word Query in the top line will\r
1786 turn to solid green.\r
1787 \r
1788 For anyone using gcvs under Linux, the green arrow is located on the extreme left of the display,\r
1789 under the word File.  A gcvs screen looks like:\r
1790 \r
1791 <htmlurl url="gcvs.jpg" name="gcvs.jpg">\r
1792 \r
1793 Click on the now green arrow to start the download process.  An Update Settings box will be displayed\r
1794 to which you can simply say OK.\r
1795 \r
1796 <htmlurl url="update-OK.jpg" name="update-OK.jpg">\r
1797 \r
1798 For future reference, the Update Settings box is the place where you can enter information to revert\r
1799 to a prior version of DXSpider.  Information on reverting to a Before Date is contained in the WinCVS\r
1800 manual.\r
1801 \r
1802 After a short period of time, a series of file names will scroll by in the lower pane of the WinCVS\r
1803 window.  Eventually you should see\r
1804 <tscreen><verb>\r
1805 *****CVS exited normally with code 0*****\r
1806 \r
1807 </verb></tscreen>\r
1808 appear in the lower pane.  You're done.  The updated files are in place ready for you to stop and then\r
1809 restart your DXSpider.  After the restart, you're running with the latest version of DXSpider.\r
1810 \r
1811 <htmlurl url="completed.jpg" name="completed.jpg">\r
1812 \r
1813 To paraphrase from the CVS section... Now the magic part!  From now on when you want to update, simply\r
1814 connect to the Internet and start WinCVS.\r
1815 <tscreen><verb>\r
1816 Click on the greyed-out Spider directory in the left screen\r
1817 Click on the green down arrow\r
1818 Click OK on the Update Settings dialog box\r
1819 Restart your Spider software\r
1820 </verb></tscreen>\r
1821 \r
1822 <sect>The DXSpider Command Reference\r
1823 \r