Skip to content

SSLSUBJECT broken again #143

@markwj

Description

@markwj

Was using v5.0.9 for a while, and sslsubject worked well. But, since upgrading to latest (v6.0.2), sslsubject is broken again.

My configuration is:

input {
  tcp {
    port => <redacted>
    ssl_enable => true
    ssl_verify => true
    ssl_cert => <redacted>
    ssl_key => <redacted>
    ssl_certificate_authorities => <redacted>
    dns_reverse_lookup_enabled => false
    tcp_keep_alive => true
    codec => json_lines
    id => <redacted>
  }
}

A simple

output {
  stdout { codec => rubydebug { metadata => true } }
}

can show the issue clearly.

I did start some debugging, and find tcp.rb decode_buffer is being called with a nil socket from tcp/decoder_impl.rb decode. Not sure what has changed between v5.0.9 and v6.0.2.

I did a bisect. v5.0.10 works fine, but v5.2.0 is broken for this SSLSUBJECT. I see a large change there to convert to use netty ssl.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions