l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
July 21: Defensive computing: Information security for individuals
Next Installfest:
TBD
Latest News:
Jul. 4: July, August and September: Security, Photography and Programming for Kids
Page last updated:
2003 Jul 14 23:16

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] NFS mount "RPC: Timed out" error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] NFS mount "RPC: Timed out" error



On Mon 14 Jul 03,  4:05 PM, Ted Deppner <ted@psyber.com> said:
> On Mon, Jul 14, 2003 at 03:06:46PM -0700, Ken Herron wrote:
> > Err, isn't hosts.allow the TCP wrappers config file? NFS usually runs 
> > over udp in a lan environment; I don't see how TCP wrappers could be 
> > involved.
> 
> True, but many programs compile against the tcpwrappers library and honor
> it, as linux nfs does.  Note that portmap and mountd are usually
> separated, each requiring it's own allow.
> 
> eg:
> 
> portmap: 192.168.0.0/255.255.255.0
> mountd: 192.168.0.0/255.255.255.0

p@satan$ locate nfsd | grep bin
/usr/sbin/rpc.nfsd
p@satan$ ldd /usr/sbin/rpc.nfsd
        /usr/lib/libtrash/libtrash.so => /usr/lib/libtrash/libtrash.so (0x40012000)
        libc.so.6 => /lib/libc.so.6 (0x4002a000)
        libdl.so.2 => /lib/libdl.so.2 (0x4013a000)
        libm.so.6 => /lib/libm.so.6 (0x4013d000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
p@satan$ locate portmap | grep bin
/sbin/portmap
p@satan$ ldd /sbin/portmap 
        /usr/lib/libtrash/libtrash.so => /usr/lib/libtrash/libtrash.so (0x40012000)
        libwrap.so.0 => /lib/libwrap.so.0 (0x4002a000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x40032000)
        libc.so.6 => /lib/libc.so.6 (0x40045000)
        libdl.so.2 => /lib/libdl.so.2 (0x40155000)
        libm.so.6 => /lib/libm.so.6 (0x40158000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

ted, it looks like portmap is linked against wrappers but nfsd isn't.
at least on my system.

if it's not linked against libwrap, then it must be explicitly stated in
in inetd.conf type config file.

at least, that's my understanding...

pete

-- 
GPG Instructions: http://www.dirac.org/linux/gpg
GPG Fingerprint: B9F1 6CF3 47C4 7CD8 D33E 70A9 A3B9 1945 67EA 951D
_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech



LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
O'Reilly and Associates
For numerous book donations.