LinuxQuestions.org
Review your favorite Linux distribution.
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 09-15-2000, 04:05 PM   #1
_boris_
LQ Newbie
 
Registered: Sep 2000
Posts: 1

Rep: Reputation: 0

I'm having a problem closing ports. I _think_ the only remaining open ports are remnants from rpc services, but I'm not sure. Running nmap reveals only one open undesired port, 1024. Running rpcinfo reveals 1024 also. lsof and netstat, however, say nothing is using this port. Previously, I had a port (761?) open, that I manually killed, despite the fact I could not determine which service was using it. Does anyone know of anything that would keep 1024 open indefinately? And how do I permanently disable rpc/nfs on startup on a debian system?
 
Old 09-16-2000, 11:03 AM   #2
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,022

Rep: Reputation: 3751Reputation: 3751Reputation: 3751Reputation: 3751Reputation: 3751Reputation: 3751Reputation: 3751Reputation: 3751Reputation: 3751Reputation: 3751Reputation: 3751
To see what program is using the port type "netstat -anvp --inet" as root. In debian the startup scripts are in /etc/rc(runlevel).d, so you would probably want to remove rpc/nfs from the /etc/rc3.d directory.
 
Old 12-20-2000, 11:27 PM   #3
yuniarti
LQ Newbie
 
Registered: Dec 2000
Location: Indonesia
Posts: 7

Rep: Reputation: 0
try this to find what demon running :
host# lsof -i | more
you can kill services that unneeded using :
host# kill -9 (service.pid)
 
  


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
unknown service controling open port rysio Linux - Security 2 09-13-2005 12:48 PM
unknown port allways open :\ mebae Slackware 7 06-06-2005 06:37 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
unknown port 746 Linux~Powered Linux - Security 3 01-05-2005 10:37 AM
unknown ports open????? globeTrotter Linux - Security 12 09-25-2004 03:46 AM

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

All times are GMT -5. The time now is 07:47 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration