BIND 10 #3252: libdhcp++: The IfaceMgr::openSockets6 shouldn't throw an exception when failed to open socket.

BIND 10 Development do-not-reply at isc.org
Fri Jan 10 17:42:02 UTC 2014


#3252: libdhcp++: The IfaceMgr::openSockets6 shouldn't throw an exception when
failed to open socket.
-------------------------------------+-------------------------------------
            Reporter:  marcin        |                        Owner:
                Type:  enhancement   |  UnAssigned
            Priority:  medium        |                       Status:
           Component:  dhcp          |  reviewing
            Keywords:                |                    Milestone:  DHCP-
           Sensitive:  0             |  Kea1.0-alpha
         Sub-Project:  DHCP          |                   Resolution:
Estimated Difficulty:  0             |                 CVSS Scoring:
         Total Hours:  7             |              Defect Severity:  N/A
                                     |  Feature Depending on Ticket:  3251
                                     |          Add Hours to Ticket:  7
                                     |                    Internal?:  0
-------------------------------------+-------------------------------------
Changes (by marcin):

 * hours:  0 => 7
 * owner:  marcin => UnAssigned
 * status:  assigned => reviewing
 * totalhours:  0 => 7


Comment:

 The DHCPv6 server installs a callback function which is called by
 !IfaceMgr::openSockets6 when socket opening fails on a particular
 interface. This callback function logs a warning message. When callback
 function returns, interface manager will continue to open sockets on
 remaining interfaces. There is also a new section in the developer's guide
 which describes this mechanism along with a motivation for it.

 Proposed !ChangeLog:
 {{{
 XXX.    [func]          marcin
         b10-dhcp6: If server fails to open a socket on one interface it
         will log a warning and continue to open sockets on other
 interfaces.
         The warning message is communicated from the libdhcp++ via the
         error handler function supplied by the DHCPv6 server.
         (Trac #3252, git abc)
 }}}

-- 
Ticket URL: <http://bind10.isc.org/ticket/3252#comment:3>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list