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

Cheers




On Wed, Dec 03, 2008 at 11:09:23PM -0800, Phillipus Gunawan wrote:
>
> hedges:COUNT - ppp0 10.1.1.5 - - -
> hedges:COUNT - 10.1.1.5 ppp0 - - -
> DONE hedges
>
> iptables v1.3.6: multiport needs `-p tcp', `-p udp', `-p sctp' or `-p dccp'

If you look at the documentation [0], you will see that the examples
there all have the protocol specified. Shorewall can guess what you
want in this respect.

Regards,

-Roberto

[0] http://shorewall.net/Accounting.html

-- 
Roberto C. Sánchez
http://people.connexer.com/~roberto
http://www.connexer.com


      Start your day with Yahoo!7 and win a Sony Bravia TV. Enter now 
http://au.docs.yahoo.com/homepageset/?p1=other&p2=au&p3=tagline

-------------------------------------------------------------------------
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

Reply via email to