I want to block all porn sites regardless of language or location. How can I do this?  I changed my /etc/hosts to do stuff like:  $ cat /etc/hosts|tail 127.0.0.1   xxx.com 127.0.0.1   badharampictures.net   But is there anything else I can do?
55037
I bought my kids a PC and installed 12.04 (Unity) on it.  The bottom line is, I want my children to use the computer unsupervised while I have confidence they cannot access anything inappropriate.  What I have looked at:  I was looking at Scrubit a tool which allows me configure my wifi router to block content and this solution would also protect my other PC and mobile devices.  This may be overkill as I just want the solution to work on one PC.    I also did some Google searches and came across the application called .  My experience of OSS is that the best solutions frequently never appear first on a Google search list and in this case I need to trust the methods therefore my question is very specific.   I want to leverage your knowledge and experience to understand What is the best way to restrict adult content on 12.04 LTS as this is important to me.  It maybe a combination of things so please don't answer this question "try this or that", then give me some PPA unless you can share your experience of how good it is and of course if there are any constraints.
31359
I want to block all packages from non-free, except for those that I  name explicitly. Currently, I have:  /etc/apt/sources.list :  deb http://ftp.us.debian.org/debian stable main contrib non-free   /etc/apt/preferences.d/non-free_policy :  Explanation: Disable packages from `non-free` tree by default Package: * Pin: release c=non-free Pin-Priority: -1   (The idea is, that I add an explicit stanza for every package I want from non-free.)  But it doesn't work:  root@silber:/etc/apt/preferences.d# apt-get -s install firmware-linux-nonfree Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut.        Statusinformationen werden eingelesen.... Fertig Die folgenden NEUEN Pakete werden installiert:   firmware-linux-nonfree 0 aktualisiert, 1 neu installiert, 0 zu entfernen und 0 nicht aktualisiert. Inst firmware-linux-nonfree (0.43 Debian:8.4/stable [all]) Conf firmware-linux-nonfree (0.43 Debian:8.4/stable [all])   What am I missing?
23446
How could I filter a single IP address or a range of IP addresses to prevent them from accessing my computer?  Examples:   Block 31.13.76.102 Block from 216.58.192.0 to 216.58.223.255 Block from 173.194.0.0 to 173.194.255.255 Block from 74.125.136.0 to 74.125.136.255   I would like to block them from accessing my computer without additionnal conditions.  I know that one can use iptables in this situation, but I am unaware of the exact syntax, how to make the changes permanent, and which command to run in order to launch the iptables service at startup. I also don't want to make mistakes that may break my access to the Internet.
14422
It worked for a while in the old configuration, but then stopped working for some reason.  Here is my /etc/hosts file from my Mountain Lion MacBook Air:  127.0.0.1 reddit.com www.reddit.com 127.0.0.1 facebook.com www.facebook.com ## # Host Database # # localhost is used to configure the loopback interface # when the system is booting.  Do not change this entry. ## 127.0.0.1       localhost 255.255.255.255 broadcasthost ::1             localhost fe80::1%lo0     localhost   This blocks Reddit,but not Facebook.   I've tried flushing the DNS cache for the machine ("sudo killall -HUP mDNSResponder"), the bowsers (FF and Chrome) and I've tried restarting the computer.   And I've moved the entries to the top of the file on the , but it didn't work before when it was at the bottom either. Each time it would block Reddit but not Facebook.
112709
Many of us need to deal with user input, search queries, and situations where the input text can potentially contain profanity or undesirable language. Oftentimes this needs to be filtered out.  Where can one find a good list of swear words in various languages and dialects?   Are there APIs available to sources that contain good lists? Or maybe an API that simply says "yes this is clean" or "no this is dirty" with some parameters?  What are some good methods for catching folks trying to trick the system, like a$$, azz, or a55?  Bonus points if you offer solutions for PHP. :)  Edit: Response to answers that say simply avoid the programmatic issue:  I think there is a place for this kind of filter when, for instance, a user can use public image search to find pictures that get added to a sensitive community pool. If they can search for "penis", then they will likely get many pictures of, yep. If we don't want pictures of that, then preventing the word as a search term is a good gatekeeper, though admittedly not a foolproof method. Getting the list of words in the first place is the real question.  So I'm really referring to a way to figure out of a single token is dirty or not and then simply disallow it. I'd not bother preventing a sentiment like the totally hilarious "long necked giraffe" reference. Nothing you can do there. :)
76230
On a Linux system, is there a way to block all in and outbound traffic unless it passes through the Tor network. This includes any form of IP communication, not just TCP connections. For example I want UDP to be completely blocked since it cannot pass through Tor.  I want this systems Internet usage to be entirely anonymous, and I don't want any applications leaking.  I realize this might be complicated because Tor itself needs to communicate with relay nodes somehow.
39499
I have a Drupal 7 website on a shared hosting account that uses an Apache server. It is getting continuously battered by spam bots who try to post junk comments and create fake accounts. What methods can I use to block them from accessing the site and/or doing any operations there.  Currently, I have the following modules installed to block and combat spam:  Spambot -   Spamicide -   Hashcash -   AntiSpam -   Cloudflare -   I tried installing Bad Behavior (), but there appears to be some error in its installation procedure.  I do not want to use captcha to block spambots.
116124
I've been trying to block ANY queries in my BIND server with no success.  I followed this post  which says that I can use minimal-responses but it doesn't work.  None of the answers fit my current configuration.  view world {     match-clients   { world-clients; };     allow-recursion { none; };     recursion       no;     allow-transfer  { key XXXXXX; };      minimal-responses yes;      forwarders      { };      include         "/etc/bind/world.conf"; };
27148
Currently, my website is under maintenance. I want to be the only person who's able to access/view the website online until I finish maintenance. How to set restrictions to others? I hate stalkers.
9277
I have web site being hosted on my computer, so that mysite.com is served from one of my machines. However, even though everyone else can access this site normally, if I type its name (or, indeed, any subdomain such as x.mysite.com), I can't get the site to show. Now, if I edit the hosts file to redirect mysite.com to 192.168.1.5, everything is fine.  However, this is not a viable solution because then I need to edit the hosts file on every machine on the network. So, my question: is there an easier way?
124134
I want to change my IP so that if anyone tries to track my location they can't find me. Is there a way to do this?  I know it is possible by changing IP address, but I don't have any idea how to do this. I am trying to download some torrents which are not available in my country.
48212
I am trying to see if I can have a specific Hosts file that only a Proxy Server application on my machine will use while the remainder of the machine uses the normal proxy server.  For example, I want to take (and this is JUST AN EXAMPLE) www.cnn.com and map it to 127.0.0.1. However, I only want this to happen when connected to a proxy server application running on my machine.  Then I would configure Firefox to use the Proxy Server while IE doesn't use the Proxy server.  Could I use something like Fiddler, Charles, or some other Proxy/Debugger and have only that application use a custom Hosts file?  Why? This allows me to compare the live web site with what I have developed locally. Trust me, I need the host name mapping for a reason. I'm using HTML from the live site with local CSS changes. I need to compare those CSS changes to what is in Production environment.
84660
I did a search and i found a link to my site... twice. They are exactly the same except one is www and the other is static. How do i tell google to ignore everything in my static domain?
57051
How can I determine or set the size limit of /etc/hosts? How many lines can it have?
114378
Is there a way to block all normal ftp traffic, and only allow the sftp protocol in sftp?  edit:  sorry my bad!  for secure ftp i must use the ftpes protocol...
8605
Someone has pointed their domain (www.bomberball.net) to the same IP as my domain (www.kapparate.com) , and Google is now showing the former when searching for Kapparate, rather than the latter. What's the best way to block requests coming from www.bomberball.net ?
83636
I know hot to block single tumblr blog with   127.0.1.1 something.tumblr.com   but I want to block entire tumblr. I tried 127.0.1.1 tumblr.com but it's not working.  Is there a way to do this?