看板FB_security
标 题Re: FreeBSD Security Advisory FreeBSD-SA-13:05.nfsserver [REVISED]
发信站NCTU CS FreeBSD Server (Tue Apr 30 08:08:23 2013)
转信站ptt!csnews.cs.nctu!news.cs.nctu!.cs.nctucs.nctu!!freebsdfreebsd.org!ow
FreeBSD Security Advisories wrote:
> To determine which implementation an NFS server is running, run the
> following command:
>
> # kldstat -v | grep -cw nfsd
>
> This will print 1 if the system is running the new NFS implementation,
> and 0 otherwise.
It output "2" on my 9.1-RELEASE-p2 with new NFSD as output of
kldstat -v return two lines containing word 'nfsd':
> 6 1 0xffffffff80c14000 2b38b nfsd.ko (/boot/kernel/nfsd.ko)
> Contains modules:
> Id Name
> 202 nfsd
Someone may be confused by non 0/1 result not catched in advisory.
Either
kldstat -v | grep -wc nfsd.ko
or
kldstat | grep -wc nfsd
should be used instead the command recommended in advisory to obtain 0/1
result.
Regards
Dan
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "
[email protected]"