root/trunk/src/rules.txt @ 6

Revision 2, 1.2 KB (checked in by andreu, 17 years ago)

First RENETCOL CVS Integration

  • Property svn:eol-style set to native
Line 
1# This file is an exemple
2# you must create your own rules
3
4# #: commented line
5# N: rule name (string without space)
6# O: output type (only socket in this release)
7# C: check field : C <field ID> <operator> <value>
8# A: aggregation scheme (not present in this release)
9# R: field ID to record (not present in this release), if no record all fields
10#    are recorded
11
12# get all IPv6 flow seen by the collector, send it to a remote client
13N test
14O socket 10.0.0.1 3234
15C 60 = 6
16
17# get all IPv4 flow, send it to a remote client
18N test
19O socket 127.0.0.1 2222
20C 60 = 4
21
22# get flows from one IPv6 address, send it to a remote client
23N test2
24O socket 10.0.0.2 2222
25C 27 = 2001:620:0:4:203:baff:fe4c:d99b
26
27# get flows from one IPv6 address, send it to a remote client
28N test7
29O socket 10.0.0.3 2222
30C 8 = 193.49.159.10
31
32# This rule depends on functionnality not present in this beta release
33# from TCP flows
34# prefix aggregation
35# five minutes
36# record in/out octets
37N TCPVolumetry
38O file ascii /tmp/output2.txt
39A P
40R 4 1 R 4 25
41
42# This rule depends on functionnality not present in this beta release
43# get all flows whom size between 15 & 16 Mo
44# record all fields in a file
45N Get_From_Size
46O file bin /tmp/output.txt
47C 1 > 15 C 1 < 16
48
Note: See TracBrowser for help on using the browser.