BIND 10 #424: b10-auth duplicates same log message

BIND 10 Development do-not-reply at isc.org
Mon Dec 13 11:15:08 UTC 2010


#424: b10-auth duplicates same log message
-----------------------+----------------------------------------------------
  Reporter:  jreed     |            Owner:     
      Type:  defect    |           Status:  new
  Priority:  major     |        Milestone:     
 Component:  b10-auth  |         Keywords:     
 Sensitive:  0         |   Estimatedhours:  0  
     Hours:  0         |         Billable:  1  
Totalhours:  0         |         Internal:  0  
-----------------------+----------------------------------------------------
 This is in the trac327 branch. This problem is not in trunk yet.

 b10-auth --verbose shows two "sending a response" for a single query:

 {{{
  [b10-auth] sending a response (67 bytes):
 ...
  [b10-auth] sending a response (134 bytes):
 }}}

 while tcpdump only shows one response:
 {{{
 (10:07:09) jreed: 11:29:07.926835 IP 127.0.0.1.5300 > 127.0.0.1.47868:
 UDP, length 134
 }}}

 Same log message used in two different places in auth_srv.cc.

 Fix is to use different messages so is not confusing.

 Also I am unclear why the 67 byte one is not sent, because a recursive
 server receiving the 134 message ends up sending out 67 bytes itself.

-- 
Ticket URL: <https://bind10.isc.org/ticket/424>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list