How do I block Facebook without breaking web surfing?

Ori Idan ori-RdxWQVHs3mjDN57Tih+YPw at public.gmane.org
Wed Dec 28 10:08:00 UTC 2011


Out of curiosity, why block facebook?

-- 
Ori Idan

On Wed, Dec 28, 2011 at 9:20 AM, Walter Dnes <waltdnes-SLHPyeZ9y/tg9hUCZPvPmw at public.gmane.org> wrote:

>  Out of a bit of paranoia, I'm blocking Facebook and its "Like"
> buttons, on my machine.  Here are 3 snippets from my iptables rules
>
> -A INPUT -s 69.63.176.0/20 -j FECESBOOK
> -A INPUT -s 69.220.144.0/20 -j FECESBOOK
> -A INPUT -s 69.63.176.0/20 -j FECESBOOK
> -A INPUT -s 69.171.224.0/19 -j FECESBOOK
> -A INPUT -s 69.171.224.0/19 -j FECESBOOK
> -A INPUT -s 96.16.0.0/15 -j FECESBOOK
> -A INPUT -s 200.58.112.0/20 -j FECESBOOK
> -A INPUT -s 213.155.64.0/19 -j FECESBOOK
>
> -A OUTPUT -s 69.63.176.0/20 -j FECESBOOK
> -A OUTPUT -s 69.220.144.0/20 -j FECESBOOK
> -A OUTPUT -s 69.63.176.0/20 -j FECESBOOK
> -A OUTPUT -s 69.171.224.0/19 -j FECESBOOK
> -A OUTPUT -s 69.171.224.0/19 -j FECESBOOK
> -A OUTPUT -s 96.16.0.0/15 -j FECESBOOK
> -A OUTPUT -s 200.58.112.0/20 -j FECESBOOK
> -A OUTPUT -s 213.155.64.0/19 -j FECESBOOK
>
> -A FECESBOOK -j LOG --log-prefix "FECESBOOK:" --log-level 6
> -A FECESBOOK -j DROP
>
>  That works.  However, I've recently started running into a lot of web
> pages that simply refuse to load under Firefox+Opera with those IP
> addresses blocked.  w3m works on them, so I assume this is related to
> graphic elements, i.e. the "Like" button, or "Follow" links.  Any idea
> how I can block those ranges without webpages refusing to load?
>
> --
> Walter Dnes <waltdnes-SLHPyeZ9y/tg9hUCZPvPmw at public.gmane.org>
> --
> The Toronto Linux Users Group.      Meetings: http://gtalug.org/
> TLUG requests: Linux topics, No HTML, wrap text below 80 columns
> How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gtalug.org/pipermail/legacy/attachments/20111228/b696db45/attachment.html>


More information about the Legacy mailing list