Solved

Internet Communications ...

Posted on 2004-04-12
6
205 Views
Last Modified: 2010-04-17
Hi all,
I consider this quite a challenge. But ofcourse, can be done -- but I will require quite a bit of help:

Here's what I want to do:
*Create a program that allows someone else (on another computer, else-where), with another (self-made) program to disconnect me from the internet.

Here's WHY I want to do it:
*I'm on dial-up, and therefore have to use the phone line here to go on the internet (which stops people from being able to contact us.) There has been a few occations in which my brother/myself have been online -- and someone has been trying to phone us, often about something important. As a result, I would like to give people that I can trust, the capabilities to disconnect me from the internet -- from another computer over the internet.

Here's HOW I want to do it:
*I'm open for any other ideas. But, thought that I need to make a contribution to the actuall creation of this..
I thought, perhaps have my computer run a server socket.
And give the 'trust-worthy comrade', a program that runs as a client socket. Which will connect to my computer, giving some sort of password (for obvious security reasons). My server socket will accept this connection -- and if the correct password is given, then the program (running the server socket) will disconnect my computer.

Incase the above didn't make much sence, I've kinda created some 'pseudocode', to explain it a bit better:

Server Socket:
--------------
*listen for a connection.
*if a connection is discovered, accept it.
*if the correct 'password' is given, then warn me (/user) that the computer will be disconnected in 2 minutes.
*if the internet is still connected after 2 minutes, then automatically disconnect, then loop back to the start. (else, close connection and loop back to the start).


Client Socket:
--------------
*connect to my computer.
*give 'password'/verification.
  // let the server socket do the rest.
*exit.

I know this will take quite a lot.
NOTE: I don't have LOADS of programming experience. But I do know 'enough' about networking.

Ofcourse, 20 points is not much (but is all I currently have). So, I shall add 5 points to this Q every day. I swear! (But please don't purposely drag the question out JUST for more points. lol.. that's evil! :o)

I'm looking forward to any input.

Robert.
(PS: Please don't say: "Just get another phone line. Or get broadband. lol.. I have my reasons not to do it this way. :P)
0
Comment
Question by:rubberdi
  • 3
  • 3
6 Comments
 
LVL 1

Expert Comment

by:MortimerCat
ID: 10809372
Your first problem is that as a dial up, your IP address will be different everytime you connect.  How will your client PCs know where to contact you?



0
 
LVL 1

Accepted Solution

by:
MortimerCat earned 20 total points
ID: 10809404
An alternative struck me as I pressed Submit.

Have you considered Windows Messenger or Yahoo Messenger.

http://messenger.yahoo.com/
or UK - http://uk.messenger.yahoo.com/

This allows you to talk to people online, and its Free. You can restrict it to friends.

If your phone is engaged, your caller logs onto the Internet and contacts you via Messenger instead. You do not even have to disconnect.



0
 

Author Comment

by:rubberdi
ID: 10811724
Hi MortimerCat,
Thanks for that. But my dad wouldn't use Messenger. And I don't like using it too often. I've decided that this whole idea of mine is stupid. And that I might as well end it here. Although you didn't actually solve the issue -- I'm gna give you the points, as I can't be bothered to request a refund.

Thanks nE way.

Robert.
0
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 

Author Comment

by:rubberdi
ID: 10811745
Actually, as you're here...
I don't suppose you know much about modems, do you??
You see, I have a rather new, 56K modem. And a very fast modem cable.
But for some reason, my computer don't connect to the internet at 56K/s.
It connects and runs at 45 - 46.6K/s! (Which is a bit gay. lol).
Any idea what is causing this problem, and how I can solve it?
(Note: My connection has always run at this speed).
Perhaps it's something at my ISPs end ... ?
--
Thanks,

Robert.
0
 
LVL 1

Expert Comment

by:MortimerCat
ID: 10811916
56K is a maximum speed, not a guaranteed speed.

When your Modem connects you hear it going whirrr, boing, buzz.etc. That is it trying out the quality of the line. It will then run at the highest speed suitable for the quality of the connection.

Someone between your modem and your ISP there is a section that cannot handle the top speed, although this is normal. No one I know manages a full 56K.  

You could try plugging in your modem into your Main Phone socket, and removing all extensions (eliminate problems of your own internal wiring).
You could even get the phone company to check the quality of your line, just in case there is a fixable problem.

Although in my experience, you will probably be stuck with that speed, until you move house, or go for broadband.


0
 

Author Comment

by:rubberdi
ID: 10813127
Hi again MortimerCat,
Thanks very much... You're the man!

Robert.
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now