Welcome, Guest. Please login or register.
Did you miss your activation email?
Thursday 28 March 2024, 09:06:48 pm

Login with username, password and session length

Download the latest community FREE version  HERE
14247 Posts in 4376 Topics by 6489 Members
Latest Member: GB-gattoboy
Search:     Advanced search
+  EFW Support
|-+  Development
| |-+  Contribute Your Customisations & Modifications
| | |-+  Traffic Statistics Mod
0 Members and 2 Guests are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Traffic Statistics Mod  (Read 57388 times)
oakleeman
Full Member
***
Offline Offline

Posts: 12


« on: Friday 23 December 2011, 05:21:19 pm »

I'm happy to release my first mod for EFW.

Traffic Statistics provides a summary page of the bandwidth usage of each interface for several time periods:

You can download it from here: skynet-solutions.net/mods/efw/trafficstats.tgz

If you aren't logged in to the forums, you can see a screenshot here: skynet-solutions.net/mods/efw/trafficstats.png

You'll have to SCP it over to your EFW, uncompress it, change to the trafficstats directory, and then run install.sh.

It has been tested on EFW Versions 2.3, 2.4, & 2.4.1
Logged
sindrom
Full Member
***
Offline Offline

Posts: 11


« Reply #1 on: Friday 23 December 2011, 05:56:10 pm »

Super thanks !) That will be very usefull Wink
Logged
davvidde
Full Member
***
Offline Offline

Gender: Male
Posts: 68


« Reply #2 on: Sunday 25 December 2011, 01:24:47 pm »

May you explain shortly where these informations are collected?
May the statistics be updated by pressing the submit button?

Thanks.
Davide.
Logged
oakleeman
Full Member
***
Offline Offline

Posts: 12


« Reply #3 on: Thursday 29 December 2011, 11:26:30 am »

The statistics are updated hourly using ipacsum and stored in a log file in the /var/log directory. All submit does is update either the interface shown or the time period.
Logged
kieronrob
Full Member
***
Offline Offline

Gender: Male
Posts: 57


« Reply #4 on: Tuesday 14 February 2012, 01:09:47 am »

Hi all,

Thanks for this, just what I needed! I have to keep track of usage caps and this does it perfectly!

Works on Endian 2.5.1 no problem.
Logged
joejoethedogfaceboy
Jr. Member
*
Offline Offline

Posts: 2


« Reply #5 on: Thursday 02 May 2013, 02:16:58 am »

Thanks for this great mod!  Also confirmed that it works out of the box on 2.5.1.

I made a small change to trafficstats.cgi so that it also reports Terabytes.  Change line 33 to:

  my @args = qw/B KB MB GB TB/;


(I suppose you could add " PB" at the end, too, to show PetaBytes, but I'm definitely a long ways away from that kind of traffic!)

Thanks

-Joe
Logged
sree
Full Member
***
Offline Offline

Posts: 64



WWW
« Reply #6 on: Sunday 12 May 2013, 03:45:52 pm »

Excellent ...Thanks for sharing with us.



Cheers~
sree
Logged
kieronrob
Full Member
***
Offline Offline

Gender: Male
Posts: 57


« Reply #7 on: Tuesday 01 October 2013, 11:56:01 pm »

This doesn't appear to be working with EFW 2.5.2!

I really liked this, any way to get it working again?
Logged
oakleeman
Full Member
***
Offline Offline

Posts: 12


« Reply #8 on: Thursday 31 October 2013, 03:02:51 am »

Sorry, but we quit using EFW shortly after this and started replacing our firewalls with pfSense. If someone wants to take the code & update it, they are free to do so.
Logged
joejoethedogfaceboy
Jr. Member
*
Offline Offline

Posts: 2


« Reply #9 on: Tuesday 07 October 2014, 02:55:41 pm »

Added this to /etc/crontab right above the ipacsum lines:

Code:
# get data for ipacsum
*/5 * * * * /usr/sbin/fetchipac

and restarted cron

Code:
/etc/init.d/fcron restart

Looks like the crontab for root lost that line during the 2.5.2 upgrade?  Does anything else use ipac-ng?
Logged
sergio.h
Jr. Member
*
Offline Offline

Posts: 1


« Reply #10 on: Tuesday 31 March 2015, 12:34:03 am »

the best !
Logged
MariMow
Jr. Member
*
Offline Offline

Gender: Male
Posts: 9


-
« Reply #11 on: Monday 27 June 2022, 03:09:27 am »

Anyone know where I can get the parts to change the wiper control on my 1995 bighorn.  I want to change it from the dash to a stalk on the steering column.  Currently the column has a single stalk for the indicators.
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Page created in 0.094 seconds with 19 queries.
Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Design by 7dana.com