ipfw3: filter from/to supports me/any/subnet
authorBill Yuan <bycn82@leaf.dragonflybsd.org>
Sat, 27 Jun 2015 13:38:17 +0000 (21:38 +0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Mon, 29 Jun 2015 03:02:23 +0000 (20:02 -0700)
commit63317b935350df5ae80ee49526b054d70d733e60
tree6101a752f120bb8d736c69749528eb3650160179
parent48c660dca13bef947db6babebea776ad7d586533
ipfw3: filter from/to supports me/any/subnet

usage:
ipfw3 add allow udp to any
ipfw3 add allow icmp from me
ipfw3 add allow icmp from 192.168.1.0/24
lib/libipfw3/basic/ipfw3_basic.c
sys/net/ipfw3_basic/ip_fw3_basic.c