Skip to content

Syslong destination does not work for IPv6 #2020

Closed
@xhejtman

Description

@xhejtman

Hello,

the current implementation of syslong destination renderer does not set ip-protocol(6) option, if address is IPv6, which results in failure: Error resolving hostname with getaddrinfo(); host='xxxx:8:4:0:2', error='-5', error_str='Name has no usable address'

According to documentation:
https://axoflow.com/docs/axosyslog-core/chapter-destinations/destination-syslog-ng/#ip-protocol
the ip-protocol(6) must be set so that IPv6 is working.

Because autodetection may not be always desired, probably introducing a new option in CRD will be necessary?

/kind bug

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions