Solved

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

Posted on 2006-06-28
6
1,573 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
  • 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
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Unix, date minus 1, 2 or 3 days (last working day) 11 66
How to Change Interface on Cisco IOU 11 109
Where to get php 5.6 for AIX 7.1? 5 108
unix in java example 9 70
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

765 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