On Fri, 12 Dec 2025 18:10:33 +1100
David Gibson
Here's some patches starting to create a data structure to store more flexible (and eventually dynamically updateable) forwarding configuration.
So far this is just creating the data structures, not actually using them to drive the rest of the code, so it's not ready for merge (but the preliminaries in 1..2/5 could be merged if you like). Putting it out there for early review.
David Gibson (5): tcp: Remove extra space from TCP_INFO debug messages (trivial) conf, fwd: Move initialisation of auto port scanning out of conf() conf, fwd: Keep a table of our port forwarding configuration conf: Accurately record ifname and address for outbound forwards conf, fwd: Record "auto" port forwards in forwarding table
Applied up to 2/5, review of the rest will come in a bit. -- Stefano