On Fri, 17 Apr 2026 15:05:09 +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.
v3: * Removed already merged patches * Further revisions based on Stefano's review, including * Improved example text in manpage and usage * More flexible rule dumping * Re-integrated conflict checking in fwd_rule_add()
Applied up to 6/11, with the nit in 3/11 reported by Laurent ("double space between ) and {") fixed. The rest looks good to me, minus pending comments (all from Laurent). -- Stefano