Changeset 64 for trunk

Show
Ignore:
Timestamp:
02/04/08 10:25:10 (15 years ago)
Author:
andreu
Message:
 
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/README

    r57 r64  
    33 ---------------------- 
    44 
    5         tar xvzf renetcol-0.0.11.tar.gz 
    6         cd renetcol-0.0.11 
     5        tar xvzf renetcol-0.0.12.tar.gz 
     6        cd renetcol-0.0.12 
    77        ./configure 
    88        (./configure --help) 
    9         (before the make command you MUST change some values in renetcol.h, see below) 
     9        (before the make command you MUST change some values in renetcolParam.h, see below) 
    1010        make 
    1111        make install (if you want) 
     
    1515 -------------------------------------- 
    1616 
    17 Change the following values in renetcol.h *REQUIRED*: 
    18 #define RECEPTION_ADDRESS "10.0.0.1"  
    19 #define RECEPTION_PORT 9999 
    20 (this two values are the values configured on your routers to export Netflow 
    21 datagrams) 
     17You must changed some values in renetcolParam.h *REQUIRED*: 
    2218 
    23  -------------------------------------- 
    24 | Collector requirements before start | 
    25  -------------------------------------- 
     19 ----------------------------------------------------- 
     20| Collector requirements before start / Configuration | 
     21 ----------------------------------------------------- 
    2622 
    27         - create your IPv4 prefix file (or keep the default for test:  
    28 IPv4_prefix.txt, in "quick start" with "--enable-ipv4agg=no" you don't  
    29 need a such file 
    30         - create your router list file *REQUIRED* (exemple in src/routers.txt): 
    31 syntax: <id> <name> <first IPv4 address> <second IPv4 or NULL> 
    32 keep this first line: 0 null 0.0.0.0 null 
     23   - create your IPv4 prefix/subnet file (or keep the default for test:  
     24IPv4_prefix.txt. If you don't need aggregation you can keed the default and select "--enable-ipv4agg=no" in configure procedure 
     25    
     26   - create your router list file *REQUIRED*  
     27          (exemple in conf/routers.txt): 
     28     syntax: <id> <name> <first IPv4 address> <second IPv4 or NULL> 
     29     keep this first line: 0 null 0.0.0.0 null 
    3330 
    3431Note: no comment lines in this two files. 
     
    4340        ./renetcolMsgCtl ... : to kill the message queue if you kill renetcol   
    4441 
     42We recommand to use the script check.sh (in tool/) to launch renetcol. This script required in parameters the path to renetcol. We can also put the script in your root crontab to verify the collector state: 
     435,10,15,20,25,30,35,40,45,50,55 * * * * /bin/sh <path>/renetcol-0.0.12/tool/check.sh <path>/renetcol-0.0.12/ 
     44 
    4545 ------------------- 
    4646| Commands exemples | 
    4747 ------------------- 
    4848 
    49 colnet:/tmp/renetcol_user/src# ./renetcol routers.txt IPv4_prefix.txt rules.txt 
    50  
    51 colnet:/tmp/renetcol_user/src# ./renetcolSender renetcol 1 rules.txt 
    52  
    5349colnet:/tmp/renetcol_user/src# killall renetcol 
    5450colnet:/tmp/renetcol_user/src# killall renetcolSender 
    5551colnet:/tmp/renetcol_user/src# ./renetcolMsgCtl renetcol 
    56  
    57 We recommand to use in a crontab the script check.sh who is in tool/ directory. 
    5852 
    5953 ---------------------------------- 
     
    6357    on Linux: 
    6458       cd tool 
    65        python renetcolGUI_0_0_7.py 
     59       python renetcolGUI.py 
    6660    on Win32: 
    67        copy the file renetcolGUI_0_0_7.py on your system 
     61       copy the file renetcolGUI.py on your system 
    6862       install python, GTK and requirements: 
    6963               for python: 
     
    8074                - line 47 to 53 : IP protocol choice and collector address 
    8175 
    82     *REQUIRED* In this release (0.0.11) the client tool host MUST be have a 
     76    *REQUIRED* In this release the client tool host MUST be have a 
    8377 reverse DNS for his name. If not the collector will not be able to  
    8478communicate with the client. Explication: the rules are registered on the  
     
    8781        O socket 53.renater.fr 2222 
    8882        C 60 = 6 
    89 It's not a requirement for rules applied directly in this file (with an  
    90 editor). 
    9183         
    9284    Note: For your first action from the client to the collector it's