Solved

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

Posted on 2006-06-28
6
1,569 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
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
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

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

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…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.

706 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

18 Experts available now in Live!

Get 1:1 Help Now