Support listen and connect via Unix Domain Sockets (UDS)

Open
#2,578 4 comments 2 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

@hslatman is already working on this.

Since Feb 25, 2026.

Assessment

This issue has not been assessed yet.

Description

enhancement needs triage

Hello!

  • Vote on this issue by adding a 👍 reaction
  • If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)

Issue details

Support for Unix Domain Socket for listening and connection. Currently only TCP sockets are supported.

Why is this needed?

UDS solves following issues:

  • Port pollution. When there's multiple ports opened, there's no human-readable information is attached to them so it's easy to find a situation when you have multiple ports and you have to guess what is what.
  • Due to port pollution and human-readable names, it's easier to have star-domain config in servers like nginx e.g. *.example.com without ever changing it.
  • UDS is faster because there's no TCP handshake before data is flowing
  • Permission control via FS. On few systems like FreeBSD and macOS it's possible to set MAC to TCP ports, but it's impossible on Windows or Linux.
  • UDS are well supported in all languages along with TCP.
  • UDS on Windows works well, even it's implementation is different. I accept if it would be *BSD/Linux/macOS-specific at the beginning.
Dominant language
Go
Stars
8.9k
Forks
599
Avg merge
21h 20m
Merged PRs (30d)
15

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from smallstep/certificates

All issues in smallstep/certificates

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.