Hi,

Perhaps I was not really clear about this.
What is the rationale to only have DHCP server
to reply to DHCPINFORM messages and never serve any ip leases
while we bind it to UDP socket? 

Currently, dhcp server will only serve ip addresses if its using raw sockets,
replaying to broadcasts etc. 



 On Wednesday, October 26, 2022 at 08:43:16 p.m. GMT+9, All <olp...@yahoo.ca> 
wrote: 





Hi,

in dhcpd.c we have:

    if (is_udpsock && packet->packet_type != DHCPINFORM) {
            log_info("Unable to handle a DHCP message type=%d on UDP "
                "socket", packet->packet_type);
            return;
        }

Why do we not want to process normal dhcp messages like discover/request?
If you want dhcpd to not bother with raw packets and broadcasts and just focus
on unicasts this would be a logical option. 

Reply via email to