git: ipfw3: show NAT records
Matthew Dillon
dillon at crater.dragonflybsd.org
Sun Jun 21 09:26:10 PDT 2015
commit 0fe3a974dbcfb1a4d1f68ae4eae14ec4650f49cb
Author: Bill Yuan <bycn82 at leaf.dragonflybsd.org>
Date: Sun Jun 21 21:49:29 2015 +0800
ipfw3: show NAT records
show all 'NAT records' which relate to the 'NAT config 1'
which is same as 'ip show nat translation' in CISCO routers.
usage:
ipfw3 nat 1 show state
Summary of changes:
sbin/ipfw3/ipfw3.c | 89 ++++++++++++++++++++++++++++++-
sys/net/ipfw3/ip_fw3.h | 4 +-
sys/net/ipfw3_nat/ip_fw3_nat.c | 58 +++++++++++---------
sys/net/ipfw3_nat/ip_fw3_nat.h | 13 +++++
sys/net/libalias/alias.h | 117 ++++++++++++++++++++++++++++++++++++++---
sys/net/libalias/alias_db.c | 111 --------------------------------------
6 files changed, 244 insertions(+), 148 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0fe3a974dbcfb1a4d1f68ae4eae14ec4650f49cb
--
DragonFly BSD source repository
More information about the Commits
mailing list