Groups | Search | Server Info | Login | Register
Groups > comp.protocols.nfs > #11
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!feeder.news-service.com!feeder.news-service.com!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Zhang Weiwu <zhangweiwu+Trash@realss.com> |
| Newsgroups | comp.protocols.nfs |
| Subject | Re: can nfs-kernel-server of Linux bind to localhost? |
| Date | Thu, 18 Aug 2011 10:32:22 +0800 |
| Organization | A noiseless patient Spider |
| Lines | 25 |
| Message-ID | <j2htk0$64b$1@dont-email.me> (permalink) |
| References | <j0tebr$8rh$1@dont-email.me> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | 7bit |
| Injection-Date | Thu, 18 Aug 2011 02:32:33 +0000 (UTC) |
| Injection-Info | mx04.eternal-september.org; posting-host="I0kU0jq24sIb6JfUUElMfw"; logging-data="6283"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19AMG/laFlJDrnbXhzy+vyLKhrOWkHpgBg=" |
| User-Agent | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.18) Gecko/20110617 Lightning/1.0b2 Thunderbird/3.1.11 |
| In-Reply-To | <j0tebr$8rh$1@dont-email.me> |
| Cancel-Lock | sha1:NQGk2pASEK91HXmx4k0XAy1wKSU= |
| Xref | x330-a1.tempe.blueboxinc.net comp.protocols.nfs:11 |
Show key headers only | View raw
On 07/29/2011 12:53 PM, Khufu wrote: > I tried to look up manual for nfsd which says: > > -H or --host hostname > specify a particular hostname (or address) that NFS requests > will be accepted on. By default, rpc.nfsd will accept NFS > requests on all known network addresses. Note that lockd (which > performs file locking services for NFS) may still accept request > on all known network addresses. This may change in future > releases of the Linux Kernel. > > This almost hints -H is equal to --bind of many other daemons. I added > this to the call of nfsd in /etc/init.d/nfs-kernel-server (a debian box) > and restarted the service. Result not good: > > # netstat -tl | grep nfs > tcp 0 0 *:nfs *:* LISTEN I discovered that both --host and --port parameter for nfsd does not work on my server Debian 5.0.3 both both do work on my notebook computer, Ubuntu 10.10. And when it works, --host option does exactly what --bind works for other daemons, that is, it's not an access control, but really a bind to the specified interface.
Back to comp.protocols.nfs | Previous | Next — Previous in thread | Find similar
can nfs-kernel-server of Linux bind to localhost? Khufu <khufu@139.com> - 2011-07-29 12:53 +0800 Re: can nfs-kernel-server of Linux bind to localhost? "J.O. Aho" <user@example.net> - 2011-07-29 17:58 +0200 Re: can nfs-kernel-server of Linux bind to localhost? Zhang Weiwu <zhangweiwu+Trash@realss.com> - 2011-08-18 10:32 +0800
csiph-web