public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] blocking facebook
@ 2015-12-12  3:03 thelma
  2015-12-12  3:29 ` Willie M
                   ` (4 more replies)
  0 siblings, 5 replies; 14+ messages in thread
From: thelma @ 2015-12-12  3:03 UTC (permalink / raw
  To: Gentoo mailing list

Does anybody have an idea how to block facebook?

I'm using dd-wrt.  The "access restriction" can block http but not https
and I'm not good in iptables :-/
In addition users are using VirtualBox on the network as well.

-- 
Thelma


^ permalink raw reply	[flat|nested] 14+ messages in thread
* Re: [gentoo-user] blocking facebook
@ 2015-12-12  6:16 John Runyon
  0 siblings, 0 replies; 14+ messages in thread
From: John Runyon @ 2015-12-12  6:16 UTC (permalink / raw
  To: gentoo-user

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-user@c-14.de> wrote:

>On 15-12-11 at 20:03, thelma@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
>

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2015-12-14 16:53 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-12  3:03 [gentoo-user] blocking facebook thelma
2015-12-12  3:29 ` Willie M
2015-12-12  3:37   ` thelma
2015-12-12  3:54     ` Willie M
2015-12-14 16:52       ` pc0147 Sistemas Will_ecg
2015-12-12  4:05 ` Simon Thelen
2015-12-12  4:12   ` Simon Thelen
2015-12-12  4:23   ` thelma
2015-12-12  4:41     ` Dale
2015-12-12  6:29 ` waltdnes
2015-12-12 14:33   ` Andrew Savchenko
2015-12-12 10:45 ` Michael Schwartzkopff
2015-12-12 12:01 ` Alan McKinnon
  -- strict thread matches above, loose matches on Subject: below --
2015-12-12  6:16 John Runyon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox