fluent / fluent/fluent-logger-python

Can this package be used with TLS?

Abierto
#144 3 comentarios 3 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Python
Estrellas
457
Forks
138
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

Hi,
I'm using fluent-logger with a fluentd instance on a remote host and would like to secure the data transfer using TLS.

On the fluentd side, I follow the instructions set [here](https://docs.fluentd.org/v1.0/articles/in_forward#how-to-enable-tls-encryption).

IIUC, there's no support for TLS/SSL on this package yet, and in order to get that, we need to wrap the socket when needed (e.g., given a parameter in the sender's constructor) as described [here](https://docs.python.org/3/library/ssl.html#ssl.SSLContext.wrap_socket).

Please tell me if I'm getting something wrong here, and if not, may I submit a pull request with this functionality?

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

Start at the sender constructor and the socket-creation path, using Python's SSLContext.wrap_socket documentation and the linked Fluentd TLS configuration as context. Determine how TLS should be enabled and configured without changing existing connections. Done means the package can securely connect to a remote TLS-enabled Fluentd instance, with coverage for the new behavior.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
python
Área
networking
Tipo de issue
Nueva funcionalidad
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.