trafsum-2.3

It is a little script used to parse and present a score of sumaries &
stats xtracted from traflog using various filtering patterns; once the
data has been obtained, 'trafsum' can be told to calculate a serie of
values [i.e. bytes to MB, bytes total to bytes per second to kbps, et
al.]. Lastly, those values are assigned to variables, in turn echoed by
'trafsum' along with info strings such as 'total traffic from dmz : xxx
bytes / yyy KB / zzz MB / aaa% of total traffic' and stuff like that ...
Aided by a little html and the properties of table, 'trafsum' also writes
an html file in which each MB of traffic becomes 1px-worth of lenght for
aptly colored tables creating some sort of stats graph ...

Hope it's somehow useful, it's been written & tested on a FreeBSD
5.2-RELEASE on a 640Kbps Adsl, and later 'ported' to a 10Mbps-connected
box with good results ...

--
Silvio - Network Operations
<surt@houril.com>
