More Memory Safety for Let's Encrypt: Deploying ntpd-rs
letsencrypt.org
More Memory Safety for Let's Encrypt: Deploying ntpd-rs
1–10 of 177 posts
Re: More Memory Safety for Let's Encrypt: Deploying ntpd-rs
#2Re: More Memory Safety for Let's Encrypt: Deploying ntpd-rs
#3[flagged]
https://www.vox.com/2015/5/23/8647095/kool-aid-jonestown-fla...
They really do appear to be all in on avoiding memory leaks from C/CPP:
> Over the next few years we plan to continue replacing C or C++ software with memory safe alternatives in the Let’s Encrypt infrastructure: OpenSSL and its derivatives with Rustls, our DNS software with Hickory, Nginx with River, and sudo with sudo-rs. Memory safety is just part of the overall security equation, but it’s an important part and we’re glad to be able to make these improvements.
It seems like a really challenging endeavor, but I appreciate their desire to maintain uptime and a public service like they do.
Re: More Memory Safety for Let's Encrypt: Deploying ntpd-rs
#4[flagged]
Re: More Memory Safety for Let's Encrypt: Deploying ntpd-rs
#5[flagged]
True, there are plenty of alternatives for many of those networking services, not necessarily Rust.
Re: More Memory Safety for Let's Encrypt: Deploying ntpd-rs
#6Re: More Memory Safety for Let's Encrypt: Deploying ntpd-rs
#7Particularly interested in the performance stats, how well the daemon keeps time in the face of various network problems. Chrony is very good at this. Some of the other NTP implementations (not on that chart) are so bad they shouldn't be used in production.
Re: More Memory Safety for Let's Encrypt: Deploying ntpd-rs
#8Re: More Memory Safety for Let's Encrypt: Deploying ntpd-rs
#9Why does your ntpd have a json dependency?
The answer is that there is observability functionality which provides its results as JSON output via a UNIX socket[0]. As far as I can see, there's no other JSON functionality anywhere else in the code, so this is just to allow for easily querying (and parsing) the daemon's internal state.
(I'm not convinced that JSON is the way to go here, but that's the answer to the question)
[0] https://docs.ntpd-rs.pendulum-project.org/development/code-s...
Re: More Memory Safety for Let's Encrypt: Deploying ntpd-rs
#10[flagged]
Because since the Morris Worm in 1988, there are still plenty of networking facing services that keep being written in C and C++, and without the necessary sanitary precautions. True, there are plenty of alternatives for many of those networking services, not necessarily Rust.