fluent / fluent/fluent-logger-python
Can this package be used with TLS?
- Lingua principale
- Python
- Stelle
- 457
- Fork
- 138
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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?
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- networking
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100