LinuxQuestions.org
Visit Jeremy's Blog.
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 04-22-2003, 03:23 PM   #1
cli_man
Member
 
Registered: Apr 2002
Location: New York, USA
Distribution: Redhat 7.2, 9.0 Slackware 9.1
Posts: 428

Rep: Reputation: 30
Open Ports?


I have a server that I didn't know if I should be worried about these ports being open, I looked on google to see if I could find anything on them and I couldn't I didn't know if anyone here would know. I just ran nmap localhost -p 1-60000 and got the output below:

I need all of those open except for 922 and 50724, I can telnet into both of those ports and connect to them but I don't know how to tell what they are when I have connected to them.


Starting nmap V. 2.54BETA22 ( www.insecure.org/nmap/ )
Interesting ports on server.domain.com (127.0.0.1):
(The 59990 ports scanned but not shown below are in state: closed)
Port State Service
21/tcp open ftp
22/tcp open ssh
25/tcp open smtp
80/tcp open http
110/tcp open pop-3
111/tcp open sunrpc
143/tcp open imap2
922/tcp open unknown
3306/tcp open mysql
50724/tcp open unknown


Nmap run completed -- 1 IP address (1 host up) scanned in 4 seconds

Last edited by cli_man; 01-01-2004 at 07:29 PM.
 
Old 04-22-2003, 04:44 PM   #2
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
Try netstat -at as root to see if you can figure out what they are. If that doesn't work then try addin the -p option to get PID#'s. You can then use the ps PID# command to see who owns it.
 
Old 04-23-2003, 08:12 AM   #3
cli_man
Member
 
Registered: Apr 2002
Location: New York, USA
Distribution: Redhat 7.2, 9.0 Slackware 9.1
Posts: 428

Original Poster
Rep: Reputation: 30
Ok that helped alot, now for my next question, the ports are both for rpc:

50724 - rpc.mountd
922 - rpc.quotad

What would these be used for, I am using that server as a nfs server, and I think that is where they came from. I just don't like seeing ports open that I don't know what they are.
 
Old 04-23-2003, 10:05 AM   #4
nakkaya
LQ Guru
 
Registered: Jan 2003
Location: Turkey&USA
Distribution: Emacs and linux is its device driver(Slackware,redhat)
Posts: 1,398

Rep: Reputation: 45
http://lists.gpick.com/portlist/portlist.htm
 
  


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:33 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