[71] | 1 | ----------------------------- |
---|
| 2 | | Install resume | |
---|
| 3 | ----------------------------- |
---|
| 4 | |
---|
[94] | 5 | $ tar xvzf renetcol-0.0.14beta.tar.gz |
---|
| 6 | $ cd renetcol-0.0.14beta |
---|
[71] | 7 | {./configure | ./configure --enable-ipv4agg=no } |
---|
| 8 | Steps 1&2 , see below |
---|
| 9 | $ make |
---|
| 10 | $ make install (optional) |
---|
| 11 | |
---|
[8] | 12 | ---------------------- |
---|
[71] | 13 | | Step 1: before compil | |
---|
[8] | 14 | ---------------------- |
---|
| 15 | |
---|
[71] | 16 | OS requirements : Linux distribution (tested on Debian Etch and Ubuntu7.1) |
---|
[2] | 17 | |
---|
[71] | 18 | You must changed some values in renetcolParam.h, values are detailed in the file. |
---|
[2] | 19 | |
---|
[71] | 20 | IPC System V MUST be installed on your OS. |
---|
[2] | 21 | |
---|
[71] | 22 | Specials packages requirements: |
---|
| 23 | - libc6-dev |
---|
| 24 | - libc6-prof |
---|
| 25 | - librrd{0|2}-dev (if aggregation enabled) |
---|
| 26 | |
---|
| 27 | ------------------------------------- |
---|
[73] | 28 | | Step 2: before start | |
---|
[71] | 29 | ------------------------------------- |
---|
[8] | 30 | |
---|
[64] | 31 | - create your IPv4 prefix/subnet file (or keep the default for test: |
---|
[97] | 32 | conf/IPv4_prefix.txt). If you don't need aggregation you can keed the default |
---|
[71] | 33 | and select "--enable-ipv4agg=no" in configure procedure |
---|
[64] | 34 | |
---|
| 35 | - create your router list file *REQUIRED* |
---|
| 36 | (exemple in conf/routers.txt): |
---|
| 37 | syntax: <id> <name> <first IPv4 address> <second IPv4 or NULL> |
---|
[8] | 38 | |
---|
[34] | 39 | Note: no comment lines in this two files. |
---|
[8] | 40 | |
---|
| 41 | |
---|
| 42 | ---------- |
---|
| 43 | | Commands | |
---|
| 44 | ---------- |
---|
| 45 | |
---|
| 46 | ./renetcol ... : launch the collector (you must be root) |
---|
| 47 | ./renetcolSender ... : to use remote client |
---|
[108] | 48 | ./renetcolMsgCtl ... : to kill the IPC message queue if you kill renetcol |
---|
[8] | 49 | |
---|
[71] | 50 | We recommand to use the script *check.sh* (in tool/) to launch renetcol. |
---|
[108] | 51 | This script required in parameters the path to renetcol. |
---|
[71] | 52 | We can also put the script in your root crontab to verify the collector state, |
---|
| 53 | for exemple: |
---|
| 54 | 5,10,15,20,25,30,35,40,45,50,55 * * * * \ |
---|
[94] | 55 | /bin/sh <path>/renetcol-0.0.14beta/tool/check.sh <path>/renetcol-0.0.14beta/ |
---|
[64] | 56 | |
---|
[108] | 57 | -------------------------- |
---|
| 58 | | Others Commands exemples | |
---|
| 59 | -------------------------- |
---|
[8] | 60 | |
---|
| 61 | colnet:/tmp/renetcol_user/src# killall renetcol |
---|
| 62 | colnet:/tmp/renetcol_user/src# killall renetcolSender |
---|
| 63 | colnet:/tmp/renetcol_user/src# ./renetcolMsgCtl renetcol |
---|
| 64 | |
---|
| 65 | ---------------------------------- |
---|
| 66 | | Use the client tool (python+GTK) | |
---|
| 67 | ---------------------------------- |
---|
| 68 | |
---|
[2] | 69 | on Linux: |
---|
| 70 | cd tool |
---|
[64] | 71 | python renetcolGUI.py |
---|
[2] | 72 | on Win32: |
---|
[64] | 73 | copy the file renetcolGUI.py on your system |
---|
[2] | 74 | install python, GTK and requirements: |
---|
| 75 | for python: |
---|
| 76 | http://www.python.org/ download section |
---|
| 77 | for pyGTK: |
---|
| 78 | http://www.pcpm.ucl.ac.be/~gustin/win32_ports/ |
---|
| 79 | section pygtk on win32 |
---|
| 80 | for GTK+: |
---|
| 81 | http://gladewin32.sourceforge.net/ |
---|
| 82 | |
---|
[71] | 83 | *REQUIRED* Collector (renetcolSender) and remote client communication: |
---|
| 84 | you MUST change few values in the renetcolGUI.py file: |
---|
[8] | 85 | - line 28 : path to GTK |
---|
| 86 | - line 47 to 53 : IP protocol choice and collector address |
---|
[2] | 87 | |
---|
[64] | 88 | *REQUIRED* In this release the client tool host MUST be have a |
---|
[8] | 89 | reverse DNS for his name. If not the collector will not be able to |
---|
[108] | 90 | communicate with the client. Explication: filters are registered on the |
---|
| 91 | collector in a file (rules.txt) in such way: |
---|
[8] | 92 | N 53.renater.fr |
---|
| 93 | O socket 53.renater.fr 2222 |
---|
| 94 | C 60 = 6 |
---|
| 95 | |
---|
[71] | 96 | For your first action from the client to the collector it's possible to have a |
---|
| 97 | delay before the first flow view (>20s, it depends on the delay between two |
---|
| 98 | routers template definition) |
---|
| 99 | |
---|
| 100 | The client tool can be used on the collector box or in remote mode. You can |
---|
[108] | 101 | used few clients instantiations (on differents remotes computers). |
---|