LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-17-2004, 09:07 AM   #1
drigz
Member
 
Registered: Apr 2004
Distribution: Gentoo ~x86
Posts: 407

Rep: Reputation: 30
Some port questions...


Here are some ports that I have open that I'm not sure about (the names are copied from nmap):

37/tcp open time
Is this necessary? Dangerous?

111/tcp open rpcbind
Again, necessary? Dangerous?

113/tcp open auth
Apparently this can be used to take down a SuSE box. Any risk on Slackware? And the previous questions as well.

705/tcp open unknown
What is this? Do I have a Linux trojan or something? There was a similar line to this last time I checked (i have restarted since then) except the port was 651. I am worried.

EDIT: I can telnet to it, but saying anything seems to make it disconnect:
drigz@ayro:~$ telnet localhost 705
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
help
Connection closed by foreign host.

EDIT: Apparently port 705 is for something called AgentX, but this may be coincidence, as I have no idea what that is.
http://www.networksorcery.com/enp/protocol/agentx.htm

EDIT: Perhaps it's something to do with VMware? That uses network connections... It's the only thing that I know I'm running that could be doing it...

Last edited by drigz; 06-17-2004 at 09:14 AM.
 
Old 06-17-2004, 09:42 AM   #2
SBing
Member
 
Registered: Mar 2004
Posts: 519

Rep: Reputation: 35
You could find out what is bound to the port by running (as root)

su
netstat -anp (all, numeric, programs)

As a rule, don't run daemons that you don't use yourself or don't want to server other people (obviously if you are behind a router it doesn't matter since I _assume_ you don't forward these ports)

So I advise you kill the stuff you don't use, I have no use for the ones you mention but you may do.

Start by editing rc scripts etc to stop stuff being run on startup etc

Good luck :)

Steve
 
Old 06-17-2004, 09:47 AM   #3
drigz
Member
 
Registered: Apr 2004
Distribution: Gentoo ~x86
Posts: 407

Original Poster
Rep: Reputation: 30
Well, I know that time and authand rpcbind are common programs. However, I'm not sure if they're necessary.

The 705 (the one I'm really worried about):
root@ayro:/home/drigz# netstat -anp | grep 705
tcp 0 0 0.0.0.0:705 0.0.0.0:* LISTEN 529/inetd

what does that mean?
 
Old 06-17-2004, 10:17 AM   #4
SBing
Member
 
Registered: Mar 2004
Posts: 519

Rep: Reputation: 35
I'm not at all familiar with inetd, have you looked at inetd.conf (or something like that) too see what programs it is set up to run?

I don't have inetd installed on the servers here so I can't really help you with that, hope someone else can

Steve
 
Old 06-17-2004, 10:28 AM   #5
drigz
Member
 
Registered: Apr 2004
Distribution: Gentoo ~x86
Posts: 407

Original Poster
Rep: Reputation: 30
root@ayro:/home/drigz# netstat -anp | grep 705
tcp 0 0 0.0.0.0:705 0.0.0.0:* LISTEN 529/inetd
tcp 0 0 127.0.0.1:35157 127.0.0.1:705 ESTABLISHED 5070/telnet
tcp 0 0 127.0.0.1:705 127.0.0.1:35157 ESTABLISHED 892/famd

got it - this is netstat with telnet connected to 705. so what is famd?

EDIT: here is it:
http://oss.sgi.com/projects/fam/
this looks like something i want - i just want to know why it need to keep a port open...

id still like info on the time, auth and rpcbind ports...

here is my progress on them:
auth is for something like identd - apparently generally used for mail. since i dont use mail on this, do i need it running?

rpcbind is the rpc portmapper. what does this do? do i need it? i can probably stop it with chmod -x /etc/rc.d/rc.portmap
i can stop auth and time by commenting them out in inetd.conf probably.

Last edited by drigz; 06-17-2004 at 10:31 AM.
 
  


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
Blocking PING and port 113 on SuSE and other Firewall Questions WarlockofVirgo Linux - Security 12 08-21-2004 01:28 PM
port questions spank Linux - Newbie 14 08-06-2004 04:06 PM
Haylo - help a newbie with firewall port questions linux_latino Linux - Security 7 12-10-2003 07:01 AM
More open port questions BajaNick Linux - Security 3 09-22-2003 07:04 PM
some port questions ... juanb Linux - Security 5 09-17-2003 01:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:55 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