PF - pfctl # pfctl -d Disable the packet filter. # pfctl -e Enable the packet filter. # pfctl -f /etc/pf.conf 载入 pf.conf 文件 # pfctl -nf /etc/pf.conf 解析文件,但不载入 # pfctl -Nf /etc/pf.conf 只载入文件中的NAT规则 # pfctl -Rf /etc/pf.conf 只载入文件中的过滤规则 # pfctl -sn 显示当前的NAT规则 # pfctl -sr 显示当前的过滤规则 # pfctl -ss 显示当前的状态表 # pfctl -si 显示过滤状态和计数 # pfctl -...
by zbhdpx - BSD文档中心 - 2008-09-02 15:08:09 阅读(1619) 回复(0)
www# pfctl -f /etc/pf.conf pfctl: DIOCOSFPFLUSH: Operation not permitted 为什么啊?
op bsd4.4 pfctl: DIOCADDALTQ: Cannot allocate memory ________ 好像4.5版的也没有修下这个问题 能解决吗. http://atet-blog.blogspot.com/2008/12/altq-pfctl-diocaddaltq-cannot-allocate.html
小弟最近才开始用pf做nat pfctl -si 所显示的参数是什么意思不懂,请大侠指点 pfctl -si Status: Enabled for 0 days 10:13:23 Debug: Urgent Hostid: 0x950f0d25 State Table Total Rate current entries 25769 searches 287399880 7809.1/s inserts 2379359 ...
请问一下,我在pf上设置了三个参数, set limit states 1000000 set limit frags 100000 set limit src-nodes 100000 想问下如何能查看这三个参数实际用了多少??用pfctl如何看,谢谢!
Interface Stats for fxp0 IPv4 IPv6 Bytes In 6894897584 0 Bytes Out 18285363895 208 Packets In Passed 11672566 0 Blocked 178702 0 Packets Out Passed 15431832 0 Blocked ...
一个关于PF authpf的问题就这样解决了^_^ /usr/src/UPDATING [quote]20050503: The packet filter (pf) code has been updated to OpenBSD 3.7 Please note the changed anchor syntax and the fact that authpf(8) now needs a mounted fdescfs(5) to function. [/quote] # man fdescfs [quote] FDESCFS(5) FreeBSD File Formats Manual FDESCFS(5) NAME fdescfs ...
iptables 有没有对应的 pfctl -ss Show the current state table linux 下面。
pfctl -t
RT [quote] self tcp 192.168.x.y:2219 -> 222.91.xxx.148:62749 -> 66.249.89.99:80 ESTABLISHED:ESTABLISHED self tcp 192.168.x.y:2207 -> 222.91.xxx.148:52568 -> 66.249.89.99:80 ESTABLISHED:ESTABLISHED self tcp 192.168.x.y:2212 -> 222.91.xxx.148:59563 -> 66.249.89.104:80 SYN_SENT:CLOSED self tcp 192.168.x.y:2209 -> 222.91.xxx.148:55331 -> 61.145.121.115:80 ESTABLISHED:ESTABLISHE...