All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: default sunrpc.min_resvport
@ 2006-07-28 17:58 Michael Han
  2006-07-28 18:32 ` Roger Heflin
  0 siblings, 1 reply; 7+ messages in thread
From: Michael Han @ 2006-07-28 17:58 UTC (permalink / raw)
  To: Chuck Lever; +Cc: nfs

>From Chuck Lever:
> "For the record," some sites have a requirement for a larger 
> port space.

Naturally they do. auto-home systems with thousands of users could
easily cause this. I'm just pointing out that I'm satisfied with my own
workaround.
 
> The daemon actually wouldn't show up on the security scan.  The
> hardware IPMI listener would, however.  The daemon is not visible on
> the network because the IPMI listener diverts packets to that port.

Of course, you are correct. That's the crux of the problem I
encountered. Silly me.

> Other workarounds worth mentioning: disable IPMI in the hardware, or
> don't use the built-in NIC for NFS traffic.

Yes. Another possible alternative is to divert IPMI traffic to an
IPMI-only address. I'm not certain this works, but I know the SuperMicro
BMCs support use of alternate MAC & IP. I just don't know if the port
623/664 intercepts are promiscuous. I tried changing this on a hot
system to no avail, but not after rebooting a system and all that good
stuff.

> Indeed.  I'm not familiar enough with IPMI to know if it listens on
> both the UDP and the TCP port.

I believe that in all implementations, IPMI only uses UDP
conventionally, however the port allocation from IANA is for both
transports and it appears that more than one implementation intercepts
both transports (I've seen this issue referenced on systems using Intel
NICs with IPMI support and on Sun x86 hardware). I'm pretty uneducated
as far as IPMI goes, myself.

-- 
Michael Han






-----------------------------------------------------------
This message may contain confidential and/or privileged 
information. This information is intended to be read only
by the individual or entity to whom it is addressed. If
you are not the intended recipient, you are on notice that
any review, disclosure, copying, distribution or use of
the contents of this message is strictly prohibited. If
you have received this message in error, please notify the
sender immediately and delete or destroy any copy of this
message.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 7+ messages in thread
[parent not found: <Acax73tEH/h8g6AYSzKR6j1VBvcdsQAdEwfg>]
* default sunrpc.min_resvport
@ 2006-07-26 17:16 Michael Han
  2006-07-28  2:42 ` Chuck Lever
  0 siblings, 1 reply; 7+ messages in thread
From: Michael Han @ 2006-07-26 17:16 UTC (permalink / raw)
  To: nfs

I'm not sure if this has surfaced before for discussion (searching
hasn't shown me any relevant threads), but the 2.6 kernel's new
implementation of xprt_bindresvport can conflict with port 664 on
IPMI-enabled hosts with a BMC. IPMI uses both ports 623 and 664 for
communications, and several implementations appear to intercept all
traffic for these ports and not permit them to pass to the standard
packet driver (tcpdump in promiscuous mode shows no packets coming in).

I know that in the discussions back in 2005/02 and 2005/07 of the patch
that implements the new privileged port binding for NFS mount (I can't
tell whose patch it is, perhaps Olaf Kirch's?), Charles Lever noted that
the new sunrpc.min_resvport of 650 avoids conflicts with port 623. Is it
worth increasing this default to 665 to avoid this port as well?

If not, I just wanted to get this information onto the list, since I
searched pretty heavily while researching the intermittent hangs I've
been getting with my NFS mounts before finally nailing this to my IPMI
BMCs. Manually setting sunrpc.min_resvport to 700 has stabilized NFS on
my boxes. Thanks.

Michael Han
mhan@postini.com






-----------------------------------------------------------
This message may contain confidential and/or privileged 
information. This information is intended to be read only
by the individual or entity to whom it is addressed. If
you are not the intended recipient, you are on notice that
any review, disclosure, copying, distribution or use of
the contents of this message is strictly prohibited. If
you have received this message in error, please notify the
sender immediately and delete or destroy any copy of this
message.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-07-28 18:46 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-28 17:58 default sunrpc.min_resvport Michael Han
2006-07-28 18:32 ` Roger Heflin
2006-07-28 18:46   ` Chuck Lever
     [not found] <Acax73tEH/h8g6AYSzKR6j1VBvcdsQAdEwfg>
2006-07-28 17:05 ` Michael Han
2006-07-28 17:45   ` Chuck Lever
  -- strict thread matches above, loose matches on Subject: below --
2006-07-26 17:16 Michael Han
2006-07-28  2:42 ` Chuck Lever

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.