PF 網管小工具 pftop
在安裝完 PF
防火牆後總覺得好像少了些甚麼?對了!就是少了網管部份,我們在 ipf 防火牆中,可使用 ipmon 及 ipfstats
兩個指令觀看 IP 及封包的資料統計,而 PF 中卻沒這樣的指令,沒關係問題總會有人想到解決的方式,還是老方式請教 Google
搜尋大師,結果果然找到了一個這樣的好工具 pftop。
Setps :
pftop
介紹:
Web
Site:http://www.eee.metu.edu.tr/~canacar/pftop/
Manual
page:http://www.eee.metu.edu.tr/~canacar/pftop/pftop.8.html
pftop
使用方式:
FreeBSD
的 ports 中已經有了 pftop 這個工具
#cd /usr/poerts
#make search "key=pftop"
Port:
pftop-0.4_1
Path: /usr/ports/sysutils/pftop
Info: Utility for real-time display of statistics for pf
Maint: mlaier@freebsd.org
#cd /usr/ports/sysutils/pftopcd
#make install
指令的使用
#pftop -i # 互動模式使用,健盤 1 ~ 8 都可使用
鍵盤 1 View: long
鍵盤 2 View: state
鍵盤 3 View: time
鍵盤 4 View: size
鍵盤 5 View: rules
鍵盤 6 View: label
鍵盤 7 View: speed
鍵盤 8 View: queue
Default
圖:

鍵盤 5
View: rules 圖:
