This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug network/18557] New: ruserok has bad scalability with large ~/.rhosts file.


https://sourceware.org/bugzilla/show_bug.cgi?id=18557

            Bug ID: 18557
           Summary: ruserok has bad scalability with large ~/.rhosts file.
           Product: glibc
           Version: 2.21
            Status: NEW
          Severity: normal
          Priority: P2
         Component: network
          Assignee: unassigned at sourceware dot org
          Reporter: carlos at redhat dot com
  Target Milestone: ---

With a very large ~/.rhosts file the number of DNS queries per entry causes
scalability issues. It can take minutes to login if you have a very very large
~/.rhosts file.

As an optimization the ruserok and related API functions could short-circuit
check if the user matched and move on to the next line if possible. This goes a
long way to helping certain use cases.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]