File:  [NetBSD Developer Wiki] / wikisrc / projects / project / npf_improvements.mdwn
Revision 1.4: download - view: text, annotated - select for diffs
Mon Dec 17 20:30:49 2018 UTC (11 months, 2 weeks ago) by maya
Branches: MAIN
CVS tags: HEAD
one down (so more people are aware of status...)

[[!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
"""
]]

CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb