Warner Losh 3d1783b6c8 MFC r203710:
When you have multiple addresses on the same network on different
  interfaces (such as when you are part of a carp pool), and you run
  rpcbind -h to restrict which interfaces have rpc services, rpcbind can
  none-the-less return addresses that aren't in the -h list.  This patch
  enforces the rule that when you specify -h on the command line, then
  services returned from rpcbind must be to one of the addresses listed
  in -h, or be a loopback address (since localhost is implicit when
  running -h).

  The root cause of this is the assumption in addrmerge that there can
  be only one interface that matches a given network IP address.  This
  turns out not to be the case.  To retain historical behavior, I didn't
  try to fix the routine to prefer the address that the request came
  into, since I didn't know the side effects that might cause in the
  normal case.  My quick analysis suggests that it wouldn't be a
  problem, but since this code is tricky I opted for the more
  conservative patch of only restricting the reply when -h is in effect.

  Hence, this change will have no effect when you are running rpcbind
  without -h.

  Reviewed by:	alfred@
  Sponsored by:	iX Systems
  MFC after:	2 weeks
2010-04-13 00:48:54 +00:00
..
2009-12-12 20:26:11 +00:00
2010-01-23 00:52:32 +00:00
2009-11-11 19:50:52 +00:00
2010-03-25 12:56:20 +00:00
2010-01-30 12:11:21 +00:00
2009-11-10 00:41:22 +00:00
2009-12-19 19:35:53 +00:00
2010-04-06 10:34:15 +00:00
2010-01-05 13:56:58 +00:00
2009-03-19 20:24:30 +00:00
2010-01-17 17:31:53 +00:00
2009-04-04 15:48:09 +00:00
2009-07-30 09:51:04 +00:00
2009-12-19 19:35:53 +00:00
2009-05-31 20:59:20 +00:00
2010-01-23 16:40:35 +00:00
2010-03-24 12:11:59 +00:00
2009-04-28 20:20:13 +00:00
2010-03-17 07:26:00 +00:00
2010-02-24 21:29:18 +00:00
2009-09-05 17:29:08 +00:00
2010-02-03 18:42:14 +00:00
2009-05-29 22:19:45 +00:00
2009-11-02 16:27:34 +00:00
2010-04-12 21:37:28 +00:00
2010-03-16 05:13:20 +00:00
2010-03-22 23:33:40 +00:00
2009-08-15 15:12:46 +00:00
2010-01-28 02:33:20 +00:00
2010-04-13 00:48:54 +00:00
2009-12-30 19:36:40 +00:00
2010-02-18 10:48:37 +00:00
2009-12-19 19:35:53 +00:00
2010-01-17 15:20:34 +00:00
2009-09-13 11:34:33 +00:00
2009-04-08 06:51:58 +00:00
2010-01-17 18:22:42 +00:00
2010-01-17 18:27:53 +00:00
2010-03-31 16:01:48 +00:00
2009-07-17 21:11:08 +00:00
2009-08-23 16:21:49 +00:00
2010-01-15 12:02:22 +00:00
2009-12-29 10:05:20 +00:00
2010-01-17 18:22:42 +00:00