-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
logstash logshipper TLS denial of service #7650
Comments
@jmschmaus - Thanks for the issue report and steps to reproduce. I agree this is an issue that should be addressed, and would fall under the TCP input plugin. Would you mind moving the issue over to https://github.com/logstash-plugins/logstash-input-tcp/issues ? |
Thanks Jake!
I didn’t know how to move it so I created a new ticket: logstash-plugins/logstash-input-tcp#77 <logstash-plugins/logstash-input-tcp#77> and pasted description from the original.
Hope that’s OK.
John
… On Jul 11, 2017, at 5:21 PM, Jake Landis ***@***.***> wrote:
@jmschmaus <https://github.com/jmschmaus> - Thanks for the issue report and steps to reproduce.
I agree this is an issue that should be addressed, and would fall under the TCP input plugin. Would you mind moving the issue over to https://github.com/logstash-plugins/logstash-input-tcp/issues <https://github.com/logstash-plugins/logstash-input-tcp/issues> ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#7650 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AX0t6YwzNTWsMpnfDlp36qonCdQ36UVKks5sNAN1gaJpZM4OUg2P>.
|
@jmschmaus - Perfect thanks! Closing in favor of logstash-plugins/logstash-input-tcp#77 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Logstash 5.3 uses jruby-openssl 0.9.16 for SSL/TLS. jruby-openssl SSLSocket.java does SSL handshake. SSLSocket will not return until the SSL handshake is complete. Logstash will not do another accept on the TLS socket until SSL handshake is complete. If a non-TLS client connects to logstash's TLS port, the port is hung and unusable for any other clients.
For all general issues, please provide the following details for fast resolution:
input {
...
tcp {
host => "0.0.0.0"
type => "tcp_json_event"
port => "10059"
ssl_enable => true # This needs to be true for the other ssl parameters to be considered
ssl_verify => false # Don't validate the cert against the CA. Useful for self signed certs
ssl_cert => "ssl cert" # SSL Cert
ssl_key => "ssl key"
ssl_extra_chain_certs => "trusted cert" # CA certs
codec => json_lines{
charset => "ISO-8859-1"
}
..
Verify TLS operation via openssl s_client -connect localhost:10059
Open non-TLS connection to port 10059, configured for TLS:
nc localhost 10059
Verify SSL handshake no longer operational (step (2)).
The text was updated successfully, but these errors were encountered: