News for hackers. Stuff that matters.
Re:OpenSSL Security Advisory by spockz on Thursday March 25, 2021 @03:31PM (#26584396)
My biggest gripe is the inability, or my lack of knowledge on how, to enable observability (metrics and events) on the failure cases. Maybe it is possible with recompiling the code but this won’t help if OpenSSL comes packaged in something like envoy.

I want to be able to see metrics of how often which rejection occurred. Preferably even security events for each failed tls connection including peer identity, and the failure reason.

(I’m silently rooting that someone will tell me I’m wrong and shows that it is possible to do the above...)

Re:OpenSSL Security Advisory by asveikau on Thursday March 25, 2021 @06:51PM (#26586640)
If you had something with a lot of traffic logging TLS issues I wonder if you would see noise from packets corrupted by hardware that were not caught by the TCP checksum. That or some low, interesting number of users with very badly misconfigured peers, where it's not your responsibility to fix.

I can't recall the exact details. But i remember once logging crypto failures on a high usage app, and it seemed noisy for something like that. Similarly to collecting logs for i/o failures in the field, if you have legit bugs they are often drowned out by issues caused by bad disks.

Re:OpenSSL Security Advisory by spockz on Friday March 26, 2021 @06:34AM (#26590510)
Ok. From our basic metrics on failed/successful tls connection established, I can conclude we only are dealing with incorrectly configured clients and not from random glitches. Peers keep connecting properly after they have figured out how the first time.

I would expect the events to be rich enough In information to distinguish corruption from really sending incompatible parameters/certs vs checksum failures.

Re:OpenSSL Security Advisory by davinci26 on Friday March 26, 2021 @02:17AM (#26589251)
Envoy comes with ssl support and it uses the google variant of openssl (boringssl).
Re:OpenSSL Security Advisory by spockz on Friday March 26, 2021 @06:31AM (#26590496)
Ah indeed, I was put on the wrong foot because the error messages are similar.

But it has the same downside of being hard to troubleshoot.