Re: [Kea-users] ignoring DHCP-Requests which have set the BROADCAST flag

2020-06-04 Thread Stefan Berger
>I can see at least two easy ways: use a firewall (the flag is at a fixed >offset so trivial to find) >or write a hook for Kea (install it at the pkt4_receive callout point and >return DROP when the query4->getFlags() has FLAG_BROADCAST_MASK set). >As the broadcast flag has a function in the pr

Re: [Kea-users] ignoring DHCP-Requests which have set the BROADCAST flag

2020-06-03 Thread Francis Dupont
Stefan Berger writes: > is it possible to drop or ignore DHCP-Requests from clients which have set th > e BROADCAST-Flag? (0x8000) => I can see at least two easy ways: use a firewall (the flag is at a fixed offset so trivial to find) or write a hook for Kea (install it at the pkt4_receive callout

[Kea-users] ignoring DHCP-Requests which have set the BROADCAST flag

2020-06-02 Thread Stefan Berger
Hi all, is it possible to drop or ignore DHCP-Requests from clients which have set the BROADCAST-Flag? (0x8000) For Example - ethertype 802.1Q, vlan 101, p 0, ethertype IPv4, (tos 0xc0, ttl 64, id 49089, offset 0, flags [none], proto UDP (17), length 338) 0.0.0.0.bootpc > 255.255