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

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?
LVL 1
mslibrarycommissionAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
NukfrorConnect With a Mentor Commented:
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
 
stefan73Commented:
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
 
NukfrorCommented:
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
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

 
mslibrarycommissionAuthor Commented:
SO, the ONLY way to refuse or drop that connection is at the firewall?
0
 
NukfrorCommented:
Yes, firewall is the best way.
0
 
mslibrarycommissionAuthor Commented:
I know it's the best way , but I woould like to know how to do it on the Solaris box.
0
All Courses

From novice to tech pro — start learning today.