LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-30-2005, 11:39 PM   #1
moana
LQ Newbie
 
Registered: Jul 2005
Posts: 5

Rep: Reputation: 0
what is port 899?


I wanted to see what ports were open on my local box, and I ran nmap.

this was the result:
PORT STATE SERVICE
22/tcp open ssh
111/tcp open rpcbind
113/tcp open auth
899/tcp open unknown

what exactly is port 889? also, can i close the rpcbind and auth ports without affecting anything? if anything, i would want to leave SSH's port open.

Last edited by moana; 08-31-2005 at 12:54 AM.
 
Old 08-31-2005, 12:22 AM   #2
korozion
Member
 
Registered: Apr 2004
Location: Canada
Distribution: Debian
Posts: 124

Rep: Reputation: 15
Perhaps run something like netstat -lptn|grep 889 or even ss|grep 889 to see what's running there
 
Old 08-31-2005, 12:53 AM   #3
moana
LQ Newbie
 
Registered: Jul 2005
Posts: 5

Original Poster
Rep: Reputation: 0
ah, so that's how to find out what that is.... thanks!

# netstat -lptn|grep 899
tcp 0 0 0.0.0.0:899 0.0.0.0:* LISTEN 1141/rpc.statd

now, do i really need this port open?
 
Old 08-31-2005, 08:22 AM   #4
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
Actually in what you just found 1141 is the port in use - 889 is not the port in that line.

Rather than using netstat you should use lsof. It will show you process info for ports unlike netstat which just lets you know which ports are open.

lsof -i :889 (Note the colon) would show you what process has port 889 open.

Also 889 may be defined in your /etc/services file - look for something like udp/889 or tcp/889.

Once you determine what it is you can decide whether it should be open.
 
Old 08-31-2005, 08:23 AM   #5
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
My apologies - I should have said 899 instead of 889 in prior post.
 
Old 08-31-2005, 09:49 AM   #6
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
Sidebar
How to investigate ports & services

$ less /etc/services
http://www.chebucto.ns.ca/~rakerman/...ble.html#Table esp.
http://www.chebucto.ns.ca/~rakerman/...le.html#search
http://andrew.triumf.ca/cgi-bin/port

Answer ?
Your port 899 (it is 899 not 889, isn't it?) is not assigned by IANA, & I can find no other listed use for it including trojans.

Now you need to check out 'rpc.statd' -- man & Google are your friends. Then ask for clarifications here.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
PLESK [Solution] Change port to 23 (telnet) instead of default port 8443 x5452 Linux - Software 6 05-10-2009 05:58 AM
Using serial port card(PCMCIA) with IPAQ running Linux, can't find ttyS0 port d2army Linux - Laptop and Netbook 0 11-12-2005 08:07 PM
cannot SFTP to SUSE 9.2 box, port 22 open, can putty in though using same port. jgrady Linux - Networking 6 03-29-2005 08:44 AM
route locally generated traffic to ip:port to localhost:port maenho Linux - Software 2 03-11-2005 04:08 AM
--destination-ports port[,port[,port...]] KevinGuy Linux - Networking 1 03-16-2004 06:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:32 PM.

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