I used to volunteer at the local high school. They would redirect both http and 
https through their content filter (I'm not sure how they worked around SSL 
warnings exactly - maybe just a wildcard certificate for *? I know it was 
signed by a CA they had generated and installed on every school computer).

Other than that the best you can hope for is preventing DNS from resolving it. 
Add to dnsmasq options on your router "-A /facebook.com/fbcdn.net/".

-A: Specify an IP address to return for any host in the given domains. Queries 
in the domains are never forwarded and always replied to with the specified IP 
address which may be IPv4 or IPv6. 
...
one or more domains with no address returns a no-such-domain answer, so 
--address=/example.com/ is equivalent to --server=/example.com/ and returns 
NXDOMAIN for example.com and all its subdomains.

-John
Sent from my phone

Simon Thelen <gentoo-u...@c-14.de> wrote:

>On 15-12-11 at 20:03, the...@sys-concept.com wrote:
>> Does anybody have an idea how to block facebook?
>The only way to blacklist facebook would be to create a whitelist and
>drop everything not on said whitelist.
>
>If you block DNS, they can use a different DNS server. If you block IP
>addresses they'll use a proxy/vpn. If you use deep packet inspection
>they'll use TLS or a VPN or an SSH tunnel.
>
>If you can control the systems so that they don't do any of the above,
>it's possible but you've admitted that you can't (unless you can
>control all the Virtualbox instances).
> 
>-- 
>Simon Thelen
>

Reply via email to