 |
|
 |
|
|
 |
Need Help with a Networking Practical Joke |
 |
 |
|
|
11-16-04 07:46 AM
Hi group,
I have this friend who's always surfing the internet looking at
naugthy pictures, but feels incredibly guilty about it. His worst
nightmare is that his mother finds out about it. A classic case, I
guess.
Anyway, I'd like to pull a nasty little practical joke on him. What
I'd like to do is mirror his favourite skin sites, save them locally
and alter certain pages to feature a picture of his mother shouting
"Johnny! What are you doing?!". That'll freak him out.
Anyway, this is pretty complicated. I need to make him think he's
logging on to the internet, but he's actually logging on to some kind
of 'local internet', in which www.naughtythings.com resolves not to
the actual site, but to a folder on his local hard drive. Also, the
actual internet would have to be unavailable,so I need to make all
this work with the network cable unplugged.
I've been thinking about this, but I can imagine that this would
require at least an Apache server or equivalent and maybe a local DNS
server of some sort. Then, I'd need to make a 'network connection'
icon or something like that which points to this one-computer-version
of the internet.
The thing is, I have no idea how to do this. Can anyone please give me
some pointers on how to achieve this complicated joke (believe me,
it's worth it.)
Thanks in advance!
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: Need Help with a Networking Practical Joke |
 |
 |
|
|
11-16-04 12:46 PM
Philip Barlowe enlightened us with:
> I have this friend who's always surfing the internet looking at
> naugthy pictures, but feels incredibly guilty about it.
What's wrong with looking at pictures?
> Anyway, this is pretty complicated. I need to make him think he's
> logging on to the internet, but he's actually logging on to some
> kind of 'local internet', in which www.naughtythings.com resolves
> not to the actual site, but to a folder on his local hard drive.
Put a proxy server in between, and tweak some ACLs.
Sybren
--
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety labels off of everything and let the problem solve itself?
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: Need Help with a Networking Practical Joke |
 |
 |
|
|
11-16-04 07:26 PM
On 16 Nov 2004 01:14:45 -0800, Philip Barlowe wrote:
> Hi group,
> Anyway, I'd like to pull a nasty little practical joke on him. What
> I'd like to do is mirror his favourite skin sites, save them locally
> and alter certain pages to feature a picture of his mother shouting
> "Johnny! What are you doing?!". That'll freak him out.
>
> Anyway, this is pretty complicated. I need to make him think he's
> logging on to the internet, but he's actually logging on to some kind
> of 'local internet', in which www.naughtythings.com resolves not to
> the actual site, but to a folder on his local hard drive. Also, the
> actual internet would have to be unavailable,so I need to make all
> this work with the network cable unplugged.
My guess would be to put
127.0.0.2 naughtythings.com
in /etc/hosts
Then install the apache package on his box with all your changes.
System works normal until he selects naughtythings which connects him
the local web server.
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: Need Help with a Networking Practical Joke |
 |
 |
|
|
11-16-04 10:46 PM
Bit Twister wrote:
> On 16 Nov 2004 01:14:45 -0800, Philip Barlowe wrote:
>
>
>
> My guess would be to put
> 127.0.0.2 naughtythings.com
> in /etc/hosts
I think you may need: www.naughtythings.com
(having just tested it in my /etc/hosts - adding it as a synonym for this
machine it went to the local Apache server).
> Then install the apache package on his box with all your changes.
> System works normal until he selects naughtythings which connects him
> the local web server.
>
>
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: Need Help with a Networking Practical Joke |
 |
 |
|
|
11-18-04 07:46 AM
On Tue, 16 Nov 2004 16:05:29 GMT, Bit Twister
<BitTwister@localhost.localdomain> wrote:
>On 16 Nov 2004 01:14:45 -0800, Philip Barlowe wrote:
>
>
>My guess would be to put
>127.0.0.2 naughtythings.com
>in /etc/hosts
>
>Then install the apache package on his box with all your changes.
>System works normal until he selects naughtythings which connects him
>the local web server.
That sounds like something that would work. But the problem is, there
is a lot of naughty stuff on the 'net, and he certainly enjoys
variety. In fact, this prank will probably be ineffectual unless I
completely disallow him to connect to the Internet and hack something
up so that NO MATTER WHAT SITE he tries to access, it goes to my
version of the naughtythings site. He's not so much a computer whiz,
so he'll think that it's strange that google suddenly points to a porn
site, but he'll brush it off as "one of those strange things computers
do".
Is this possible? Can it be done to put something like "127.0.0.2 *"
(or something with a similar effect)?
Thanks again
Phil
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: Need Help with a Networking Practical Joke |
 |
 |
|
|
11-18-04 12:46 PM
On Thu, 18 Nov 2004 09:16:48 +0100, Philip Barlowe wrote:
> Is this possible? Can it be done to put something like "127.0.0.2 *"
> (or something with a similar effect)?
Not that I am aware of.
Besides Sybren's suggestion, you could get a copy of named source code,
modify it to always return the local web page address, compile and install i
t.
Setting here thinking about it, you could install the proxy server,
log sites, parse the log and use it to feed the ACL back to proxy server
or /etc/hosts file with site names.
I would guess using the proxy logs would be the easier route.
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: Need Help with a Networking Practical Joke |
 |
 |
|
|
11-18-04 10:48 PM
On Thu, 18 Nov 2004 11:44:36 GMT, Bit Twister
<BitTwister@localhost.localdomain> wrote:
>On Thu, 18 Nov 2004 09:16:48 +0100, Philip Barlowe wrote:
>
>
>Not that I am aware of.
>
>Besides Sybren's suggestion, you could get a copy of named source code,
>modify it to always return the local web page address, compile and install
it.
>
>Setting here thinking about it, you could install the proxy server,
>log sites, parse the log and use it to feed the ACL back to proxy server
>or /etc/hosts file with site names.
>
>I would guess using the proxy logs would be the easier route.
Taking a different route, would it be possible to force the Apache
server (or equivalent) to redirect any error status code to a
particular local page? Because if I then unplug the internet cable
from the computer, no matter what site he tries to access, it will
cause an error, thereby making the server redirect to the local page.
Would this work?
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: Need Help with a Networking Practical Joke |
 |
 |
|
|
11-19-04 07:46 AM
Philip -
On Thu, 18 Nov 2004 19:52:02 +0100, Philip Barlowe
<boofboofboof@hotmail.com> wrote:
>Taking a different route, would it be possible to force the Apache
>server (or equivalent) to redirect any error status code to a
>particular local page? Because if I then unplug the internet cable
>from the computer, no matter what site he tries to access, it will
>cause an error, thereby making the server redirect to the local page.
If iptables is running on the system, you could REDIRECT all outgoing
destination port 80 packets to the local system without interfering
with any other internet activity.
--
Ken
http://www.ke9nr.net/
[ Post a follow-up to this message ]
|
|
|
 |
|
|
|
|
Sponsored Links |
 |
 |
|
|
 |
All times are GMT. The time now is 02:17 AM. |
 |
|
|
 |
|
 |
|
|
 |
|
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
|
|
|
|
Medical and Health forum | Computer Games Reviews | Graphics design forum
|
 |
|
 |
|