Re: [Dnsmasq-discuss] Regarding dnsmasq

2024-09-22 Thread
.org.uk/pipermail/dnsmasq-discuss/2024q3/017730.html At 2024-09-21 20:57:03, "Geert Stappers" wrote: >On Sat, Sep 21, 2024 at 07:08:45PM +0800, 胡义臻 wrote: >> I'm renmingshuai's successor, > >Pleased to meet you! > > >> a beginner with dnsmasq, and this

[Dnsmasq-discuss] Question on dnsmasq code, which may occur a bad-free

2024-09-21 Thread
I'm renmingshuai's successor, a beginner with dnsmasq, and this e-mail is follow-up to https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2024q3/017664.html Question 1: Why does the dhcp_reply function add the stack variable netid to daemon->dhcp_conf->netid->list, which is a global vari

[Dnsmasq-discuss] Why dhcp6 still returns DHCPADVERSISE after allocate lease failed?

2024-12-19 Thread
Dear all, I start dnsmasq(version 2.86) with --dhcp-lease-max=1, only one DHCP lease can be allocated. I find that the behavior of IPv4 and IPv6 is inconsistent. IPv4 returns a DHCPNAK packet with log "no leases left". Although IPv6 does not allocate a lease in function lease_allocate, it still