in reply to Bandwidth measurement with Perl?

Any decent firewall has a userland interface program which spits out statistics, in text format. Work your magic on processing that output. Then you can use something like GD to make pretty graphs. If you're using PF, merlyn even wrote an excellent column on how to do exactly what you want.

Replies are listed 'Best First'.
Re^2: Bandwidth measurement with Perl?
by DaWolf (Curate) on Sep 07, 2004 at 20:26 UTC
    Thanks, but sadly seems that it's not ZoneAlarm's case...

    I forgot to say that I'm on Windows here...

    Regards,

    my ($author_nickname, $author_email) = ("DaWolf","erabbott\@terra.com.br") if ($author_name eq "Er Galvão Abbott");

      This node, which I found by doing a title search for "bandwidth usage", mentions SNMP, which you may be able to use.

      Ouch. Well, I did mention decent ...:)

        Any decent and free firewall sugestions on windows that maybe solve this?

        Thanks,

        my ($author_nickname, $author_email) = ("DaWolf","erabbott\@terra.com.br") if ($author_name eq "Er Galvão Abbott");

      ZoneAlarm log files can be parsed but you probably don't want to do that to measure bandwidth. I used to have a script that parsed them. (It showed various things like the different ports that were probed at the various times of the day.)