Re: What are these ports?
From:Date: 10/30/02
- Next message: Mike: "Re: What if..."
- Previous message: : "Re: Systems behind NAT - port scanning etc."
- In reply to: DX: "What are these ports?"
- Next in thread: Tracker: "Re: What are these ports?"
- Reply: Tracker: "Re: What are these ports?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 30 Oct 2002 11:14:52 GMT
On Tue, 29 Oct 2002 22:37:28 -0800, DX wrote:
> When i use "nmap" program do a port scan on my own Linux web server i find
> these three entries that i don't recognize:
>
> 111/tcp open sunrpc
Bad.
> 1024/tcp open kdm
Bad.
> 8009/tcp open ajp13
Quite possibly bad.
> I am running Redhat Linux.
http://www.redhat.com/solutions/security/techdocs.html
> 1).Does anyone know what these three ports are? Could you tell me briefly
> what they do?
sunrpc is the RPC portmapper, it is needed when running services such as
NFS, YP and similar. Switch it off, or close the port with iptables.
kdm is a graphical login thingy; KDE Display Manager, which has no business
on a web server. Shut it down and uninstall.
8009 could be lots of exciting things, including a backdoor left behind by
system crackers. Try 'lsof -Pi | grep LIST | grep 8009'.
> 2). Are they enabled by default?
111, yes. 1024 only if you do a 'workstation' install, I guess. 8009
is rather impossible to tell, but probably not enabled by default.
> 3). Is it safe if i close these ports?
First two should have been closed before you connected this machine to
the internet. Close them now! Third is most likely also safe to close.
Actually, build a packet filter, both on your firewall/router and on the
web server itself, that only allows incoming requests to port 80 (443 if
needed), and ssh connections from trusted hosts only. No outgoing
connections at all.
> 4).How can i close them if i am running Redhat?
This is where I'd have to admit I have not used Redhat since 5.2, but
the URLs below might help.
- http://www.linuxsecurity.com/docs/LDP/ (wrapped)
Security-Quickstart-Redhat-HOWTO/index.html
- http://www.linuxworld.com/linuxworld/lw-1999-05/lw-05-ramparts.html
- Eirik
-- New and exciting signature!
- Next message: Mike: "Re: What if..."
- Previous message: : "Re: Systems behind NAT - port scanning etc."
- In reply to: DX: "What are these ports?"
- Next in thread: Tracker: "Re: What are these ports?"
- Reply: Tracker: "Re: What are these ports?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|