The Phorum
May 26, 2012, 09:35:53 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Spoon.
 
   Home   Help Search Calendar Login Register PhAQ  
Pages: [1]
  Print  
Author Topic: Passive/Aggressive Website Blocking  (Read 261 times)
bloop
Phorum Phenomenon
***********
Posts: 7220



View Profile
« on: August 03, 2011, 11:15:55 AM »

(There are some sites you'd like to turn on and off like a faucet, and you don't want the target aware :P)

A question, probably for Vlad. Is it possible to block a website without using the hosts file (because that is super obvious) such that trying to browse there leads to the "page not found" page as if the website is down? I'm using opendns on my home network, if that is at all helpful, and I know how to block a domain there, but it will go to a domain blocked page which isn't as sneaky as I'd like.

If it's only possible with the hosts file, I'll hear that, too. If it's not possible.  Cry
Logged

Enjoy our pub. user/pw: thephorum

Follow me on Grooveshark or Spotify. username: iceybloop
Vlad!
Mighty Armored Assault Duck
Administrator
Phorum Phenomenon
***********
Posts: 10696


I'm on a duck!


View Profile WWW
« Reply #1 on: August 03, 2011, 12:22:16 PM »

I'm assuming you're running Windows, which I'm not super familiar with these days. There may be some software which does this exact thing.

You could do this in a couple of ways. The first is by running a proxy. There are some lightweight proxies you can run on your local computer (I think there was one called Proximotron back in the day which worked on Windows), or you could create a proxy server for your entire network (Squid proxy server is generally well-regarded, I believe). The proxy would likely have settings for filtering you can use.

Another way would be to run your own local DNS server. If you have a nice router (or a junky Linksys router running Tomato or DD-WRT), your router may be able to do this for you. You can also just set up a DNS server on a local box and modify all your other computers' settings to point to it first. If you distribute your DNS server settings via DHCP this should be easy, as you would just add your local box as the primary DNS. Then on your server you would configure it to act as the authoritative nameserver for www.example.com or whatever you're trying to block and return an address in the local block which is not in use.

I don't know if either of these solutions let you turn sites on and off "like a faucet", but they're the ones I came up with off the top of my head.
Logged

If you don’t have freedom as a principle, you can never see a reason not to make an exception. There are constantly going to be times when for one reason or another there’s some practical convenience in making an exception.
rms
bloop
Phorum Phenomenon
***********
Posts: 7220



View Profile
« Reply #2 on: August 03, 2011, 12:31:47 PM »

Yeah, I'm running Windows XP Pro.

My router is positively Byzantine in setup. It's a Westell made for Verizon (7500, I think, but everytime I see a guide on their software, it looks nothing like what I'm looking at).
Logged

Enjoy our pub. user/pw: thephorum

Follow me on Grooveshark or Spotify. username: iceybloop
Vlad!
Mighty Armored Assault Duck
Administrator
Phorum Phenomenon
***********
Posts: 10696


I'm on a duck!


View Profile WWW
« Reply #3 on: August 03, 2011, 02:33:23 PM »

I had one of those Westells back in the day, and it was complete garbage. It's what prompted me to build my own router (the OpenBSD box booting off a CF card and running pf, which I use to this day).

You can either get a better router and then DMZ the Westell to the good router or you can just go with one of the other solutions.
Logged

If you don’t have freedom as a principle, you can never see a reason not to make an exception. There are constantly going to be times when for one reason or another there’s some practical convenience in making an exception.
rms
murlough23
Phorum Phenomenon
***********
Posts: 13587


I'm different.


View Profile WWW
« Reply #4 on: September 22, 2011, 02:46:38 AM »

See, when I saw this thread title, I thought it was about websites that you know you should just block, but instead, you can't resist viewing them and leaving snide backhanded compliments behind.
Logged
Vlad!
Mighty Armored Assault Duck
Administrator
Phorum Phenomenon
***********
Posts: 10696


I'm on a duck!


View Profile WWW
« Reply #5 on: September 22, 2011, 10:01:46 AM »

Stop talking about CMC like that.
Logged

If you don’t have freedom as a principle, you can never see a reason not to make an exception. There are constantly going to be times when for one reason or another there’s some practical convenience in making an exception.
rms
Aaron
Phorum Phenomenon
***********
Posts: 4372


View Profile
« Reply #6 on: September 22, 2011, 11:37:05 AM »

Stop talking about CMC like that.

win
Logged
murlough23
Phorum Phenomenon
***********
Posts: 13587


I'm different.


View Profile WWW
« Reply #7 on: September 22, 2011, 12:01:57 PM »

See? We're such experts at passive/aggressiveness around here.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.16 | SMF © 2006, Simple Machines