about summary refs log tree commit diff
path: root/elf/nodlopenmod2.c
diff options
context:
space:
mode:
authorCarlos O'Donell <carlos@systemhalted.org>2015-07-08 02:42:11 -0400
committerCarlos O'Donell <carlos@systemhalted.org>2015-07-08 02:42:11 -0400
commit8b59c73386ddb64331ee03c29925a18dae547733 (patch)
tree7e74e2c9e0325cc6e9b5fe138180b6df386708c6 /elf/nodlopenmod2.c
parent02d5e5d94a78d32e940dfb3b58ab7f06c31b0f76 (diff)
downloadglibc-8b59c73386ddb64331ee03c29925a18dae547733.tar.gz
glibc-8b59c73386ddb64331ee03c29925a18dae547733.tar.xz
glibc-8b59c73386ddb64331ee03c29925a18dae547733.zip
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.
Diffstat (limited to 'elf/nodlopenmod2.c')
0 files changed, 0 insertions, 0 deletions