Roland C. Dowdeswell 44a1a2a273 Fix bias in ordering SRV RR results by weight.
In lib/roken/resolve.c, we find rk_dns_srv_order() which re-orders
the results of an SRV RR lookup by the algorithm in RFC2782.  We
fix a bias in the random weight sorting by changing the order of
operations when selecting rnd.  rnd should be a non-zero random
number less than the sum of the weights at a particular priority,
but zero was included as a legitimate output thus biasing the
selection process.  rk_random() % sum is still biased as a 32
bit int modulo a number which doesn't divide 2^32 does not have
a uniform distribution, but the bias should be small enough to
live with for our purposes here.
2016-11-10 04:45:07 -05:00
2016-11-08 15:48:40 -05:00
2016-04-15 00:16:16 -05:00
2014-04-25 02:42:17 +02:00
2016-08-08 16:29:29 -05:00
2016-10-19 15:32:39 -04:00
2004-02-12 14:19:16 +00:00
2016-01-21 12:43:31 -06:00
2000-06-07 10:01:25 +00:00
2002-08-21 13:29:08 +00:00
2016-10-19 15:32:39 -04:00
2014-08-23 19:14:10 -07:00
2014-02-01 22:04:10 +00:00
2016-04-15 00:26:08 -05:00
2016-01-21 12:43:31 -06:00
2009-09-27 18:26:54 -07:00
2011-07-24 22:45:55 -07:00
2010-01-05 19:21:45 +01:00

Heimdal is a Kerberos 5 implementation.

For information how to install see <http://www.h5l.org/compile.html>.

There are briefer man pages for most of the commands.

Bug reports and bugs are appreciated, see more under Bug reports in
the manual on how we prefer them: <heimdal-bugs@h5l.org>.

For more information see the web-page at
<http://www.h5l.org/> or the mailing lists:

heimdal-announce@sics.se	low-volume announcement
heimdal-discuss@sics.se		high-volume discussion

send a mail to heimdal-announce-request@sics.se and
heimdal-discuss-request@sics.se respectively to subscribe.
Languages
C 92.1%
Roff 2.8%
Shell 2.3%
Makefile 0.7%
M4 0.5%
Other 1.4%