glibc/inet
Carlos O'Donell 8b59c73386 Fix ruserok scalability with large ~/.rhosts file.
Fixes bug 18557.

The ruserok API does hosts checks first while it walks the
user's ~/.rhosts file. This results in lots of DNS queries
that could have been skipped if we short-circuit test the
user portion first to see if would have had a failed match.

This supports configurations where rlogin is used on internal
secure networks with large numbers of users and machines.

The Red Hat QE team did extensive testing on various rlogin
combinations to validate this change, and in fact we found
a defect in the first version which is fixed in this version.
2015-07-08 02:42:11 -04:00
..
arpa Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
netinet in.h: Coordinate in6_pktinfo and ip6_mtuinfo for kernel and glibc [BZ #15850] 2015-02-25 00:13:28 -05:00
protocols Don't use removed rpc headers 2011-05-05 07:36:40 -04:00
aliases.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
bug-if1.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
check_native.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
check_pf.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
ether_aton_r.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
ether_aton.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
ether_hton.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
ether_line.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
ether_ntoa_r.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
ether_ntoa.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
ether_ntoh.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getaliasent_r.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getaliasent.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getaliasname_r.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getaliasname.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
gethstbyad_r.c Fix gethostbyaddr in6addr_any, in6addr_loopback namespace (bug 18532). 2015-06-17 20:08:22 +00:00
gethstbyad.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
gethstbynm2_r.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
gethstbynm2.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
gethstbynm_r.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
gethstbynm.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
gethstent_r.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
gethstent.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getipv4sourcefilter.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getnameinfo.c getnameinfo: Use struct scratch_buffer instead of extend_alloca 2015-04-08 21:07:44 +02:00
getnetbyad_r.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getnetbyad.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getnetbynm_r.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getnetbynm.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getnetent_r.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getnetent.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getnetgrent_r.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getnetgrent.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getproto_r.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getproto.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getprtent_r.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getprtent.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getprtname_r.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getprtname.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getservent_r.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getservent.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getsourcefilter.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getsrvbynm_r.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getsrvbynm.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getsrvbypt_r.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getsrvbypt.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
herrno-loc.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
herrno.c Fix h_errno namespace (bug 18520). 2015-06-12 10:10:18 +00:00
htonl.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
htons.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
htontest.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
if_index.c Add missing libc_hidden_weak to stub if_nameindex, if_freenameindex. 2015-01-23 11:29:02 -08:00
ifaddrs.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
ifaddrs.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
ifreq.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
in6_addr.c Fix gethostbyaddr in6addr_any, in6addr_loopback namespace (bug 18532). 2015-06-17 20:08:22 +00:00
inet6_opt.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
inet6_option.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
inet6_rth.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
inet_lnaof.c Avoid use of "register" as optimization hint. 2013-06-07 22:24:35 +00:00
inet_mkadr.c Fix resolver inet_* namespace (bug 17722). 2014-12-17 18:09:11 +00:00
inet_net.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
inet_netof.c Avoid use of "register" as optimization hint. 2013-06-07 22:24:35 +00:00
inet_ntoa.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
Makefile Exclude rpcent functions and NSS backends for rpc, key when excluding sunrpc. 2015-02-06 10:43:19 -08:00
netgroup.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
rcmd.c Fix ruserok scalability with large ~/.rhosts file. 2015-07-08 02:42:11 -04:00
rexec.c * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Remove inline 2009-04-26 20:12:37 +00:00
ruserpass.c Use (void) in no-arguments function definitions. 2013-06-08 00:22:23 +00:00
setipv4sourcefilter.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
setsourcefilter.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
test_ifindex.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
test-ifaddrs.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
test-inet6_opt.c Modify several tests to use test-skeleton.c 2014-11-05 15:24:08 +05:30
tst-checks.c Fix more warnings 2011-12-03 21:49:35 -05:00
tst-ether_aton.c Update. 2002-05-24 08:49:00 +00:00
tst-ether_line.c [BZ #5441, BZ #5452, BZ #5454] 2007-12-07 16:50:11 +00:00
tst-gethnm.c Modify several tests to use test-skeleton.c 2014-11-05 15:24:08 +05:30
tst-getni1.c Remove trailing whitespace. 2013-06-05 20:44:03 +00:00
tst-getni2.c Remove trailing whitespace. 2013-06-05 20:44:03 +00:00
tst-inet6_rth.c Fix a strict-alias warning in tst-inet6_rth. 2012-11-29 13:35:14 -08:00
tst-network.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
tst-ntoa.c Modify several tests to use test-skeleton.c 2014-11-05 15:24:08 +05:30
Versions Exclude rpcent functions and NSS backends for rpc, key when excluding sunrpc. 2015-02-06 10:43:19 -08:00