I have changed /etc/xinetd.d/sgi_fam on nfsserver and bind = nfsserver's
ipaddress. and netstat is showing fam was able bind to given ip. but still
tcpdump is showing hundreads of nfs.access messages due to fam. My
solution (although i donot like it) is to disable fam. some applications
will be affected which are using fam but at least we are able to work.
Thanks a lot
Ashish Gupta
On Fri, 17 May 2002, Alex Larsson wrote:
> On Fri, 17 May 2002, Ashish Gupta wrote:
>
> > Hi Alex,
> >
> > I have not changed any configuration files for fam.
> > Here are some files.
> >
> > nfserver:/etc/fam.conf
> >
> > insecure_compatibility = false
> > untrusted_user = nobody
> > local_only = false
> > xtab_verification = true
> >
> > nfsclient:/etc/fam.conf
> >
> > insecure_compatibility = false
> > untrusted_user = nobody
> > local_only = false
> > xtab_verification = true
> >
> >
> > nfsserver:/etc/xinet.d/sgi_fam
> >
> > # default: on
> > # description: FAM is a file monitoring daemon. It can \
> > # be used to get reports when files change.
> > service sgi_fam
> > {
> > type = RPC UNLISTED
> > socket_type = stream
> > user = root
> > group = nobody
> > server = /usr/bin/fam
> > wait = yes
> > protocol = tcp
> > rpc_version = 2
> > rpc_number = 391002
> > bind = 127.0.0.1
>
> This line binds the server to only listen to requests on the interface
> that has 127.0.0.1, i.e. the lo0. There is no way this fam will listen to
> network requests
>
> > }
> >
> > nfsclient:/etc/xinetd.d/sgi_fam
> >
> > # default: on
> > # description: FAM is a file monitoring daemon. It can \
> > # be used to get reports when files change.
> > service sgi_fam
> > {
> > type = RPC UNLISTED
> > socket_type = stream
> > user = root
> > group = nobody
> > server = /usr/bin/fam
> > wait = yes
> > protocol = tcp
> > rpc_version = 2
> > rpc_number = 391002
> > bind = 127.0.0.1
> > }
> >
> > # netstat -a -n | grep 32770
> > tcp 0 0 127.0.0.1:32770 0.0.0.0:* LISTEN
> > udp 0 0 0.0.0.0:32770 0.0.0.0:*
>
> As can be seen here. Only port that listens is on loopback.
>
> I dunno what the udp line means though.
>
> --
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> Alexander Larsson Red Hat, Inc
> alexl@xxxxxxxxxx alla@xxxxxxxxxxxxxx
> He's a lounge-singing white trash Green Beret on a search for his missing
> sister. She's a blind goth schoolgirl with the soul of a mighty warrior. They
> fight crime!
>
>
--
Source code, list archive, and docs: http://oss.sgi.com/projects/fam/
To unsubscribe: echo unsubscribe fam | mail majordomo@xxxxxxxxxxx
|