On Fri, 10 Apr 2026 11:02:46 +1000
David Gibson
This series makes a number of significant reworks to how we process forwarding options (-t, -u, -T and -U) in passt & pasta. This is largely motivated by moving towards being able to share this code with a configuration update tool. However, along the way it also enables some forwarding configurations that were technically possible with the forwarding table but couldn't be specified on the command line, in particular bug 180.
There is still a bunch of work needed to make the parsing code truly shareable with pesto, but this is a solid start.
v2: * Assorted minor changes based on Stefano's review, including * Explicitly state "guest or namespace" in the manpage * Clearer description of @rulesocks field * Worked around a gcc < 15 bug causing a false positive warning * Update man page and usage() for new capabilities * Additional patches moving rule parsing out of conf.c
I applied up to 14/23 as I had comments on patches after that one. I also have pending comments on 10/23 and 11/23 but I'm fairly sure they would need to be addressed in subsequent patches anyway (if at all). -- Stefano