LinuxQuestions.org
Register a domain and help support LQ
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
 
LinkBack Search this Thread
Old 09-11-2005, 06:16 PM   #1
rysio
LQ Newbie
 
Registered: Jan 2005
Distribution: Suse/Gentoo
Posts: 3

Rep: Reputation: 0
unknown service controling open port


I've used linux for a while now, but am a relative noob when it comes to security issues, and have run into a problem:

my proxy/file server for my home LAN crashed under fairly suspicious circumstances, so after a clean re-install i've decided to up the security as much as possible, starting with closing any unused ports, an nmap portscan reveals that an unknown service is using an open port.

PORT STATE SERVICE
22/tcp open ssh
111/tcp open rpcbind
113/tcp open auth
548/tcp open afpovertcp
###/tcp open unknown


How would I close this port? I am guessing that having such an open port is a huge security problem, and so appreciate any assistance.

-Rysio
 
Old 09-11-2005, 07:02 PM   #2
Matir
Moderator
 
Registered: Nov 2004
Location: Kennesaw, GA
Distribution: Ubuntu
Posts: 8,502

Rep: Reputation: 110Reputation: 110
First off... why are you hiding the port #? Knowing it might help us figure out the problem. Secondly, as root, run 'netstat -pantu'. This will show open ports and the process controlling the port.
 
Old 09-13-2005, 12:48 PM   #3
rysio
LQ Newbie
 
Registered: Jan 2005
Distribution: Suse/Gentoo
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks alot, this solved my problem... I found the process keeping the port open, the port was being used by rpc.statd
Thanks again
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I start ftp service and check if port open? quintan Linux - Software 1 11-24-2005 05:33 AM
unknown port allways open :\ mebae Slackware 7 06-06-2005 06:37 PM
strange service running ... open port shadow.blue Slackware 12 04-16-2004 05:42 PM
nmap shows port 21 open, but no ftp service running ? epoo Linux - Networking 3 12-21-2003 08:16 PM
Unknown Open Port _boris_ Linux - Security 2 12-20-2000 11:27 PM


All times are GMT -5. The time now is 04:47 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration