datalust / seq-input-gelf

Ingest GELF payloads into Seq
https://datalust.co/seq
Apache License 2.0
15 stars 8 forks source link

Support TLS on TCP servers #106

Closed KodrAus closed 2 years ago

KodrAus commented 2 years ago

Closes #68

This PR adds support for secure streams when using GELF's TCP protocol through the rustls library. It supports certificates in the PEM container format.

A lot of the async code here predates async/await support in the language, so I'm updating bits and pieces of it conservatively as I need to touch them. TLS support isn't too intrusive though, I think it works out pretty nicely.