Skip Menu |
 

Download (untitled) / with headers
text/plain 1.9KiB
From benno@columbia.edu Fri Feb 22 14:30:41 2002
Received: from pacific-carrier-annex.mit.edu (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.7.21.83])
by rt-11.mit.edu (8.9.3/8.9.3) with ESMTP id OAA20758
for <bugs@RT-11.mit.edu>; Fri, 22 Feb 2002 14:30:40 -0500 (EST)
Received: from starscream.cc.columbia.edu (starscream.cc.columbia.edu [128.59.39.90])
by pacific-carrier-annex.mit.edu (8.9.2/8.9.2) with ESMTP id OAA08110
for <krb5-bugs@mit.edu>; Fri, 22 Feb 2002 14:30:40 -0500 (EST)
Received: (from benno@localhost)
by starscream.cc.columbia.edu (8.9.3/8.9.3) id OAA23225;
Fri, 22 Feb 2002 14:30:39 -0500 (EST)
Message-Id: <200202221930.OAA23225@starscream.cc.columbia.edu>
Date: Fri, 22 Feb 2002 14:30:39 -0500 (EST)
From: benno@columbia.edu
Reply-To: benno@columbia.edu
To: krb5-bugs@mit.edu
Cc: benno@columbia.edu
Subject: krb5 vs large number of interfaces
X-Send-Pr-Version: 3.99

Show quoted text
>Number: 1063
>Category: krb5-libs
>Synopsis: invalid argument while getting initial credentials
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: krb5-unassigned
>State: open
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Fri Feb 22 14:31:00 EST 2002
>Last-Modified:
>Originator: Benjamin Oshrin
>Organization:
Columbia University AcIS
Show quoted text
>Release: krb5-1.2.3
>Environment:
System: SunOS starscream 5.8 Generic_108528-11 sun4u sparc SUNW,Ultra-5_10
Architecture: sun4

Show quoted text
>Description:
This problem is described in reports at
http://diswww.mit.edu:8008/menelaus.mit.edu/krb5dev/5986
http://diswww.mit.edu:8008/menelaus.mit.edu/kerberos/14622

We have encountered this problem with both the 1.2.2 and 1.2.3
releases, and have fixed it with the patches included in the
above URLs. It would be helpful if these patches could make
their way into the next release.
Show quoted text
>How-To-Repeat:
Create more than 32 or so (virtual) interfaces on a host running
Solaris 2.6 or greater.
Show quoted text
>Fix:
See patches at above URLs.
Show quoted text
>Audit-Trail:
>Unformatted:
Subject: invalid argument while getting initial credentials
The referenced URLs describe two problems, in email from Nico.
Basically, on Solaris hosts with huge numbers of (possibly virtual)
network interfaces, both the krb5 library and the rpc library will fail
because they don't provide enough buffer space to the SIOCGIFCONF ioctl
call.

I believe the krb5 library has been fixed on the trunk. However, the
rpc library has not. (It only wants one address anyways, but on
Solaris, if you don't provide enough buffer space for all the entries it
wants to return, it returns none of them, just an error.) Using
foreach_localaddr is probably overkill; just add a test for SIOCGIFNUM,
and if it's available, use it.
Subject: invalid argument while getting initial credentials
Actually, strike that ... the rpc patch submitted was "to fix a
typo/thinko"; no indication that anyone has actually exceeded the limit
with this fixed. Just fix it, and do the extra work if anyone still has
problems....
Subject: invalid argument while getting initial credentials
Patch applied, on trunk.