git: ipfw3: filter from/to supports me/any/subnet
Matthew Dillon
dillon at crater.dragonflybsd.org
Sun Jun 28 20:02:27 PDT 2015
commit 63317b935350df5ae80ee49526b054d70d733e60
Author: Bill Yuan <bycn82 at leaf.dragonflybsd.org>
Date: Sat Jun 27 21:38:17 2015 +0800
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
Summary of changes:
lib/libipfw3/basic/ipfw3_basic.c | 280 +++++++++++++++++++------------------
sys/net/ipfw3_basic/ip_fw3_basic.c | 109 ++++++++++++++-
2 files changed, 251 insertions(+), 138 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/63317b935350df5ae80ee49526b054d70d733e60
--
DragonFly BSD source repository
More information about the Commits
mailing list