[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbsd-pf
Subject:    Re: can you help me measuring traffic using OpenBSD's pf?
From:       Cedric Berger <cedric () berger ! to>
Date:       2005-03-23 7:08:55
Message-ID: 42411607.8030408 () berger ! to
[Download RAW message or body]

Sean Kamath wrote:

>[In a message on Tue, 22 Mar 2005 22:52:58 +0100,
>  Steven Schubiger wrote:]
>  
>
>>On 22 Mar, Eugene M. Minkovskii wrote:
>>
>>    
>>
>>>I want to meashure incoming traffic and outgoing traffic
>>>separately, regardless of which side initiated the traffic.
>>>
>>>      
>>>
>># Excerpt from pf.conf, Options
>>
>>set loginterface
>>          Enable collection of packet and byte count statistics for the given
>>          interface.  These statistics can be viewed using
>>
>>                # pfctl -s info
>>    
>>
>
>Huh.  Didn't know about that.  Any idea about the amount of overhead
>it would incur?
>
"set loginterface" incur no overhead, because statistics are gathered 
for all
interfaces anyway all the time, with or without that knob.
Actually, you don't even need "set loginterface". You can grab all interface
stats using "pfctl -vvsI" or "pfctl -i <interface> -vvsI". Read pfctl 
manpage.
Cedric
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic