0
mirror of https://github.com/XTLS/Xray-core.git synced 2025-06-18 22:29:49 +03:00

Add uid and app status in routing rule

This commit is contained in:
世界
2021-08-27 13:00:13 +08:00
parent 707efd6d12
commit 16d96aa54d
12 changed files with 429 additions and 133 deletions

View File

@ -48,6 +48,11 @@ type Inbound struct {
Conn net.Conn
// Timer of the inbound buf copier. May be nil.
Timer *signal.ActivityTimer
// Uid is the unix user id for the inbound connection
Uid uint32
// SagerNet private: AppStatus is the android app's status for the inbound connection
AppStatus []string
}
// Outbound is the metadata of an outbound connection.