File:  [NetBSD Developer Wiki] / wikisrc / projects / project / npf_improvements.mdwn
Revision 1.1: download - view: text, annotated - select for diffs
Mon Dec 10 14:31:53 2018 UTC (15 months, 4 weeks ago) by maya
Branches: MAIN
CVS tags: HEAD
Attempt to summarize IRC conversation with links that can be referenced
as a project.

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