Changeset 64 for trunk/README
- Timestamp:
- 02/04/08 10:25:10 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/README
r57 r64 3 3 ---------------------- 4 4 5 tar xvzf renetcol-0.0.1 1.tar.gz6 cd renetcol-0.0.1 15 tar xvzf renetcol-0.0.12.tar.gz 6 cd renetcol-0.0.12 7 7 ./configure 8 8 (./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) 10 10 make 11 11 make install (if you want) … … 15 15 -------------------------------------- 16 16 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) 17 You must changed some values in renetcolParam.h *REQUIRED*: 22 18 23 -------------------------------------- 24 | Collector requirements before start |25 -------------------------------------- 19 ----------------------------------------------------- 20 | Collector requirements before start / Configuration | 21 ----------------------------------------------------- 26 22 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: 24 IPv4_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 33 30 34 31 Note: no comment lines in this two files. … … 43 40 ./renetcolMsgCtl ... : to kill the message queue if you kill renetcol 44 41 42 We 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: 43 5,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 45 45 ------------------- 46 46 | Commands exemples | 47 47 ------------------- 48 48 49 colnet:/tmp/renetcol_user/src# ./renetcol routers.txt IPv4_prefix.txt rules.txt50 51 colnet:/tmp/renetcol_user/src# ./renetcolSender renetcol 1 rules.txt52 53 49 colnet:/tmp/renetcol_user/src# killall renetcol 54 50 colnet:/tmp/renetcol_user/src# killall renetcolSender 55 51 colnet:/tmp/renetcol_user/src# ./renetcolMsgCtl renetcol 56 57 We recommand to use in a crontab the script check.sh who is in tool/ directory.58 52 59 53 ---------------------------------- … … 63 57 on Linux: 64 58 cd tool 65 python renetcolGUI _0_0_7.py59 python renetcolGUI.py 66 60 on Win32: 67 copy the file renetcolGUI _0_0_7.py on your system61 copy the file renetcolGUI.py on your system 68 62 install python, GTK and requirements: 69 63 for python: … … 80 74 - line 47 to 53 : IP protocol choice and collector address 81 75 82 *REQUIRED* In this release (0.0.11)the client tool host MUST be have a76 *REQUIRED* In this release the client tool host MUST be have a 83 77 reverse DNS for his name. If not the collector will not be able to 84 78 communicate with the client. Explication: the rules are registered on the … … 87 81 O socket 53.renater.fr 2222 88 82 C 60 = 6 89 It's not a requirement for rules applied directly in this file (with an90 editor).91 83 92 84 Note: For your first action from the client to the collector it's