Date: Thu, 17 Aug 2006 22:49:50 +0000 (UTC) From: Julian Elischer <julian@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netinet ip_fw.h ip_fw2.c src/sbin/ipfw ipfw.8 ipfw2.c Message-ID: <200608172249.k7HMno9J001586@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
julian 2006-08-17 22:49:50 UTC
FreeBSD src repository
Modified files:
sys/netinet ip_fw.h ip_fw2.c
sbin/ipfw ipfw.8 ipfw2.c
Log:
Allow ipfw to forward to a destination that is specified by a table.
for example:
fwd tablearg ip from any to table(1)
where table 1 has entries of the form:
1.1.1.0/24 10.2.3.4
208.23.2.0/24 router2
This allows trivial implementation of a secondary routing table implemented
in the firewall layer.
I expect more work (under discussion with Glebius) to follow this to clean
up some of the messy parts of ipfw related to tables.
Reviewed by: Glebius
MFC after: 1 month
Revision Changes Path
1.192 +16 -2 src/sbin/ipfw/ipfw.8
1.93 +44 -9 src/sbin/ipfw/ipfw2.c
1.107 +2 -0 src/sys/netinet/ip_fw.h
1.143 +23 -7 src/sys/netinet/ip_fw2.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608172249.k7HMno9J001586>
