[[!template id=project title="NPF improvements" contact=""" [tech-kern](mailto:tech-kern@NetBSD.org) [tech-net](mailto:tech-net@NetBSD.org) [rmind](mailto:rmind@NetBSD.org) """ category="networking" difficulty="medium" description=""" Improvements that can be done to NPF with reference to WIP code/descriptions: - ~~~Import [thmap](https://github.com/rmind/thmap), needed for [newer NPF](https://github.com/rmind/npf/)~~~ - [WIP dynamic NAT address and NETMAP](https://github.com/rmind/npf/pull/9) - Use of "any" ```map $ext_if dynamic any -> $ext_v4 pass family inet4 from $int_net```. needs a few syntactic fixes/wrappers (e.g. loading can just handle "any" here, since it's actually correct, just merely not supported by the syntax; you can replace it with 0.0.0.0, though) - traffic redirection, [1](http://www.netbsd.org/~rmind/npf_ext_route.c) [2](http://www.netbsd.org/~rmind/npfext_route.c) I think it just needs IPv6 handling and testing """ ]]