3x-ui/database/model
MHSanaei ccd0853b6c
fix(inbounds): allow port 0 for UDS inbounds (#4783)
Unix Domain Socket inbounds (listen path starting with /) use port 0, which xray-core ignores. Validation was hard-locked to a minimum of 1 in three places: the shared Zod PortSchema, the AntD InputNumber, and the Go Inbound model tag. Adds an InboundPortSchema (min 0) for the inbound form/API schemas, makes the port InputNumber min UDS-aware, and relaxes the Inbound model validate tag to gte=0. PortSchema and the Node model stay min 1.
2026-06-01 23:26:20 +02:00
..
model.go fix(inbounds): allow port 0 for UDS inbounds (#4783) 2026-06-01 23:26:20 +02:00
model_test.go feat(fallbacks): add per-rule dest override 2026-05-28 21:17:49 +02:00
node_client_traffic.go fix(nodes): sum client traffic across nodes instead of overwriting 2026-06-01 22:54:56 +02:00