New answers tagged pf
You can, but you do not need to ban host names with pfctl. You can do it using /etc/hosts. In fact, that is the way I have been doing it for years. It is lighter on resources than pfctl, since you do not need to solve the names, nor inspect traffic. It has also the advantage of blocking all instances of a known name, since site names can resolve to several ...
The syntax I was using was for a newer version of PF, and in order to fix it I just upgraded to the latest version of OpenBSD.
Top 50 recent answers are included