iptables & xt_bpf

判斷 iptables 是否支援 xt_bpf

cat /proc/net/ip_tables_matches

會出來類似像這樣東西,查查看有沒有bpf

$ cat /proc/net/ip_tables_matches
state
conntrack
conntrack
conntrack
set
set
set
set
set
udplite
udp
tcp
icmp

如果沒有,enable bpf module

modprobe xt_bpf

Share Comments
comments powered by Disqus