1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Simple Traffic Logging?

Discussion in 'Tomato Firmware' started by raz123, Dec 29, 2006.

  1. raz123

    raz123 Guest

    Hi,

    Perhaps I am doing something wrong, if someone would please enlighten me, feel free to do so.

    I've looked left and right, and the Tomato Firmware is what came closer to what I am seeking.. however, I still can't get what I'm seeking..

    If someone knows where/how I might get the following, please reply!

    All I want, is *simple* logging of this type:


    Date:



    MAC - Download - Upload
    MAC - Download - Upload
    ....

    Ex:
    Code:
    12/30/2006: 
    
    00:00:00:00:00:A0 - 456.7 MB - 123.4 MB
    11:11:11:11:11:11 - 333.3 MB - 111.4 MB
    12:34:56:78:9A:BC - 12.3 MB - 34.1 MB
    
    12/31/2006: 
    
    00:00:00:00:00:A0 - 543.1 MB - 32.4 MB
    11:11:11:11:11:11 - 43.6 MB - 12.1 MB
    12:34:56:78:9A:BC - 235.1 MB - 31.1 MB
    
    ... And so on.


    Any ideas?

    Regards,

    -r
     
  2. bokh

    bokh Network Guru Member

    First thing that pops up in my mind is IPFM.
    IP Flow Meter (IPFM) is a bandwidth analysis tool, that measures how much bandwidth specified hosts use on their Internet link.
    http://robert.cheramy.net/ipfm/

    It gives an output like this (I used it until the WRT54 became my firewall / router in June 2006):

    [IP-based, not MAC]

    Code:
    # cat total-May-2006 
    Monthly Bandwith Usage for May 2006
    Hosts                   In        Out     Total
    -----------------------------------------------
    192.168.0.2         52.31G      2.38G    54.69G
    192.168.0.10         2.00G    171.53M     2.18G
    192.168.0.1        592.00M      1.39G     1.98G
    192.168.0.255        4.44M      0.00B     4.44M
    192.168.0.39         1.03M    141.77K     1.18M
    -----------------------------------------------
    Total:              54.91G      3.94G    58.85G
    
    # cat ipfm-02.06-10.00.00
    # IPFMv0.11.5 2006/06/02 10:00:00 (local time) -- dump every 0d01:00:00 -- listening on fxp0
    # Host                        In (bytes)    Out (bytes)  Total (bytes)
    192.168.0.2                  3968439      126384        4094823
    192.168.0.1                  8403           16541          24944
    192.168.0.255                6191            0               6191
    # end of dump 2006/06/02 10:00:00
    When you google for it, you'll get some hits about someone who is trying to get this working for OpenWRT - you need some more libaries like libpcap to get it running, but so far this is not included in Tomato as of yet...
    Maybe Jon will read this and considers it, heh-heh!
     
  3. cHarOn

    cHarOn Network Guru Member

    oh yes this would be an awesome feature
     

Share This Page