Hi all,
A system that works pretty well for Windows (i.e to block auto-updates or stop programs with DRM from working*) is to block everything (in and out) and only allow through a single program that I use (such as Firefox, CoreNetworking-DHCP, CoreNetworking-DNS).
I was wondering if I can use a similar system for FreeBSD (even though programs don't auto-update or have DRM). My knowledge of pf is extremely limited but something like
/etc/pf.conf
Does anyone else do similar? Does anyone see security issues with this (other than Firefox potentially doing random things)?
Thanks
*So I can pinpoint them and find a suitable "fix".
A system that works pretty well for Windows (i.e to block auto-updates or stop programs with DRM from working*) is to block everything (in and out) and only allow through a single program that I use (such as Firefox, CoreNetworking-DHCP, CoreNetworking-DNS).
I was wondering if I can use a similar system for FreeBSD (even though programs don't auto-update or have DRM). My knowledge of pf is extremely limited but something like
/etc/pf.conf
Code:
udp_services = "{ dhclient, dns }"
tcp_programs = "{ /usr/local/bin/firefox }"
block in all
block out all
pass proto udp to any port $udp_services keep state
pass out $tcp_programs keep state
Does anyone else do similar? Does anyone see security issues with this (other than Firefox potentially doing random things)?
Thanks
*So I can pinpoint them and find a suitable "fix".