| ▲ | iyn 4 hours ago | ||||||||||||||||||||||
What's everyone's experience with modern PF in production? Also, not to start a holy war, but what people think about modern PF vs nftables? I've only ever used nftables (and only in fairly simple scenarios) but I've always been curious about the PF side of the world. | |||||||||||||||||||||||
| ▲ | accrual 3 minutes ago | parent | next [-] | ||||||||||||||||||||||
I manage a pf.conf with about 400 rules across a dozen VLANs, I find it intuitive and even enjoyable to work on. It feels kinda like editing source code - there are some host, network, and port declarations at the top, a section for NAT and egress, then a section for each VLAN that contains the pass in/pass out rules. I tail the pflog0 interface in a tmux session so I can keep an eye on pass/block, and keep a handy function in my profile to make it easy to edit the ruleset and reload: | |||||||||||||||||||||||
| ▲ | mono442 3 hours ago | parent | prev [-] | ||||||||||||||||||||||
It's slower than nftables. | |||||||||||||||||||||||
| |||||||||||||||||||||||