[Dnsmasq-discuss] Disabling IPv6 at compile time no longer working

Andrew Miskell andrewmiskell at mac.com
Fri Oct 30 16:22:13 GMT 2020


Massimo,

Simon’s reasoning for removing support is stated in the git commit. It was the source of a large number of ifdefs in the code, primarily for handling old embedded libc versions.

Removing the flags allowed him to remove all the ifdefs and make the code more maintainable overall. 

I’d actually probably also go as far as to assert that most of your arguments listed aren’t really that valid in the grand scheme of things.

> On Oct 30, 2020, at 7:10 AM, SALA MASSIMO <MASSIMO.SALA at ats-bg.it> wrote:
> 
> Hi Chris, Petr
> 
> I agree with Chris: I wish we could disable IPv6 support.
> 
> There are scenarios - like usage in intranet LANs,  IPv4 only - this feature is useless.
> 
> For best practice, unwanted features should be disabled:
> 1) avoid any possibility of hitting bugs in code paths that implemet this functionality;
> 2) reduce the surface of possible attacks;
> 3) IMHO you cannot force the users to be unaware testers of unused features.
> 
> 
> > It was intentionally removed in commit ee8750451b4[1], removed in 2.81 release.
> 
> I don't understand why this commit was approved.
> Which are the benefits for the developers?
> 
> Best regards, Massimo Sala
> 
> 
> 
> 
> Le informazioni contenute in questo messaggio e nei suoi allegati sono ad esclusivo beneficio del corretto destinatario e sono da considerarsi confidenziali e riservate. Qualora abbiate ricevuto il messaggio per errore, siete pregati di darne immediata notizia al mittente e di provvedere alla sua cancellazione. La rivelazione del contenuto di corrispondenza destinata ad altri e ricevuta per errore è perseguibile penalmente e può costituire un trattamento illecito di dati personali. 
> 
> This e-mail and any attachment is confidential and only for use of the intended recipient. If you are not the intended recipient, you are hereby notified that any disclosure of this communication is strictly prohibited. If you have received this communication in error, please notify the sender, and then delete this message from your system.
> 
> Prima di stampare, pensa all’ambiente. _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk <mailto:Dnsmasq-discuss at lists.thekelleys.org.uk>
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss <http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20201030/4052137e/attachment.html>


More information about the Dnsmasq-discuss mailing list