So are there any ways to block facebook.com outside the facebook.com domain?
I need a souliton that's not "webbrowser related" - no Add-on, so e.g.: a Privoxy rule.
It would still not work on HTTPS sites, only on HTTP, ok, but I still need this rule, but I don't have a clue what it is. Does anybody has?
on a desktop PC/Fedora 15
So I don't want to block facebook.com. I just don't want that that e.g.: if there is a foo.org that has a
Assuming you have access to your firewall, You can just block Facebook's prefixes. You can find out their ASN from traceroute:
Which you can verify with tools such as these
Then you'd get their prefixes using a lookup service
You can then feed the prefixes into your firewall.
Of course, If I am a determined user, I could use any of the free proxies out there rendering this whole post moot.
One time-honored way of blocking access to remote sites is by putting "fake" entries (usually 127.0.0.1) in the hosts file.
In short, edit /etc/hosts and add entries like this: