X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=html%2Fadminmanual-2.html;h=feb9bdf8a3ccbc19b3db61ac60ef65e3810a68be;hb=fb0820fe3b3d60f189483716f72e3bce02fcd1c2;hp=b28822c1fb083c59afb49ff45cf8c04a13c0cef4;hpb=6624dcdf07d628e8d6a16fc6549edf40be25b7b2;p=spider.git diff --git a/html/adminmanual-2.html b/html/adminmanual-2.html index b28822c1..feb9bdf8 100644 --- a/html/adminmanual-2.html +++ b/html/adminmanual-2.html @@ -1,8 +1,8 @@ - - The DXSpider Administration Manual v1.48: Other filters + + The DXSpider Administration Manual v1.50: Other filters @@ -13,13 +13,13 @@ Previous Contents
-

2. Other filters

+

2. Other filters

-

2.1 Filtering Mail +

2.1 Filtering Mail

In the /spider/msg directory you will find a file called badmsg.pl.issue. Rename -this to badmsg.pl and edit the file. The original looks something like this .... +this to badmsg.pl and edit the file. The original looks something like this ....

@@ -61,71 +61,79 @@ package DXMsg;
 );
 
-

+

+

I think this is fairly self explanatory. It is simply a list of subject headers that we do not want to pass on to either the users of the cluster or the other cluster nodes that we are linked to. This is usually because of -rules and regulations pertaining to items for sale etc in a particular country. -

-

2.2 Filtering DX callouts (Depricated) +rules and regulations pertaining to items for sale etc in a particular country.

+ + +

2.2 Filtering words from text fields in Announce, Talk and DX spots

-

From version 1.47, this method is replaced by the command set/baddx -

-

In the same way as mail, there are some types of spot we do not wish to pass on -to users or linked cluster nodes. In the /spider/data directory you will find -a file called baddx.pl.issue. Rename this to baddx.pl and edit the file. The -original looks like this .... -

-

-
+

From version 1.48 onwards the interface to this has changed. You can now +use the commands set/badword to add words that you are not prepared +to see on the cluster, unset/badword to allow that word again and +show/badword to list the words that you have set.

-# the list of dx spot addresses that we don't store and don't pass on +

If you have a previous /spider/data/badwords, the first time you start +the node, it will read and convert this file to the new commands. The old style +file will then be removed.

+

2.3 Stopping (possibly bad) DX Spots from Nodes or Spotters +

-package DXProt; +

+There are a number of commands that control whether a spot progresses +any further by regarding it as "bad" in some way.

-@baddx = qw +

A DX Spot has a number of fields which can be checked to see whether they +contain "bad" values, they are: the DX callsign itself, the Spotter and +the Originating Node.

- FROG - SALE - FORSALE - WANTED - P1RATE - PIRATE - TEST - DXTEST - NIL - NOCALL -); +

There are a set of commands which allow the sysop to control whether a +spot continues:-

+

+

+
+set/baddx
+set/badspotter
+set/badnode
 
-

-

Again, this is simply a list of names we do not want to see in the spotted -field of a DX callout. -

-

-

2.3 Filtering words from text fields in Announce, Talk and DX spots -

- -

Create a file in /spider/data called badwords. The format is quite -simple. Lines beginning with # are ignored so comments can be added. An -example file is below ... +

+

These work in the same as the set/badword command, you can add +any words or callsigns or whatever to the appropriate database. For +example, to stop a spot from a particular node you do:

-# Below is a list of words we do not wish to see on the cluster
-grunge grunged grunging
-splodge splodger splodging
-grince
-fluffle
+set/badnode gb7djk gb7dxc
 
-

Multiple words can be used on the same line as shown. Obviously these -are just examples :-) +

+

a bad spotter:

-

You can reload the file from the cluster prompt as sysop with load/badwords. +

+
+set/badspotter b0mb p1rat nocall
+
+
+

+

and some bad dx:

+

+
+set/baddx video wsjt
+
+
+

+

You can remove a word using the appropriate unset command +(unset/baddx, unset/badspotter, unset/badnode) or list them +using one of show/baddx, show/badspotter and +show/badnode.

+
Next Previous