AdguardTeam / AdguardTeam/AdGuardHome

Checking for another DHCP server doesn't work properly on OpenBSD

Aperta
#3,441 2 commenti 0 reazioni 1 assegnatario Rivendicata da @EugeneOne1 Vedi su GitHub
bug P4: Low
Lingua principale
TypeScript
Stelle
36.9k
Fork
2.5k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

In #3225 we've added an incomplete support for DHCP on OpenBSD. Checking for other DHCP servers in the network still doesn't work properly in some circumstances.

It seems that `net.ListenPacket` binds to the unspecified IP address with the specified port and ignores packets that were read by any other listener of the same port. Setting socket options `SO_REUSEPORT` and `SO_REUSEADDR` also didn't help.

Perhaps, we may peek some implementation details in `github.com/insomniacslk/dhcp/dhcpv4/nclient4`.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.