[Dnsmasq-discuss] Response to DHCP request from nonstandard port?

Simon Kelley simon at thekelleys.org.uk
Thu Jul 19 18:31:18 BST 2012


On 19/07/12 18:24, Nicholas Weaver wrote:
> How does dnsmask respond to a DHCP request which doesn't come from the standard source port?
>
>
>
>

It's explained in a comment in src/dhcp.c


       /* If the client's idea of its own address tallys with
          the source address in the request packet, we believe the
          source port too, and send back to that.  If we're replying
          to a DHCPINFORM, trust the source address always. */

Cheers,

Simon.

__________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>




More information about the Dnsmasq-discuss mailing list