News for hackers. Stuff that matters.
Re:Deciding to rewrite getaddrinfo in rust by agwa on Tuesday February 23, 2016 @11:04AM (#11159791)
How security sensitive is getaddrinfo? The recent vulnerability was actually in glibc's DNS client library, libresolv, not getaddrinfo itself (but it was triggered when using getaddrinfo). Therefore, I think that rewriting libresolv in Rust (and possibly the DNS NSS module) would be more fruitful than trying to rewrite getaddrinfo. It would also be easier - libresolv is in its own .so so you could swap the entire thing out, rather than having to patch glibc or use LD_PRELOAD hacks. (I actually started working on this a few days ago :-)
Re:Deciding to rewrite getaddrinfo in rust by yyin on Tuesday February 23, 2016 @12:15PM (#11160430)
Is ldns vulnerable? Did OpenBSD drop BIND and libresolv in favor of ldns and nsd, unbound, drill? Might be an interim solution.
Re:Deciding to rewrite getaddrinfo in rust by Sanddancer on Tuesday February 23, 2016 @06:17PM (#11163172)
Yes, OpenBSD dropped BIND, as did FreeBSD.
Re:Deciding to rewrite getaddrinfo in rust by codygman on Tuesday February 23, 2016 @09:28PM (#11164105)
Really hope you post this!