Skip to content

Support server_name extension in tls handshake in fluentd #70

@mrudrego

Description

@mrudrego

Hi,

We use fluent-plugin-remote-syslog to send logs from fluentd to syslog server.
Fluentd-package : v 5.0.5-1
fluent-plugin-remote_syslog : v1.1.0

We have observed that server_name extension (SNI) is missing in the TLS handshake when using the plugin
Fluentd config:

          <store>
            @type remote_syslog
            host abc.net
            port 6514
            protocol tcp
            tls true
            ca_file /opt/fluentd-files/cert/rsyslog.crt
          </store>
Image

While the packets using tcp dump for curl command to syslog server has the server_name extension in its handshake(attached image).

curl command from client:
curl -v --cacert ca.pem https://abc.net:6514/

Server side tcp dump:
tcpdump -i any host 100.103.102.3 and port 6514 -w syslog_capture.pcap

Image

We have a request to have HostSNI in the TLS handshake.
Please check if this is an issue and needs some enhancement in the plugin.

Thanks in advance.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions