3 ms·
On macOS, we got a port of OpenBSD pf (probably not up to date though). I've been able to convert hosts files to OpenBSD pf format in, when was it, 2002? What y
by Fnoord 7y ago
On macOS, we got a port of OpenBSD pf (probably not up to date though). I've been able to convert hosts files to OpenBSD pf format in, when was it, 2002? What you'd need to do is create an anchor. Perhaps there's a GUI for it as well for those who prefer. There's at least pfBlockerNG which basically does that for PfSense. [1] FWIW, all of this existed before Pi-Hole (or Raspberry Pi for that matter). IIRC there was also a converter script for hosts files to IPTables rules.
Is it possible to import such rules to Little Snitch? That's the go to firewall on macOS, though it is proprietary. There's also LuLu, a FOSS firewall for macOS. [2]
Now, from my memory, these block lists did cost quite some memory on a machine with 512 MB RAM. Even though it'd do dedup. What one could also do is build up a VPN with a remote server (in the cloud, or at home) and use say use WireGuard to have a secure connection while using a remote DNS on the VPN to get ads blocked.
[1] https://www.linuxincluded.com/block-ads-malvertising-on-pfsense-using-pfblockerng-dnsbl/ https://www.linuxincluded.com/block-ads-malvertising-on-pfse...
[2] https://github.com/objective-see/LuLu https://github.com/objective-see/LuLu
- salzig 7y agoOn the product page[1] of little snitch you‘ll find a mention of a „blocklist“ feature. [1] https://www.obdev.at/en/products/littlesnitch/index.html https://www.obdev.at/en/products/littlesnitch/index.html
- Fnoord 7y agoSweet, it was added in 4.1. Thanks for the heads up! I found this list (by Peter Lowe) for Little Snitch [1]. There's also a shell script to convert to Little Snitch rules [2] [1] https://pgl.yoyo.org/adservers/serverlist.php?hostformat=littlesnitch-rule-group-subscriptions&mimetype=plaintext https://pgl.yoyo.org/adservers/serverlist.php?hostformat=lit... [2] https://gist.github.com/SethCalkins/1ac3bee593b37067b489cd6e275b60ff https://gist.github.com/SethCalkins/1ac3bee593b37067b489cd6e...