[krbdev.mit.edu #8530] krb5- 1.15 KDC network performance issue

Richard Basch via RT rt-comment at krbdev.mit.edu
Sun Dec 25 22:59:02 EST 2016


Forgot to answer your question… 

I did a performance test with a kinit against a 127.x.x.x that wasn’t 127.0.0.1 and wasn’t explicitly defined on any interface and it worked. Unfortunately, I didn’t perform a baseline test without the patch.


> On Dec 25, 2016, at 9:26 PM, Greg Hudson via RT <rt-comment at krbdev.mit.edu> wrote:
> 
>> Based on a preliminary analysis of net-server.c, it seems that perhaps
>>   pktinfo should always be enabled on UDP sockets. It looks like it
>>   never causes a failure (at most a warning) and can only help. For
>>   instance, if you bind to 127.0.0.1 but the interface is defined as
>>   /8, it should still be able to respond even if a packet comes in
>>   via 127.1.2.3.
> 
> Does that work?  I wasn't aware that you could receive packets at 
> multiple addresses except by binding to the wildcard address.
> 
> Regardless, setting pktinfo on all UDP sockets is probably the simplest 
> solution to that half of the problem.  I'm not sure if we want to log 
> the pktinfo-not-supported message for all addresses, though.
> _______________________________________________
> krb5-bugs mailing list
> krb5-bugs at mit.edu
> https://mailman.mit.edu/mailman/listinfo/krb5-bugs




More information about the krb5-bugs mailing list