[kea-dev] boot-unknown-clients equivalent?
Philip Prindeville
philipp_subx at redfish-solutions.com
Tue May 2 15:45:29 UTC 2023
In this case, the local configuration was already using "boot-unknown-clients false;" so I don't think there's any (additional) risk.
How does one invoke that inside a subnet section?
> On Apr 30, 2023, at 4:48 AM, Peter Davies <peterd at isc.org> wrote:
>
> Hi Philip,
>
> If you only employ host reservations, then the built-in "KNOW" class may be use to restrict clients.
>
> For example:
>
> "client-classes": [{
> "name": "DROP",
> "test": "not member('KNOWN')"} ],
>
> ...
>
> I advise caution, as this will drop all packet that are not associated with a host reservation.
>
> /Peter
>
>
> On 25/04/2023 03.46, Philip Prindeville wrote:
>> Hi,
>>
>> I'm trying to port the isc-dhcp support in OpenWrt to migrate to Kea transparently.
>>
>> I've tried to use keama to show me what the synthesized configs should look like, but there's a lot that keama doesn't handle that seems to be in the scope of what Kea is capable of.
>>
>> For instance, "boot-unknown-clients false;" can be handled using the DROP class an not(member(KNOWN)) but I can't figure out the exact notation.
>>
>> Can someone point me at an example? I couldn't turn one up via google.
>>
>> BTW, the existing code to take UCI config blocks and synthesize dhcpd.conf lives here:
>>
>> https://github.com/openwrt/packages/blob/master/net/isc-dhcp/files/dhcpd.init
>>
>> Thanks,
>>
>> -Philip
>>
> --
> kea-dev mailing list
> kea-dev at lists.isc.org
> https://lists.isc.org/mailman/listinfo/kea-dev
More information about the kea-dev
mailing list