Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add TLS/SSL encryption support to socket_writer and socket_listener #2866

Closed
returntoreality opened this issue May 30, 2017 · 1 comment
Closed
Labels
feature request Requests for new plugin and for new features to existing plugins
Milestone

Comments

@returntoreality
Copy link

Feature Request

Proposal:

Add SSL encryption support to the socket_writer and socket_listener plugins with client certificate support.

Current behavior:

socket_writer allows to send data over tcp or udp. socket_listener allows to receive data over tcp or udp. This data is transferred in cleartext over the connection.

Desired behavior:

It should be possible to encrypt and authenticate the data transferred preferably using tls/ssl and authenticate the writer and listener using certificates.

Use case:

I want to authenticate the data sent by the clients by using the cn field of a client certificate specific for each client. This would ensure that a compromised client cannot send measurements for other clients.

@phemmer
Copy link
Contributor

phemmer commented May 30, 2017

I like the idea, and implementation should be simple.
It would be nice to support DTLS in the future as well. Unfortunately it seems the only functional DTLS library right now uses OpenSSL bindings, which may present an issue including into telegraf.

@danielnelson danielnelson added the feature request Requests for new plugin and for new features to existing plugins label Apr 6, 2018
@danielnelson danielnelson added this to the 1.7.0 milestone Apr 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Requests for new plugin and for new features to existing plugins
Projects
None yet
Development

No branches or pull requests

3 participants