LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 02-01-2002, 04:23 PM   #1
jstu
Member
 
Registered: Jan 2002
Distribution: slackware
Posts: 193

Rep: Reputation: 30
open ports


every once and a while when I run nmap I get a new open port its happened three times. then the port will close like 10 minutes later.The ports are 1400/tcp cadkey-tablet, I dont remeber the other 2 ports but the services where described as coda-srv and netview-aix-5. Does anyone know what these sevices are or atleast offer some kind of lead as to what is going on. I cant find anything on the internet.
Thanks in advance
 
Old 02-02-2002, 03:30 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Well, depends on where you're looking, try http://www.portsdb.org.

A way I use to locally see what's going on is to use "netstat -an (-A inet)" to see what's opened, and then using "lsof | grep TCP | grep (portnumber) to get the process Id (PID) of the app using that TCP socket, and correlate the PID with "ps ax -eo pid, args" | grep (PID) to show you what app is running using that port.
Ofcourse same goes for UDP or raw, just transmogrify(1) the greppings.

HTH
 
Old 02-02-2002, 02:53 PM   #3
jstu
Member
 
Registered: Jan 2002
Distribution: slackware
Posts: 193

Original Poster
Rep: Reputation: 30
thanks for the info. the other thing that was weird was that mysql had either shutdown or closed its connection because of to many failed connection attempts. I had to run mysqladmin flush -hosts to get it back up.
 
Old 02-05-2002, 11:38 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
If you suspect flooding by fake IP addresses you could add those ranges to your firewall config, or if they're legitimate addresses either to your firewall config and/or hosts.deny
 
Old 02-07-2002, 12:15 AM   #5
jstu
Member
 
Registered: Jan 2002
Distribution: slackware
Posts: 193

Original Poster
Rep: Reputation: 30
ya I just closed all the ports i am not using hopfully that will be fine.
thanks.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot Open Mail Server Ports 25, 110, and 220. Other Ports will open. Binxter Linux - Newbie 9 11-29-2007 02:03 AM
open ports on linksys, i have ssh open but thats it PlatinumRik Linux - Security 1 07-07-2005 10:38 AM
Open ports! WWMPCDD Linux - Networking 6 10-28-2004 09:29 PM
How to open ports? kaboom Linux - Networking 1 01-05-2004 05:23 PM
open ports nakkaya Linux - General 2 02-05-2003 03:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 02:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration