View previous topic :: View next topic |
Author |
Message |
DToNAToR n00b
Joined: 21 Jun 2004 Posts: 53
|
Posted: Sat Jul 17, 2004 7:21 pm Post subject: What the hell is the rpcbind service?! |
|
|
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 |
|
|
zerb Tux's lil' helper
Joined: 07 Aug 2003 Posts: 145 Location: Germany
|
Posted: Sat Jul 17, 2004 8:25 pm Post subject: |
|
|
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 |
|
|
splooge l33t
Joined: 30 Aug 2002 Posts: 636
|
|
Back to top |
|
|
zerb Tux's lil' helper
Joined: 07 Aug 2003 Posts: 145 Location: Germany
|
Posted: Sat Jul 17, 2004 8:39 pm Post subject: |
|
|
Good point. Is there any other common software under linux using RPC? |
|
Back to top |
|
|
DToNAToR n00b
Joined: 21 Jun 2004 Posts: 53
|
Posted: Sun Jul 18, 2004 5:37 am Post subject: |
|
|
thanks guys..
removing netmount and domainname from the default runlevel seemed to do the trick.. |
|
Back to top |
|
|
oxide n00b
Joined: 02 Sep 2004 Posts: 44
|
Posted: Sun Sep 26, 2004 3:24 pm Post subject: |
|
|
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 |
|
|
oxide n00b
Joined: 02 Sep 2004 Posts: 44
|
Posted: Sun Sep 26, 2004 3:28 pm Post subject: |
|
|
a little bit of work and i did it myself sorry |
|
Back to top |
|
|
oxide n00b
Joined: 02 Sep 2004 Posts: 44
|
Posted: Sun Sep 26, 2004 3:54 pm Post subject: |
|
|
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 |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9625 Location: beyond the rim
|
Posted: Sun Sep 26, 2004 11:41 pm Post subject: |
|
|
try
Code: | /etc/init.d/portmap needsme usesme |
All those services can use portmap. |
|
Back to top |
|
|
vaguy02 Guru
Joined: 25 Feb 2005 Posts: 424 Location: Hopefully in one place
|
Posted: Thu Apr 14, 2005 1:39 pm Post subject: |
|
|
It might also be the famd that is started in the Gnome setup. Just a thought, I might be wrong.
-Robert |
|
Back to top |
|
|
|