diff options
author | ae <ae@FreeBSD.org> | 2017-04-03 07:30:47 +0000 |
---|---|---|
committer | ae <ae@FreeBSD.org> | 2017-04-03 07:30:47 +0000 |
commit | f2b9d4d15428a360ba4692447f87aa3b7c7b4d83 (patch) | |
tree | d7f7d2e6e8bfe558219f475ea846398176717c43 /sys/modules/ipfw_nptv6 | |
parent | 8f3f0abee7d29f21741ec48bf8c0646268c4d3aa (diff) | |
download | FreeBSD-src-f2b9d4d15428a360ba4692447f87aa3b7c7b4d83.zip FreeBSD-src-f2b9d4d15428a360ba4692447f87aa3b7c7b4d83.tar.gz |
MFC r303012:
Add ipfw_nptv6 module that implements Network Prefix Translation for IPv6
as defined in RFC 6296. The module works together with ipfw(4) and
implemented as its external action module. When it is loaded, it registers
as eaction and can be used in rules. The usage pattern is similar to
ipfw_nat(4). All matched by rule traffic goes to the NPT module.
Reviewed by: hrs
Obtained from: Yandex LLC
Relnotes: yes
Sponsored by: Yandex LLC
Differential Revision: https://reviews.freebsd.org/D6420
MFC r304049:
Add `stats reset` command implementation to NPTv6 module
to be able reset statistics counters.
Obtained from: Yandex LLC
Sponsored by: Yandex LLC
MFC r304076:
Make statistics nat64lsn, nat64stl an nptv6 output netstat-like:
"@value @description" and fix build due to -Wformat errors.
MFC r314507:
Fix NPTv6 rule counters when one_pass is not enabled.
Consider the rule matching when both @done and @retval values
returned from ipfw_run_eaction() are zero. And modify ipfw_nptv6()
to return IP_FW_DENY and @done=0 when addresses do not match.
Obtained from: Yandex LLC
Sponsored by: Yandex LLC
Diffstat (limited to 'sys/modules/ipfw_nptv6')
-rw-r--r-- | sys/modules/ipfw_nptv6/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/modules/ipfw_nptv6/Makefile b/sys/modules/ipfw_nptv6/Makefile new file mode 100644 index 0000000..a3cf004 --- /dev/null +++ b/sys/modules/ipfw_nptv6/Makefile @@ -0,0 +1,8 @@ +# $FreeBSD$ + +.PATH: ${.CURDIR}/../../netpfil/ipfw/nptv6 + +KMOD= ipfw_nptv6 +SRCS= ip_fw_nptv6.c nptv6.c opt_ipfw.h + +.include <bsd.kmod.mk> |