DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 5th May 2011
denta denta is offline
Shell Scout
 
Join Date: Nov 2009
Location: Sweden
Posts: 95
Default tcpprof on pflogs

Hello.
Before I start digging into the source, has anyone managed to get tcpprof (a cool little program that comes with the tcpstat package) to work on pflog files? Its working nicely on "normal" tcpdump-files, but just gives crap output on pflogs. Examples:

Code:
$ sudo tcpprof -S a -r blah.dmp                                               
Total Statistics:
        Total                    5987      2287005   100.0000 %
Link Statistics:
        Ethernet (IP):           5987      2287005   100.0000 %
IP Statistics:
        tcp                      5939      2281216   99.7469 %
        udp                      40        4557      0.1993 %
        esp                      8         1232      0.0539 %
Port Statistics:
        www (80)                 5939      2281216   99.7469 %
        44133                    1333      522246    22.8354 %
        47490                    1075      418259    18.2885 %
<snip>
Code:
$ sudo tcpprof -S a -r /var/log/pflog                                          
Total Statistics:
        Total                    188       30587     100.0000 %
Link Statistics:
        UNKNWON (non-IP):        188       30587     100.0000 %
IP Statistics:
Port Statistics:
Host Statistics:
Network Statistics:
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:45 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick