1RACOLOR.CONF(1) General Commands Manual RACOLOR.CONF(1)
2
3
4
6 racolor.conf - racolor resource file.
7
9 racolor.conf
10
12 This configuration is a color configuration file for ratop.1. It is
13 modeled after a ralabel(1) configuration file. This configuration
14 would be referenced in a ratop.1 rarc.5 configuration file, using the
15 RA_COLOR_CONFIG variable.
16
17 The concept is to provide a number of painting strategies for any or
18 all fields in an argus record. This allows the user to specify the
19 order of the painting, hopefully to get a useful end result.
20
21 The method used is flow filter based field painting, which uses the
22 standard flow filter strategies to provide a general purpose coloring
23 scheme.
24
25 The concept is similar to racluster()'s fall through matching scheme.
26 Fall through the list of filters, if it matches, use the color specifiā
27 cation to paint specific fields in the record. If you want to continue
28 through the list, once there is a match, add a "cont" to the end of
29 the matching rule.
30
31 The format is:
32 filter="ra filter" color="field[,field,...]:COLOR[+ATTRIBUTE]" [cont]
33
34 filter can be any working ra flow record filter, contained in double quotes
35
36 color is composed of a comma separated list of fields, that will be painted
37 using the ncurses supported COLOR(s) and an optional ATTRIBUTE(s).
38
39 each line can be followed with an optional "cont"inue label, to indicate
40 that it should not stop with this match, but keep going down the list.
41
42
43 A working example color specification is:
44
45 filter="udp" color="proto:VIOLET" cont
46 filter="tcp" color="saddr,daddr,dir,sport,dport,proto:WHITE" cont
47 filter="tcp and dst port http" color="dport:GREEN" cont
48 filter="tcp" color="sport:BLUE+DIM" cont
49 filter="dst port domain" color="dport:CYAN+DIM" cont
50 filter="dst port imaps" color="dport:MAGENTA+DIM" cont
51 filter="src pkts gt 50" color="spkts,dpkts,sbytes,dbytes:RED+BLINK"
52 filter="src co CN" color="all:RED+BLINK"
53
54
55
57 Copyright (c) 2000-2016 QoSient. All rights reserved.
58
59
61 ratop(1)
62
63
64
65racolor.conf 3.0.8 07 November 2009 RACOLOR.CONF(1)