ipfw show questions

2004-03-11 Thread Roberto Pereyra
Hi all !

I want to do traffic accounting with a freebsd firewall.

I configured a ipfw firewall with dummynet support.

When I do: ipfw show the output show:

0010025648 1869498 allow ip from 10.1.0.2 to any
0020030115 3544967 allow ip from any to 10.1.0.2
00300  325   18354 pipe 1 ip from 10.1.1.30 to any via rl1
00400  452  444960 pipe 2 ip from any to 10.1.1.30 via rl1
005001 229 pipe 3 ip from 10.1.1.31 to any via rl1
006000   0 pipe 4 ip from any to 10.1.1.31 via rl1
00700   815880 pipe 5 ip from 10.1.1.32 to any via rl1
00800   364314 pipe 6 ip from any to 10.1.1.32 via rl1
.
65535 33030639 14936134258 allow ip from any to any

A question: What means each column ?
The third column is the traffic in this rule ?
I not reboot my server, for example, in a month then I have the monthy 
traffic for this IP ?

Thanks in advance

roberto


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ipfw show questions

2004-03-11 Thread Nikos Vassiliadis
 A question: What means each column ?
 The third column is the traffic in this rule ?

The second column is packets and the third is bytes.

 I not reboot my server, for example, in a month then I have the
 monthy traffic for this IP ?
I guess yes, if there is not a cron job zeroing the counters
I am not really sure about that last one:)

Cheers, NikV

On Thursday 11 March 2004 13:59, Roberto Pereyra wrote:
 Hi all !

 I want to do traffic accounting with a freebsd firewall.

 I configured a ipfw firewall with dummynet support.

 When I do: ipfw show the output show:

 0010025648 1869498 allow ip from 10.1.0.2 to any
 0020030115 3544967 allow ip from any to 10.1.0.2
 00300  325   18354 pipe 1 ip from 10.1.1.30 to any via rl1
 00400  452  444960 pipe 2 ip from any to 10.1.1.30 via rl1
 005001 229 pipe 3 ip from 10.1.1.31 to any via rl1
 006000   0 pipe 4 ip from any to 10.1.1.31 via rl1
 00700   815880 pipe 5 ip from 10.1.1.32 to any via rl1
 00800   364314 pipe 6 ip from any to 10.1.1.32 via rl1
 .
 65535 33030639 14936134258 allow ip from any to any

 A question: What means each column ?
 The third column is the traffic in this rule ?
 I not reboot my server, for example, in a month then I have the
 monthy traffic for this IP ?

 Thanks in advance

 roberto


 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]