At 02:34 -0800 4/12/08, Phillipus Gunawan wrote: >Thanks for the reply > >Could you point me out then, if I want to do accounting no matter >what the protocol slipping through, what command should i put? >I have tried > >hedges:COUNT - ppp0 10.1.1.5 >hedges:COUNT - 10.1.1.5 ppp0 > >dumb try, but anyway, still not working > >Previously, I am using that accounting file and it was working OK >until..... I did "apt-get upgrade" >Then it start failing on this accounting >This is a result example before I did the upgrade to Lenny > >Chain hedges (1 references) > pkts bytes target prot opt in out source >destination > 2032 870K 0 -- ppp0 * 0.0.0.0/0 >10.1.1.5 >Shorewall 4.0.14.2 Chain hedges at debian - Wed Dec 3 23:31:56 EST 2008 > >Anyhow, please advice me what should be the correct command
Don't know if this will work for you, this is from a router (& Shorewall-perl 4.0.6) that doesn't do NAT : # Outside global stats outside-in:COUNT - ethext - outside-out:COUNT - - ethext DONE outside # Do acocunting by IP address account-ip - - - total-ip-in:COUNT account-ip ethext - total-ip-out:COUNT account-ip - ethext DONE total-ip acc1-in:COUNT account-ip ethext a.b.c.1 acc1-out:COUNT account-ip a.b.c.1 ethext DONE acc1 acc2-in:COUNT account-ip ethext a.b.c.2 acc2-out:COUNT account-ip a.b.c.2 ethext DONE acc2 -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Gladys Hobson. Novels - poetry - short stories - ideal as Christmas stocking fillers. Some available as e-books. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Shorewall-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-users
