Opened 11 months ago

Closed 11 months ago

Last modified 11 months ago

#5415 closed defect (duplicate)

subnets looking the same are rejected

Reported by: fdupont Owned by:
Priority: medium Milestone: Kea1.4
Component: Unclassified 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

Cf https://lists.isc.org/pipermail/kea-users/2017-October/001391.html

I propose to simply remove the same subnet check (so to keep only the same ID check):

  • it makes more problems than it solves
  • there is no reason to not use the same addresses between two different shared networks
  • the correct check should be about same selectors but there is currently no function to extract selectors from cfg subnet objets so it will be hard to really fix it.

Subtickets

Change History (3)

comment:1 Changed 11 months ago by fdupont

Note the Subnets4ListConfigParser::parse() method is overloaded:

  • the version used for plain subnets has too strict check
  • the version used for shared networks does not check duplicate IDs

Note the prefix is not checked (responsibility of the Subnet constructor) even we have a routine returning it firstAddrInPrefix.

comment:2 Changed 11 months ago by fdupont

  • Resolution set to duplicate
  • Status changed from new to closed

Replaced by #5423 and #5424.

comment:3 Changed 11 months ago by tomek

  • Milestone changed from Kea-proposed to Kea1.4
Note: See TracTickets for help on using tickets.