LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-05-2014, 04:55 AM   #1
validator456
Member
 
Registered: Apr 2013
Location: Rotterdam, The Netherlands
Distribution: Crunchbang Linux
Posts: 234

Rep: Reputation: Disabled
nmap problem


Quote:
Nmap scan report for 192.168.1.8
Host is up (0.00042s latency).
Not shown: 998 closed ports
PORT STATE SERVICE VERSION
80/tcp open http?
|_http-methods: No Allow or Public header in OPTIONS response (status code 404)
|_http-title: Site doesn't have a title (text/html; charset=UTF-8).
111/tcp open rpcbind (rpcbind V2-4) 2-4 (rpc #100000)
| rpcinfo:
| program version port/proto service
| 100000 2,3,4 111/tcp rpcbind
| 100000 2,3,4 111/udp rpcbind
| 100024 1 33044/tcp status
|_ 100024 1 49463/udp status
Port 111 is open. I searched the internet for it and the results are very vague. What I was able to deduce is that it has something to do with NFS-service (Network File System Services).

I found this thread on what to do with it: http://www.linuxquestions.org/questi...d-smbd-909530/

My question: how was this port opened? By what program? Is it even possible to find out? I would very much like to find out before I start working on it.

Thanks beforehand.
 
Old 07-05-2014, 07:55 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,679

Rep: Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892
rpcbind is a server. Check to see if the service is enabled to start at boot up. It does not appear that you are running nfs or anything that requires it, so just disable it.
 
Old 07-05-2014, 10:41 AM   #3
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
On 192.168.1.8 you can do:

Code:
netstat -tpan
... and it will show you exactly which process has opened each port. Usually you can just disable the rpcbind service if you don't want it listening.
 
Old 07-05-2014, 02:38 PM   #4
validator456
Member
 
Registered: Apr 2013
Location: Rotterdam, The Netherlands
Distribution: Crunchbang Linux
Posts: 234

Original Poster
Rep: Reputation: Disabled
I have a Debian system. To stop the service permanently, I just use this code?? (like it is advised here: http://unix.stackexchange.com/questi...-not-using-nfs)

Quote:
service portmap stop
service nfs-kernel-server stop
(I rather ask first, then just type something in).
 
Old 07-05-2014, 02:48 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,679

Rep: Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892
No, it will just tun it off not disable.

The syntax is:
update-rc.d <daemon> enable|disable

Last edited by michaelk; 07-06-2014 at 09:42 AM.
 
1 members found this post helpful.
Old 07-06-2014, 12:23 AM   #6
validator456
Member
 
Registered: Apr 2013
Location: Rotterdam, The Netherlands
Distribution: Crunchbang Linux
Posts: 234

Original Poster
Rep: Reputation: Disabled
That worked. Thank you Michaelk and btmiller, for your answers.
 
  


Reply

Tags
network, nmap, security



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
nmap ? how do i do nmap in linux ? command not found abbasakhtar Linux - Newbie 2 01-02-2011 01:08 AM
LXer: Learn how to use nmap, and nmap GUI, a great port scan tool LXer Syndicated Linux News 0 01-03-2008 09:10 AM
nmap increase send delay for nmap 4.20 matters Slackware 1 10-01-2007 11:37 PM
nmap problem ding.iitk Linux - General 2 07-19-2006 09:18 AM
problem on nmap. bruse Linux - Networking 1 08-12-2005 05:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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