On Tue, 21 Jul 2026 at 16:01, Sam via Shorewall-users < [email protected]> wrote:
> On 7/18/26 11:55 PM, Dave Kempe wrote: > > > Thanks Sam. Sorry I didn't know about this project. > > Dave, perhaps you have noticed but I also started a shorewall-nf project: > https://github.com/smith153/ShorewallNF > With docs at: > https://smith153.github.io/ShorewallNF/ > > The tests say everything is "working" but I have not tried running > the code outside of a VM. If you are truly running shorewall on customer > hardware, you are in a much better place to test the end product than I. > I am perfectly happy stopping development on my project and letting you > have the full lead as I haven't really put too much of my own time into > mine. > Yes we have a tonne (high hundreds) of shorewall setups we support for all sorts of different applications and networks. Where I did spend quite a bit of time though is the overall > architecture. So for your own consideration: > > I too went with python. I did not want to move away from Perl as I know > 10 years from now what ever I wrote in Perl would still be runnable. > Can't say the same with python but going with python would make it a > much more easy sell and ultimately that wins. > > The next decision I faced was what to do about ipv4 and ipv6. Should we > treat the two as purely separate like shorewall? Since nftables handles > both protocols, it seemed the right way to go was with one config and > one rules file which could configure both stacks. Not sure if that is > the direction you went, might be worth community feedback. > I did actually start with a single 'inet' table, however as we went on, I realised that was the wrong approach. Docker has its own table, and ipv6 and ipv4 having seperate tables made sense, particular as we wanted to get nft sets working. ipsets aren't the same in nftables, so nft sets have to be seperate and we ended up spliting into seperate tables due to this, docker and it just being easier to reason about. > > Next up was where to handle TC and overall network topology config. I > decided to offload that to systemd, which worked best for my current > setups since I'd already been fighting conflicts between Shorewall and > systemd anyway. Not sure if that's the right call for a dedicated > firewall hardware appliance, though. > > As much as I have come to appreciate systemd, it has already overreached in my grouchy old linux dude opinion. The deal here has to be drop-in 100% of existing setups are usable with either minimal translation to the nft world, or a loud warning at worse. So bugs that prevent migration will be attended to swiftly, as I can't have stuff breaking in the field. Truck rolls are expensive as they say. Happy to take any feedback, and please feel free to actually test it out! Dave
_______________________________________________ Shorewall-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-users
