Opened 19 months ago

Last modified 19 months ago

#4490 new defect

kea-dhcp4 subnet4_select() hook is called prior to any other hook point

Reported by: tmark Owned by:
Priority: medium Milestone: Outstanding Tasks
Component: dhcp4 Version: git
Keywords: Cc:
CVSS Scoring: Parent Tickets:
Sensitive: no Defect Severity: N/A
Sub-Project: DHCP Feature Depending on Ticket:
Estimated Difficulty: 0 Add Hours to Ticket: 0
Total Hours: 0 Internal?: no

Description

Dhcpv4Srv::acceptDirectRequest() calls Dhcpv4Srv::selectSubnet() as part of determining whether or not the packet should be accepted. The selectSubet() method in turn, calls the the subnet4_select hook point. The issue is that this means the subnet4_select hook is a: called before any other hook, making the call order wrong and b: called more than once, as selectSubnet() is invoked prior to processing a packet, once it has been selected.

Subtickets

Change History (1)

comment:1 Changed 19 months ago by hschempf

  • Milestone changed from Kea-proposed to Outstanding Tasks

per 5/5/ team meeting, move to Oustanding

Note: See TracTickets for help on using tickets.