LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices

Reply
 
LinkBack Search this Thread
Old 12-24-2011, 05:37 PM   #1
baronobeefdip
Member
 
Registered: Jul 2009
Distribution: Debian Squeeze
Posts: 904

Rep: Reputation: 32
view OpenBSD PF activity in real time


i want to know if it's possible to view OpenBSD's PF activity on screen. i want to be able to view the firewall's activity in real-time as in i want to be able to view which packets were passed and which ones were dropped (or one at a time in case i only want to view which packets were dropped) i want to know how to do this in FreeBSD since it's my BSD distro of choice
 
Old 12-25-2011, 11:38 AM   #2
coolsg5636
Member
 
Registered: Sep 2011
Location: Pune,India
Distribution: RHEL ,CentOS, Fedora
Posts: 100

Rep: Reputation: 24
Hello,

Check this link out..you might find it useful.

http://www.pfsense.org/index.php?opt...d=40&Itemid=43
 
Old 12-25-2011, 09:26 PM   #3
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Debian, FreeBSD
Posts: 3,739
Blog Entries: 5

Rep: Reputation: Disabled
For real-time display, I recommend the sysutils/pftop port.

Last edited by anomie; 12-25-2011 at 09:28 PM.
 
Old 12-26-2011, 09:02 PM   #4
gezley
Member
 
Registered: Sep 2009
Location: Ireland
Distribution: Slackware64, NetBSD, Salix
Posts: 319

Rep: Reputation: 96
Code:
tcpdump -n -e -ttt -i pflog0
Your rules of course need to have the log option included for the interface you want to watch. tcpdump can be filtered in many ways to restrict the realtime display further:

Code:
tcpdump -n -e -ttt -i pflog0 port 22
 
Old 12-28-2011, 11:10 AM   #5
bren.smith
LQ Newbie
 
Registered: Dec 2011
Posts: 1

Rep: Reputation: Disabled
Check out the man pages for both pfctl or the additional package pftop.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Real time info about disk activity. stf92 Linux - Newbie 3 02-18-2011 10:34 PM
How can my collegues view my CLI commands (including the output) in real time ? markraem Linux - General 1 09-25-2007 08:14 AM
LXer: Real-time garbage collection with Real-time Java LXer Syndicated Linux News 0 05-05-2007 12:16 PM
How to display "real time" view of process running in openSUSE 10.1 ramirez.alex Suse/Novell 6 02-27-2007 03:48 AM
LXer: Real-time Linux gains real-time JVM LXer Syndicated Linux News 0 10-12-2006 10:54 AM


All times are GMT -5. The time now is 08:28 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration