It is currently Tue Jul 16, 2019 4:49 am


All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: strange counter with Olive
PostPosted: Tue Sep 06, 2011 11:43 am 
Offline

Joined: Sun Jul 03, 2011 10:23 am
Posts: 4
I had a strange problem. My counter always return double the real value
I appreciate any suggestion or explain :-)

2 olive(qemu) is connected directly, running 9.1S, r24(em3) ---(em0)r25
with the below config for an packet counter on em0 of r25, I always get following result:

from r24, ping to loopback0 of r25
r24.as2> ping 10.0.0.5 count 1
PING 10.0.0.5 (10.0.0.5): 56 data bytes
64 bytes from 10.0.0.5: icmp_seq=0 ttl=64 time=11.967 ms

result:
@r25.as2> show firewall counter count_packet filter intf_in

Filter: intf_in
Counters:
Name Bytes Packets
count_packet 168 2 <---- 2 packets !!!!

=================
term sample {
from {
protocol icmp;
icmp-type echo-request;
}
then {
count count_packet;
log;
sample;
accept;
}
}
term other {
then accept;
}
=================
term sample {
from {
protocol icmp;
icmp-type echo-request;
}
then {
count count_packet;
log;
sample;
accept;
}
}
term other {
then accept;
}
=====================




Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO