Solved

netstat showing some strange connections, how can I stop the connection

Posted on 2006-06-28
6
1,574 Views
Last Modified: 2013-12-27
MY solaris web server is showing some strange connections when using "netstat -a" a lot of IP's coming from Bejing China with the state being "TIME_WAIT". How can I disconect these?
0
Comment
Question by:mslibrarycommission
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 12

Expert Comment

by:stefan73
ID: 17008447
Hi mslibrarycommission,
You can't, they will disconnect automatically. You may want to reconfigure your firewall if you dislike visitors from Bejing, though.
Enjoy,

Stefan
0
 
LVL 10

Expert Comment

by:Nukfror
ID: 17009917
There is nothing strange about a TIME_WAIT connection.  Its perfectly normal.  As stefan73 suggested, they will go away on their own.  This is a short description of what the TIME_WAIT state is:

http://www.unixguide.net/network/socketfaq/2.7.shtml
0
 
LVL 1

Author Comment

by:mslibrarycommission
ID: 17010145
SO, the ONLY way to refuse or drop that connection is at the firewall?
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 10

Expert Comment

by:Nukfror
ID: 17011862
Yes, firewall is the best way.
0
 
LVL 1

Author Comment

by:mslibrarycommission
ID: 17012382
I know it's the best way , but I woould like to know how to do it on the Solaris box.
0
 
LVL 10

Accepted Solution

by:
Nukfror earned 500 total points
ID: 17013710
Firewall on the Solaris box ?  If you are using Solaris 10, it comes with IPFilter.  Solaris 9 and below work very nicely with IPFilter added.

http://coombs.anu.edu.au/~avalon/
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
sed -- search an replace multiple pattern 11 101
pauing printer deamon in AIX 10 66
LastLogonTimeStamp Attribute 7 49
how to send mail in unix 2 21
Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

733 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