Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-30-2004, 12:44 AM
|
#1
|
Member
Registered: Nov 2003
Distribution: Gentoo, Debian
Posts: 188
Rep:
|
netstat - Am I being attacked?
I recently ran netstat, and noticed a large amount of established connections to my computer. Please take in mind, that I am running a webserver, so some of that I can expect, but some of them are a little odd...One of the ip addresses links to some servotron host site... http://63.226.156.33/ and the message is a little unsettling. My question is, am I under some danger? Or is this just a common network situation? I was a little curious because the connections made were from odd port numbers, i.e. 3000's 5000's (not exactly in that precision (5326 for example)) and I was wondering why this would be. Any ideas? Thanks alot.
|
|
|
07-30-2004, 01:59 AM
|
#2
|
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290
|
Well when you connect to a Web server, you send a connection out from your computer too port 80 on the remote machine. The connection originates from some random high-numbered port on your machine. So it's not unusual to see connection FROM random, high number ports. If they're coming in TO random ports then it's significantly more worrisome. In any case, it's always a good idea to do some investigation of what's going on. You may be being DOSed if there is a very large number of connections. But in any case, check the usual suspects, i.e. look for strange log entries, run chkrootkit and rkhunter, etc. This isn't a foolproof method of detecting an intrusion but it will maybe give you some things to look at.
|
|
|
07-30-2004, 09:38 AM
|
#3
|
Member
Registered: Apr 2003
Location: Silicon Valley East, Northern Virginia
Distribution: FreeBSD,Debian, RH, ok well most of em...
Posts: 238
Rep:
|
in your netstat can you map ip request to 80 and it's response on random port? That way you differentiate between legitimate traffic versus some other scenario.
|
|
|
07-30-2004, 02:34 PM
|
#4
|
Member
Registered: Nov 2003
Distribution: Gentoo, Debian
Posts: 188
Original Poster
Rep:
|
Thanks for the replies...Is something like this of worry?
Code:
tcp 0 1 192.168.2.18:4429 1.2.3.4:4400 SYN_SENT
There are a lot less connections now then last night...thanks.
|
|
|
08-02-2007, 06:58 AM
|
#5
|
Member
Registered: Dec 2005
Location: The most beautiful city in the world.
Distribution: Mostly RedHat. Also Suse, Ubuntu, PHLAK etc.
Posts: 149
Rep:
|
This might be old, but found this from here:
|
|
|
All times are GMT -5. The time now is 08:32 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|