Created attachment 158811 [details] Disable prefix6 subnet check Since 4.2.8/4.3.2, there is a check that forces prefix6 to be within declared subnet. A bug was reported on pfSense: https://redmine.pfsense.org/issues/4829 And also a discussion can be found here: https://lists.isc.org/pipermail/dhcp-users/2015-July/019098.html The patch removes this check from current versions. Sponsored by: Netgate
Has this been reported to ISC?
(In reply to Ryan Steinmetz from comment #1) I'm not sure. Is there any ISC public bug tracker? But based on this answer from Shawn Routhier they are aware of the problem: "We are re-consdiering this change and would be interested in hearing peoples comments." https://lists.isc.org/pipermail/dhcp-users/2015-July/019099.html
Approved, please commit.
Created attachment 158816 [details] Improved fix There is one more change to be reverted, it is checking the subnet mask. It was introduced in the same version: http://fossies.org/diffs/dhcp/4.2.7_vs_4.2.8rc1/server/confpars.c-diff.html I'll wait a new approval for this version.
Approved.
A commit references this bug: Author: garga Date: Thu Jul 16 11:51:59 UTC 2015 New revision: 392293 URL: https://svnweb.freebsd.org/changeset/ports/392293 Log: Since 4.2.8/4.3.2 isc-dhcp-server started to check if prefix6 range is within declared subnet and if prefix6 network mask is bigger or equal subnet mask. Remove these checks and make prefix delegation work as expected. For reference - https://redmine.pfsense.org/issues/4829 PR: 201601 Approved by: zi (maintainer) Sponsored by: Netgate Changes: head/net/isc-dhcp42-server/Makefile head/net/isc-dhcp42-server/files/patch-server_confpars.c head/net/isc-dhcp43-server/Makefile head/net/isc-dhcp43-server/files/patch-server_confpars.c