|
Packit |
667938 |
*************************************************************************
|
|
Packit |
667938 |
You need the following software installed on your system:
|
|
Packit |
667938 |
|
|
Packit |
667938 |
- perl 5.003
|
|
Packit |
667938 |
http://www.perl.com/perl/info/software.html
|
|
Packit |
667938 |
- MRTG 2.1
|
|
Packit |
667938 |
http://www.ee.ethz.ch/~oetiker/webtools/mrtg/mrtg.html
|
|
Packit |
667938 |
- gcc to successfully compile tcpblast.c
|
|
Packit |
667938 |
|
|
Packit |
667938 |
*************************************************************************
|
|
Packit |
667938 |
mrtg-blast has been tested successfully under:
|
|
Packit |
667938 |
|
|
Packit |
667938 |
Linux 2.0.25 (S.u.S.E. 4.3)
|
|
Packit |
667938 |
|
|
Packit |
667938 |
(other versions / OSes might work, but have not been tested.)
|
|
Packit |
667938 |
-------------------------------------------------
|
|
Packit |
667938 |
The latest version should always be available from
|
|
Packit |
667938 |
|
|
Packit |
667938 |
ftp://ftp.inside.ch/pub/mrtg-blast
|
|
Packit |
667938 |
|
|
Packit |
667938 |
If you create a new version, please send it to me so I
|
|
Packit |
667938 |
can keep the archive up to date.
|
|
Packit |
667938 |
*************************************************************************
|
|
Packit |
667938 |
|
|
Packit |
667938 |
YOU NEED TO CHANGE THE FOLLOWING:
|
|
Packit |
667938 |
tcpblast:
|
|
Packit |
667938 |
1 - Type 'make tcpblast' to compile the tcpblast executable
|
|
Packit |
667938 |
2 - Copy tcpblast to your mrtg binary directory
|
|
Packit |
667938 |
|
|
Packit |
667938 |
In mrtg-blast:
|
|
Packit |
667938 |
1 - Line 1: Adjust perl path to your system
|
|
Packit |
667938 |
2 - Line 55: Adjust tcpblast path to where you put tcpblast
|
|
Packit |
667938 |
3 - Copy mrtg-blast to your mrtg binary directory
|
|
Packit |
667938 |
|
|
Packit |
667938 |
Edit your mrtg-blast.cfg file to add statements for the devices you want to
|
|
Packit |
667938 |
blast. See mrtg-blast.cfg for an example.
|
|
Packit |
667938 |
|
|
Packit |
667938 |
PLEASE NOTE: Blasting causes traffic, which it inherently does. ;) So please
|
|
Packit |
667938 |
don't flood the whole wide world, keep it as local as possible.
|
|
Packit |
667938 |
Blasting can't be that bad though, considering internet radio and tv... at least
|
|
Packit |
667938 |
it tells us something: How fast our next video conference will pass, for example.
|
|
Packit |
667938 |
|
|
Packit |
667938 |
The program returns traffic estimates which can be off sometimes. Use with care,
|
|
Packit |
667938 |
caution and much love.
|
|
Packit |
667938 |
Here are some estimates I tested at our site locally. Your mileage will most
|
|
Packit |
667938 |
definitely vary, but as a guideline I always use 500 packets if I'm close to
|
|
Packit |
667938 |
the site being blasted otherwise 200 is good enough.
|
|
Packit |
667938 |
|
|
Packit |
667938 |
Link: 256 kbps = 32 kB/s
|
|
Packit |
667938 |
|
|
Packit |
667938 |
#of packets: bandwidth as estimated
|
|
Packit |
667938 |
by tcpblast [kB/s]: Error in %:
|
|
Packit |
667938 |
|
|
Packit |
667938 |
100 50 +53 %
|
|
Packit |
667938 |
200 38 +16 %
|
|
Packit |
667938 |
300 35 +5 %
|
|
Packit |
667938 |
400 34 +4 %
|
|
Packit |
667938 |
500 32 0 %
|
|
Packit |
667938 |
800 32 0 %
|
|
Packit |
667938 |
|
|
Packit |
667938 |
You should decide yourself how accurate you're trying to be. Once again:
|
|
Packit |
667938 |
Your mileage will vary.
|
|
Packit |
667938 |
|
|
Packit |
667938 |
Have fun!
|
|
Packit |
667938 |
|
|
Packit |
667938 |
Balthasar Indermuehle <balthasar@indermuehle.com>, March 12, Early in the morning...
|
|
Packit |
667938 |
|
|
Packit |
667938 |
|
|
Packit |
667938 |
|