LinuxQuestions.org
Review your favorite Linux distribution.
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, 05:55 AM   #1
validator456
Member
 
Registered: Apr 2013
Location: Rotterdam, The Netherlands
Distribution: Crunchbang Linux
Posts: 91

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, 08:55 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 12,168

Rep: Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784
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, 11:41 AM   #3
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,164

Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
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, 03:38 PM   #4
validator456
Member
 
Registered: Apr 2013
Location: Rotterdam, The Netherlands
Distribution: Crunchbang Linux
Posts: 91

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, 03:48 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 12,168

Rep: Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784
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 10:42 AM.
 
1 members found this post helpful.
Old 07-06-2014, 01:23 AM   #6
validator456
Member
 
Registered: Apr 2013
Location: Rotterdam, The Netherlands
Distribution: Crunchbang Linux
Posts: 91

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


Reply

Tags
network, nmap, security


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


All times are GMT -5. The time now is 08:40 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration