8000 syslog to unix socket failing with "protocol wrong type for socket" · Issue #594 · dmachard/DNS-collector · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
syslog to unix socket failing with "protocol wrong type for socket" #594
Closed
@peterand-pa

Description

@peterand-pa

Describe the bug
How should writing to a unix socket be configured ?
I'm running syslog-ng listening to a unix file socket.

I put in go-dnscollector config

  • name: localsyslog
    syslog:
    transport: unix
    remote-address: "/var/tmp/dnstap.sock"

I'm currently getting this error :
INFO: 2024/02/02 17:27:01.125579 [localsyslog] logger=syslog - connecting to unix:///var/tmp/dnstap.sock ...
ERROR: 2024/02/02 17:27:01.125748 [localsyslog] logger=syslog - dial unix /var/tmp/dnstap.sock: connect: protocol wrong type for socket

To Reproduce
Steps to reproduce the behavior

Expected behavior
Writing syslog to a unix socket work cleanly

Additional context

  • Latest version
  • Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0