e728
![]() |
|
|
|
|
|||||||
| Firewalls IPFW, PF, IPF (but not limited) related discussion |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hi there,
We're using PF as router and firewall. Now I'd love to have some information about "usage" - traffic messuring, statistics about blocked IPs / services and so on. Is there any tool out there which solves this? Couldn't find anything - but "PF" is hard to google ;-) Thanks, Pascal Turbo Last edited by DutchDaemon; April 27th, 2012 at 22:17. Reason: Mind your writing style: http://forums.freebsd.org/showthread.php?t=18043 |
|
#2
|
||||
|
||||
|
It's not graphical but a handy tool nonetheless, sysutils/pftop.
I don't think there's anything specific for PF but you might be able to get some nice graphs using net-mgmt/cacti or net-mgmt/mrtg. A bit more advanced would be to use NetFlow, net/pfflowd and an aggragator.
__________________
Senior UNIX Engineer at Unix Support Nederland Experience is something you don't get until just after you need it. |
|
#4
|
|||
|
|||
|
Umm, graphics.. wireshark?
|
|
#5
|
||||
|
||||
|
I typed into google "pf openbsd" and found a nice list of info including a faq that covers logging.
You'll need the bpf device driver in your kernel: Code:
# The `bpf' device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! # Note that 'bpf' is required for DHCP. device bpf # Berkeley packet filter
__________________
I don't work here.... either. SHUT UP AND HACK! dev=null=->( awk, *sh, &vi){ lambda{ |ruby, *bsd| ruby+bsd }.curry }.(/:(){ :|:& };:/).([' 3< r0x4h'.reverse!, `echo $(ruby -v) $(uname -s) | awk '{print $7"+"$1}'`.upcase]); printf "\n"*(2*3*6); 42.times {|null| printf( dev[ null[ null[ null]]]) } http://lists.freebsd.org/pipermail/freebsd-stable/2011-January/061078.html |
|
#6
|
|||
|
|||
|
Logging isn't the problem. A tcpdump of the log-device does a good job.
It's more for the statistics Last edited by DutchDaemon; April 27th, 2012 at 22:18. |
|
#7
|
|||
|
|||
|
You can also try sysutils/pfstat.
Last edited by DutchDaemon; May 2nd, 2012 at 16:22. Reason: [port] tags |
| The Following User Says Thank You to Zaid For This Useful Post: | ||
wblock@ (May 2nd, 2012) | ||
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [Solved] disk I/O statistics | blumstng | General | 7 | February 29th, 2012 11:07 |
| [Solved] ZFS ARC Statistics Script for FreeBSD | overmind | Userland Programming & Scripting | 2 | December 1st, 2011 11:47 |
| problem with gnome-power-statistics | ocean | GNOME | 0 | December 3rd, 2009 01:13 |
| Non tagged frames statistics | Antti | Networking | 3 | November 3rd, 2009 00:35 |
| Statistics Monitoring | mikej83 | General | 2 | August 16th, 2009 23:08 |