better "listen address" notation #24

Open
opened 2019-05-03 15:29:00 +02:00 by boyska · 1 comment
Owner

for every listener, we currently have two options to separately handle unix domain sockets and tcp/udp addresses.

this is ugly, and doesn't scale well (see #13).

Goal of this issue is to have options that will understand more listener types.

for every listener, we currently have two options to separately handle unix domain sockets and tcp/udp addresses. this is ugly, and doesn't scale well (see #13). Goal of this issue is to have options that will understand more listener types.
Author
Owner

Example:

1.2.3.4:8000 means port 8000, letting circolog decide protocol (udp/tcp) based on the context (ie: -syslogd-socket 1.2.3.4:8000 means UDP, while -query-socket localhost:8000 means TCP)

/asd/foo.sock means UNIX domain socket; whether datagram or stream is again decided by context (on -syslogd-socket it means datagram; on -query-socket it means stream)

@systemd means "assume that systemd socket activation is configured, and use that"

@inetd could mean (when it is implemented) "use inetd-style fd passing"

Example: `1.2.3.4:8000` means port 8000, letting circolog decide protocol (udp/tcp) based on the context (ie: `-syslogd-socket 1.2.3.4:8000` means UDP, while `-query-socket localhost:8000` means TCP) `/asd/foo.sock` means UNIX domain socket; whether datagram or stream is again decided by context (on `-syslogd-socket` it means datagram; on `-query-socket` it means stream) `@systemd` means "assume that systemd socket activation is configured, and use that" `@inetd` could mean (when it is implemented) "use inetd-style fd passing"
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: boyska/circolog#24
No description provided.