TODO.npf revision 1.8 1 Another TODO list is available here:
2
3 https://www.netbsd.org/~rmind/npf/__tasklist.html
4
5 ====== DOCUMENTATION ======
6
7 -- how to convert other packet filters to npf
8
9 -- add more examples
10
11 ====== NPFCTL ======
12
13 -- npfctl start does not load the configuration if not loaded.
14 It is not clear you need to reload first. Or if it loads it should
15 print the error messages. Or it should be called enable/disable since
16 this is what it does. It does not "start" because like an engine with
17 no fuel, an npf with no configuration does not do much.
18
19 -- although the framework checks the file for consistency, returning EINVAL
20 for system failures is probably not good enough. For example if a module
21 failed to autoload, it is probably an error and it should be reported
22 differently?
23
24 -- startup/stop script does not load and save session state
25
26 -- add algo for "with short"
27
28 -- implement "port-unr"
29
30 -- implement block return-icmp in log final all with ipopts
31
32 -- handle array variables in more places
33
34 ====== GENERAL ======
35
36 -- disable IPv4 options by default, and add a "allow-ip4opts" feature to
37 enable them
38
39 -- disable IPv6 options (IPPROTO_ROUTING, IPPROTO_HOPOPTS and IPPROTO_DSTOPTS)
40 by default, and add a "allow-ip6opts" feature to enable them
41
42 -- add an ioctl, similar to PF's DIOCNATLOOK and IPF's SIOCGNATL, and document
43 it so that it can be added in third-party software, like:
44 https://github.com/squid-cache/squid/blob/5b74111aff8948e869959113241adada0cd488c2/src/ip/Intercept.cc#L263
45
46 -- support IPv6 jumbograms
47
48 -- support large IPv6 options, as explained here:
49 http://mail-index.netbsd.org/tech-net/2018/04/08/msg006786.html
50 But it's not a big problem - perhaps we don't care at all.
51
52 -- add command line variables. See -D option in pf.
53
54 -- improve mss clamping, as explained here:
55 http://mail-index.netbsd.org/tech-net/2017/01/15/msg006224.html
56