Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 11-11-2003, 08:09 PM   #1
LQ Newbie
Registered: Mar 2003
Posts: 14

Rep: Reputation: 0
Daemons running on unknown ports

A external scan on my server shows 2 unknown ports open.

798 tcp
1003 tcp

According to RFC 793 these ports are unassigned and should NOT have anything running on them. Can anyone recommend the first step I should take to determine what is running on these ports and how to turn them off if needed. My server is running Mandrake 9.1-2.4.21 and is behind a firewall/router. Thanks in advance.
Old 11-12-2003, 06:23 AM   #2
Senior Member
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
Run netstat -A inet -lp on your box and watch the output.
Old 11-12-2003, 03:11 PM   #3
LQ Newbie
Registered: Mar 2003
Posts: 14

Original Poster
Rep: Reputation: 0
Running netstat -A inet -lp shows the following...

tcp 0 0 *:798 *:* LISTEN 1043/rpc.ypxfrd
tcp 0 0 *:1003 *:* LISTEN 822/ypserv

Then a little googling and I find that these daemons are part of NIS (Network Information Service). Formerly known as the Sun Yellow Pages (explains the ypserv & ypxfrd).

Turns out these littl' buggers distribute information across a network, like login names/passwords/home directories/group information/host names/ip numbers. The purpose of all this is that if you have a group of machines all running NIS and your password is stored in the NIS database then you can login into any machine of the network that is running the NIS client program. Needless to say....I turned this service OFF. Thanks for you reply, markus1982.


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
Two daemons running on the same port Quantum0726 Linux - Networking 4 08-15-2005 11:39 PM
unknown ports running ddaas Linux - Security 6 02-24-2005 06:41 AM
unknown ports open????? globeTrotter Linux - Security 12 09-25-2004 04:46 AM
command to see daemons running? kpachopoulos Linux - Newbie 3 09-13-2004 07:17 AM
Two Printer Daemons Running angelaramesys Linux - Software 0 07-15-2004 08:44 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:13 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration