firewall: use watch-outputs to track changes in zone->interface map

includes a horrible hack to work around (claimed (by me)) deficiencies
in the nftables parser
This commit is contained in:
Daniel Barlow
2025-02-28 00:43:20 +00:00
parent 929226ed9e
commit 6649ebeccd
7 changed files with 108 additions and 48 deletions

View File

@@ -17,6 +17,7 @@ while { $FINISHED < 10 } {
}
set FINISHED [ expr $FINISHED + 1 ]
}
expect "#READY#"
send "nft list set ip table-ip wan || touch /non/existent\n"
expect {
"ppp0" { puts "ppp0 found " }