Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
What the hell is the rpcbind service?!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
DToNAToR
n00b
n00b


Joined: 21 Jun 2004
Posts: 53

PostPosted: Sat Jul 17, 2004 7:21 pm    Post subject: What the hell is the rpcbind service?! Reply with quote

Heya :)

I fired up nmap scanning my own PC and found out a service discribed like this:
111/tcp open rpcbind 2 (rpc #100000)
by nmap.

Can someone explain to me in a n00b's language what is this and if this service is not a must-have how to disable it?

tnx.
Back to top
View user's profile Send private message
zerb
Tux's lil' helper
Tux's lil' helper


Joined: 07 Aug 2003
Posts: 145
Location: Germany

PostPosted: Sat Jul 17, 2004 8:25 pm    Post subject: Reply with quote

You scanned a windows box didn't you? If it is running under linux, it's time to ask yourself why and more important, how.

RPC is a way to execute commands on another box remotely. rpcbind is the corresponding server.
Back to top
View user's profile Send private message
splooge
l33t
l33t


Joined: 30 Aug 2002
Posts: 636

PostPosted: Sat Jul 17, 2004 8:37 pm    Post subject: Reply with quote

NFS?
_________________
http://get.a.clue.de
Back to top
View user's profile Send private message
zerb
Tux's lil' helper
Tux's lil' helper


Joined: 07 Aug 2003
Posts: 145
Location: Germany

PostPosted: Sat Jul 17, 2004 8:39 pm    Post subject: Reply with quote

Good point. Is there any other common software under linux using RPC?
Back to top
View user's profile Send private message
DToNAToR
n00b
n00b


Joined: 21 Jun 2004
Posts: 53

PostPosted: Sun Jul 18, 2004 5:37 am    Post subject: Reply with quote

thanks guys..

removing netmount and domainname from the default runlevel seemed to do the trick..
Back to top
View user's profile Send private message
oxide
n00b
n00b


Joined: 02 Sep 2004
Posts: 44

PostPosted: Sun Sep 26, 2004 3:24 pm    Post subject: Reply with quote

hm can u be so kind to tell me how did u do that? im new to gentoo and i havent had alot of experience in running linux
Back to top
View user's profile Send private message
oxide
n00b
n00b


Joined: 02 Sep 2004
Posts: 44

PostPosted: Sun Sep 26, 2004 3:28 pm    Post subject: Reply with quote

a little bit of work and i did it myself :) sorry
Back to top
View user's profile Send private message
oxide
n00b
n00b


Joined: 02 Sep 2004
Posts: 44

PostPosted: Sun Sep 26, 2004 3:54 pm    Post subject: Reply with quote

hm i feel very stupid now. Netmount and dnsdomainname are not running at all, but the rpcbind port is still open. From what i see above they say something about NFS and i checked the nfs man and i am not using nfs in any way.
Code:

/dev/hda2               /boot           ext2            noauto,noatime          1 1
/dev/hda3               /               xfs             noatime                 0 0
/dev/hda4               none            swap            sw                      0 0
/dev/cdroms/cdrom0      /mnt/cdrom      iso9660         noauto,ro,user          0 0
/dev/fd0                /mnt/floppy     auto            noauto                  0 0
/dev/hda1               /windows        ntfs            noatime,user            0 0
# NOTE: The next line is critical for boot!
none                    /proc           proc            defaults                0 0
                                                                                                                           
# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
#  use almost no memory if not populated with files)
# Adding the following line to /etc/fstab should take care of this:
                                                                                                                           
none                    /dev/shm        tmpfs           defaults                0 0

I before i used the mask=777 option on my /windows partition but now im not using it (obviously). This is the result of netstat -lnp

Code:
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:742             0.0.0.0:*               LISTEN      2262/famd
tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      2106/portmap
udp        0      0 0.0.0.0:111             0.0.0.0:*                           2106/portmap

It is running as portmap but what exactly does it do and how can i stop it?
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9625
Location: beyond the rim

PostPosted: Sun Sep 26, 2004 11:41 pm    Post subject: Reply with quote

try
Code:
/etc/init.d/portmap needsme usesme

All those services can use portmap.
Back to top
View user's profile Send private message
vaguy02
Guru
Guru


Joined: 25 Feb 2005
Posts: 424
Location: Hopefully in one place

PostPosted: Thu Apr 14, 2005 1:39 pm    Post subject: Reply with quote

It might also be the famd that is started in the Gnome setup. Just a thought, I might be wrong.

-Robert
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum