Is your feature request related to a problem?
No
Describe the solution you'd like
Currently, the inbound Listen field only accepts IP addresses. Unix socket support would enable architectures where Caddy (or another reverse proxy) communicates with Xray via local sockets instead of TCP 127.0.0.1:<port>. This is useful for:
- Security — no TCP port listening at all (even localhost), access controlled by filesystem permissions
- Performance — avoids TCP stack overhead for local IPC
- Architecture parity with Reality fallback — Xray already uses Unix sockets for
fallback dest ("dest": "/run/xray/xhttp_in.sock") and for realitySettings.target. It's inconsistent that the listen field of an inbound cannot use the same mechanism.
Describe alternatives you've considered
No response
Checklist
Is your feature request related to a problem?
No
Describe the solution you'd like
Currently, the inbound
Listenfield only accepts IP addresses. Unix socket support would enable architectures where Caddy (or another reverse proxy) communicates with Xray via local sockets instead of TCP127.0.0.1:<port>. This is useful for:fallbackdest ("dest": "/run/xray/xhttp_in.sock") and forrealitySettings.target. It's inconsistent that thelistenfield of an inbound cannot use the same mechanism.Describe alternatives you've considered
No response
Checklist