On 9/16/2014 2:45 PM, RYAN M. vAN GINNEKEN wrote:
> Hello all I am trying to get bandwidth accounting working with shorewall
> I wish to account for all traffic and have a breakdown by ports as i get
> billed for all my bandwidth so it is quite important to monitor all
> traffic.  Also i would like to do charting to have a visual
> representation of my traffic however i am having difficulty getting this
> working and appeal to this mailing list for help thank you in advance.
> 
> Running Debian squeeze with shorewall version is 4.4.11.6 installed from
> the repos
> NOTE i have also installed apt-get install xtables-addons-common to try
> and get per IP accounting going but get this error
> iptaccount -l net-loc
> 
> libxt_ACCOUNT_cl userspace accounting tool v1.3
> 
> Showing table: net-loc
> Read failed: Can't get table information from kernel. Does it exist?

Support for libxt_ACCOUNT wasn't added until Shorewall 4.4.17.

> 
> I have mostly successfully gotten accounting working using this doc
> <http://shorewall.net/Accounting.html>http://shorewall.net/Accounting.html
> By mostly i mean i get output when i run shorewall show web and even
> more when i run shorewall show
> However counters seem to get reset each time i restart shorewall
> 

Yes, they are.

The first persistent Shorewall counters weren't added until Shorewall 4.5.7.

-Tom
-- 
Tom Eastep        \ When I die, I want to go like my Grandfather who
Shoreline,         \ died peacefully in his sleep. Not screaming like
Washington, USA     \ all of the passengers in his car
http://shorewall.net \________________________________________________

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to