LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-15-2004, 09:39 AM   #1
shadow.blue
Member
 
Registered: Jan 2003
Distribution: gentoo (2.6.5-gentoo)
Posts: 73

Rep: Reputation: 15
strange service running ... open port


Hi,

I remember some weeks ago I closed all my ports on my system by disabling
any service, and when I use "nmap localhost" it shows me all ports closed.

But when I run it now, it shows :

PORT STATE SERVICE
754/tcp open krb_prop

That is pretty strange, cause I cant remember setting a service up for this port.

I searched my /etc/rc.d directory for a service, also inetd.conf but
I just cant find the line where it start this service.

My question: WTF?

I am running Slackware 9.1 kernel 2.6.0.

Hope you can help me, I dont like this!
 
Old 04-15-2004, 10:14 AM   #2
187807
Member
 
Registered: Oct 2003
Location: North Carolina, USA
Distribution: Slackware 11
Posts: 174

Rep: Reputation: 30
Looks like kerberos service? I don't know for certain but maybe this get's you in the right direction for your investigation.

http://www.google.com/linux?hl=en&lr...9-1&q=krb_prop
 
Old 04-15-2004, 10:22 AM   #3
shadow.blue
Member
 
Registered: Jan 2003
Distribution: gentoo (2.6.5-gentoo)
Posts: 73

Original Poster
Rep: Reputation: 15
I did that myself, but I just get results where a port list is shown and
that is just one of the thousands ports.

But no idea where to disable it...
 
Old 04-15-2004, 10:30 AM   #4
ferreter
Member
 
Registered: Oct 2002
Location: USA, IL
Distribution: Debian/Gentoo/Slack
Posts: 215

Rep: Reputation: 30
http://gd.tuwien.ac.at/opsys/linux/l.../network/#lsof

take a look over netstat and lsof to determine which program is running it then look into that program using man or google. Then let us know what you find
 
Old 04-15-2004, 11:09 AM   #5
shadow.blue
Member
 
Registered: Jan 2003
Distribution: gentoo (2.6.5-gentoo)
Posts: 73

Original Poster
Rep: Reputation: 15
When I use lsof -i 4 (for showing all ipv4 things) it shows
>> lsof -i 4
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
inetd 578 root 4u IPv4 1677 TCP *:krb_prop (LISTEN)
inetd 578 root 5u IPv4 1686 UDP *:756
inetd 578 root 7u IPv4 1691 UDP *:nlogin

Thats all I get.

When i run lsof | grep {kerb;krb;prop;...} I get either
nothing or just the first line of the 3 above...

netstat just doesn`t show anything about this port or service.


The thing is, I _DONT_ have kerberos installed on my machine.

removepackage [tab] (and then anything with k leads to kernel)
and a
locate kerb or locate krb leads to nothing as well.
(just some nessus plugins)


I don`t get this... argh...
 
Old 04-15-2004, 11:11 AM   #6
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 768

Rep: Reputation: 64
like ferreter said, but if you do lsof -i, you get a list of programs with their respective ports and it is easier to read
 
Old 04-15-2004, 11:16 AM   #7
ferreter
Member
 
Registered: Oct 2002
Location: USA, IL
Distribution: Debian/Gentoo/Slack
Posts: 215

Rep: Reputation: 30
Quote:
Originally posted by shadow.blue
When I use lsof -i 4 (for showing all ipv4 things) it shows
>> lsof -i 4
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
inetd 578 root 4u IPv4 1677 TCP *:krb_prop (LISTEN)
inetd 578 root 5u IPv4 1686 UDP *:756
inetd 578 root 7u IPv4 1691 UDP *:nlogin

Thats all I get.

When i run lsof | grep {kerb;krb;prop;...} I get either
nothing or just the first line of the 3 above...

netstat just doesn`t show anything about this port or service.


The thing is, I _DONT_ have kerberos installed on my machine.

removepackage [tab] (and then anything with k leads to kernel)
and a
locate kerb or locate krb leads to nothing as well.
(just some nessus plugins)


I don`t get this... argh...
Have you tried "locate krb_prop" yet?

And are you using Nessus? If so, it may have a kerberos-like plugin for its client/server authentication.
 
Old 04-15-2004, 11:17 AM   #8
ferreter
Member
 
Registered: Oct 2002
Location: USA, IL
Distribution: Debian/Gentoo/Slack
Posts: 215

Rep: Reputation: 30
Oh, if you are really worried about this download and install chkrootkit and run it to look for any rootkits on your box.
 
Old 04-15-2004, 11:44 AM   #9
shadow.blue
Member
 
Registered: Jan 2003
Distribution: gentoo (2.6.5-gentoo)
Posts: 73

Original Poster
Rep: Reputation: 15
I did a locate krb_prop, nothing.
I didn`t use nessus since last month... and rebootet some times inbetween, so this deamon
is definately not running...
(besides, as I see it, this service is run out of inetd, see below)

lsof -i shows:

>> lsof -i
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
inetd 578 root 4u IPv4 1677 TCP *:krb_prop (LISTEN)
inetd 578 root 5u IPv4 1686 UDP *:756
inetd 578 root 7u IPv4 1691 UDP *:nlogin
MozillaFi 1226 shadow 38u IPv4 11520 TCP planetshadow.planetshadow:35705->216.239.59.99:http (ESTABLISHED)
MozillaFi 1229 shadow 38u IPv4 11520 TCP planetshadow.planetshadow:35705->216.239.59.99:http (ESTABLISHED)
MozillaFi 1230 shadow 38u IPv4 11520 TCP planetshadow.planetshadow:35705->216.239.59.99:http (ESTABLISHED)
MozillaFi 1231 shadow 38u IPv4 11520 TCP planetshadow.planetshadow:35705->216.239.59.99:http (ESTABLISHED)
MozillaFi 1233 shadow 38u IPv4 11520 TCP planetshadow.planetshadow:35705->216.239.59.99:http (ESTABLISHED)
MozillaFi 2360 shadow 38u IPv4 11520 TCP planetshadow.planetshadow:35705->216.239.59.99:http (ESTABLISHED)


And, as you suggested, I downloaded and ran chkrootkit, nothing found.
 
Old 04-16-2004, 11:46 AM   #10
shadow.blue
Member
 
Registered: Jan 2003
Distribution: gentoo (2.6.5-gentoo)
Posts: 73

Original Poster
Rep: Reputation: 15
Question

anyone? ...
 
Old 04-16-2004, 12:27 PM   #11
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 768

Rep: Reputation: 64
Would it be worth looking in /etc/inetd.conf to see if kerberos support is enabled in there?
 
Old 04-16-2004, 01:02 PM   #12
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
This sounds more like a security question than a Slack question. You may want to consider asking the moderator to move it to the Security forum. -- J.W.
 
Old 04-16-2004, 05:42 PM   #13
shadow.blue
Member
 
Registered: Jan 2003
Distribution: gentoo (2.6.5-gentoo)
Posts: 73

Original Poster
Rep: Reputation: 15
I solved it... strange.

I found this line which was included somewhere in inetd.conf:
sgi_fam/1-2 stream rpc/tcp wait root /usr/local/bin/fam fam

I can`t remember to install that, though.

I went through inetd.conf earlier, but didn`T see this one....

Thanks to all that helped!
 
  


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
How do I start ftp service and check if port open? quintan Linux - Software 2 01-15-2018 02:02 AM
unknown service controling open port rysio Linux - Security 2 09-13-2005 12:48 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
SuSE 9.2 - FTP Port open with no FTP service?!?! don_wombat Linux - Security 12 12-01-2004 03:14 PM
nmap shows port 21 open, but no ftp service running ? epoo Linux - Networking 3 12-21-2003 08:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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