Unintentional connection!

Thread Tools Search this Thread
Special Forums IP Networking Unintentional connection!
# 1  
Old 08-18-2002
Unintentional connection!

I have been asking this question on several Mac community sites but never got a answer. I hope some of you UNIX gurus can provide me with the right kind of information Smilie

Why is my system calling my router and how can I prevent it?

I have a Power Mac QS 733 with MacOS 10.1.5 (as you already know under the Mac GUI Unix rules) and connect to internet via ISDN using DHCP with a Zyxel 100IH Router. My computer is the only one who is connected to the Routers hub. The idle timeout is set to 15 sec.

When I'm closing my connection (quitting all mail/web programs) the router times out and in a couple of seconds it's connect again 15 sec., times out and connect again 15 sec ....................... The only way to kill this behavior is to switch of the power to the router.

It's very annoying since I pay for the time I am online. Strange is, this is not happening all the time, but sometimes it's very frequently.

I used a sniffer program to view what's happening, when the Router connects the sniffer register the following source the three last digits is different for each connection. I believe is IP address of my computer but what is the last five digits?

If I reboot my computer it connects at the login but after that the router time out and will just idle. The problem only appears If I then connect to the net and then disconnect.

This behavior dosen't exist when I'm using a PC with Win 98/Win2k (shame on me) or mac OS 9.

As a newbie to Unix and not used to the terminal please advice me Smilie

Any help in this matter is highly appreciated.
# 2  
Old 08-19-2002
The 49204 is your local port. If you had a mainstream unix system you obtain a public domain program called lsof. Then the command "lsof -i :49204" would tell you who had that port open. But I don't know if you can get lsof for your mac. You need to get the ip address/port for the other side of the connection. Once we know that port number we can probably tell you with certainty what's going on. We also need to know which protocol is involved and you sniffer can probably tell you that. Since you descibe this as a "connection", I'm guessing that it's tcp.

Do you have a program called gated or routed running? If so that means you have configured your mac to be a router, something that is needed only if it is connected to several networks. If you do that, it must communicate with other routers, but not via tcp.
# 3  
Old 08-19-2002
Thanks for your reply!


lsof is in my system as you can see. When I'm doing the "lsof -i : 49208" nothing is happening as you see in the image.


Here is the sniffer program, I have closed my webbrowser and the Router has timed out (17:33:59).
The Router then connects to Versiontracker (time.17:34:09) "versiontracker.com" was the last site I visited.
This is what makes me cray, must be something in the system that keeps the request from versiontracker to connect Smilie


This is how the "Network preferens panel" looks.

I have non of the programs you mention installed.
# 4  
Old 08-19-2002
Your router's IP address is And that sniffer window only shows it sending out a few broadcasts.

You say "The Router then connects to Versiontracker (time.17:34:09)", but that's not what the sniffer shows. Your ip address is and so it had to be your box that established the connection.

Reproduce this situation and try
netstat -an | grep 49208

I'm betting that the socket in question will be in TIME_WAIT mode. If so, this is harmless and it will not cause packets to be exchanged with your router. TIME_WAIT just means that port 49208 has very recently been used in a connection, so it cannot be used again for awhile. That way if stray packets from the old connection come though late, they cannot screw up a new connection.

I can't tell why your box is opening a http connection to a recently visited site. Maybe you haven't shut down your browser after all. Maybe your brower forked to handle a pop-up ad or something.

Perhaps if asked those mac sites "why does my system seem to be opening http connections to some recently visited sites?", you might get a little further. Your original question, "Why is my system calling my router and how can I prevent it?" was more than a little off the mark.

If you do figure this out, please post back and let know what the final fix was.
# 5  
Old 08-19-2002
Since English is my second laungue and I'm a newbie to Unix maybe I did explain things a little unclear.

I will let you know if I solve the problem.

# 6  
Old 08-19-2002
Problem solved in the "network pref. pan." there is 4 options to choose from.
"Using DHCP with manual IP address"
"Using DHCP"
"Using BootP"

The default choice was "Using DHCP" this was automatically enabled when I installed Mac OSX 10.1.5, when changing to "Using DHCP with manual address" solved the problem.

"I drank a lot of Buds but I don't feel any Wiser"
# 7  
Old 08-20-2002
Oh no! Problem is back driving me crazySmilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Remote connection

How can we connect to remote computers with a bash script.? (1 Reply)
Discussion started by: diw10
1 Replies

2. UNIX for Dummies Questions & Answers

DB connection

hi Im unable to find how this script in conencting to DB and which DB and job is scheduled in TWS to run this script. Any sugggestion where to look for or how to get information. please find below part of script for DB conenction. ##### SET VARIABLES ################## rundate=`date... (1 Reply)
Discussion started by: saif2825
1 Replies

3. UNIX for Advanced & Expert Users

How keep running a program n an another computer via a connection ssh when the connection is closed?

Hi everybody, I am running a program on a supercomputer via my personal computer through a ssh connection. My program take more than a day to run, so when I left work with my PC I stop the connection with the supercomputer and the program stop. I am wondering if someone know how I can manage... (2 Replies)
Discussion started by: TomTomGre
2 Replies

4. AIX

IP connection

Hi, I have a server AIX 5.3 Few people have the root password and somebody used the root login to erase a file (command rm in the .sh_history of root). :mad: I would like to know if a file exist with what ip address has been connected. I want to find the guilty!!! :D Thanks guys (2 Replies)
Discussion started by: Castelior
2 Replies

5. Shell Programming and Scripting

db connection

Hi, I'm trying to write a script which will run a select on db. #!/usr/bin/ksh SQL_INPUT_FILE=file_name.sql SQL_OUTPUT_FILE=output.txt MANPATH=/usr/share/man:/opt/SUNWspro/man:/usr/local/man... (2 Replies)
Discussion started by: ozum
2 Replies

6. Solaris

PC-X connection

Hi all, I have just installed SunOS 10 at the first PC and exceed (pc-x server) at the second. I'm trying to connect to the first pc via exceed softvare. After entering login and pass, the exceed window immidiate close without any errors (if CDE or JDS has been chosen). Via exceed working just... (0 Replies)
Discussion started by: Marauder62
0 Replies

7. Solaris

Solaris 10 ftp connection problem (connection refused, connection timed out)

Hi everyone, I am hoping anyone of you could help me in this weird problem we have in 1 of our Solaris 10 servers. Lately, we have been having some ftp problems in this server. Though it can ping any server within the network, it seems that it can only ftp to a select few. For most servers, the... (4 Replies)
Discussion started by: labdakos
4 Replies

8. UNIX for Advanced & Expert Users

Connection reset by peer..closing connection

Hello I'm facing the above problem while doing a performance run. I've a script which I'm launching from my windows desktop using mozilla. The script will invoke backend action on a Solaris host which in turn feeds the records to a driver located on a linux box(Cent OS). What's happening is... (1 Reply)
Discussion started by: subramanyab
1 Replies

9. UNIX for Dummies Questions & Answers

ssh_exchange_identification: Connection closed by remote host Connection closed

Hi Everyone, Good day. Scenario: 2 unix servers -- A (SunOS) and B (AIX) I have an ftp script to sftp 30 files from A to B which happen almost instantaneously i.e 30 sftp's happen at the same time. Some of these sftp's fail with the following error: ssh_exchange_identification: Connection... (1 Reply)
Discussion started by: jeevan_fimare
1 Replies

10. SuSE

net connection

i have installed suse linux 10 ,but i am not able to connect to the internet.i am learning unix now. i am new to this operating system. (2 Replies)
Discussion started by: viswareddy.32
2 Replies
Login or Register to Ask a Question