mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-12-17 20:54:36 +03:00
Some checks are pending
Build docker image / build-image (push) Waiting to run
Build and Release / prepare (push) Waiting to run
Build and Release / build (386, freebsd, , ) (push) Blocked by required conditions
Build and Release / build (386, linux, , ) (push) Blocked by required conditions
Build and Release / build (386, openbsd, , ) (push) Blocked by required conditions
Build and Release / build (386, windows, , ) (push) Blocked by required conditions
Build and Release / build (386, windows, 1.21.4, win7-32) (push) Blocked by required conditions
Build and Release / build (amd64, darwin, , ) (push) Blocked by required conditions
Build and Release / build (amd64, freebsd, , ) (push) Blocked by required conditions
Build and Release / build (amd64, linux, , ) (push) Blocked by required conditions
Build and Release / build (amd64, openbsd, , ) (push) Blocked by required conditions
Build and Release / build (amd64, windows, , ) (push) Blocked by required conditions
Build and Release / build (amd64, windows, 1.21.4, win7-64) (push) Blocked by required conditions
Build and Release / build (arm, 5, linux) (push) Blocked by required conditions
Build and Release / build (arm, 6, linux) (push) Blocked by required conditions
Build and Release / build (arm, 7, freebsd) (push) Blocked by required conditions
Build and Release / build (arm, 7, linux) (push) Blocked by required conditions
Build and Release / build (arm, 7, openbsd) (push) Blocked by required conditions
Build and Release / build (arm, 7, windows) (push) Blocked by required conditions
Build and Release / build (arm64, android) (push) Blocked by required conditions
Build and Release / build (arm64, darwin) (push) Blocked by required conditions
Build and Release / build (arm64, freebsd) (push) Blocked by required conditions
Build and Release / build (arm64, linux) (push) Blocked by required conditions
Build and Release / build (arm64, openbsd) (push) Blocked by required conditions
Build and Release / build (arm64, windows) (push) Blocked by required conditions
Build and Release / build (loong64, linux) (push) Blocked by required conditions
Build and Release / build (mips, linux) (push) Blocked by required conditions
Build and Release / build (mips64, linux) (push) Blocked by required conditions
Build and Release / build (mips64le, linux) (push) Blocked by required conditions
Build and Release / build (mipsle, linux) (push) Blocked by required conditions
Build and Release / build (ppc64, linux) (push) Blocked by required conditions
Build and Release / build (ppc64le, linux) (push) Blocked by required conditions
Build and Release / build (riscv64, linux) (push) Blocked by required conditions
Build and Release / build (s390x, linux) (push) Blocked by required conditions
Test / test (macos-latest) (push) Waiting to run
Test / test (ubuntu-latest) (push) Waiting to run
Test / test (windows-latest) (push) Waiting to run
* Add GetInboundUser in proto * Add get user logic for all existing inbounds * Add inbounduser command * Add option to get all users * Fix shadowsocks2022 config * Fix init users in shadowsocks2022 * Fix copy * Add inbound user count command This api costs much less than get inbound user, could be useful in some case * Update from latest main
55 lines
1.2 KiB
Protocol Buffer
55 lines
1.2 KiB
Protocol Buffer
syntax = "proto3";
|
|
|
|
package xray.proxy.shadowsocks_2022;
|
|
option csharp_namespace = "Xray.Proxy.Shadowsocks2022";
|
|
option go_package = "github.com/xtls/xray-core/proxy/shadowsocks_2022";
|
|
option java_package = "com.xray.proxy.shadowsocks_2022";
|
|
option java_multiple_files = true;
|
|
|
|
import "common/net/network.proto";
|
|
import "common/net/address.proto";
|
|
import "common/protocol/user.proto";
|
|
|
|
message ServerConfig {
|
|
string method = 1;
|
|
string key = 2;
|
|
string email = 3;
|
|
int32 level = 4;
|
|
repeated xray.common.net.Network network = 5;
|
|
}
|
|
|
|
message MultiUserServerConfig {
|
|
string method = 1;
|
|
string key = 2;
|
|
repeated xray.common.protocol.User users = 3;
|
|
repeated xray.common.net.Network network = 4;
|
|
}
|
|
|
|
message RelayDestination {
|
|
string key = 1;
|
|
xray.common.net.IPOrDomain address = 2;
|
|
uint32 port = 3;
|
|
string email = 4;
|
|
int32 level = 5;
|
|
}
|
|
|
|
message RelayServerConfig {
|
|
string method = 1;
|
|
string key = 2;
|
|
repeated RelayDestination destinations = 3;
|
|
repeated xray.common.net.Network network = 4;
|
|
}
|
|
|
|
message Account {
|
|
string key = 1;
|
|
}
|
|
|
|
message ClientConfig {
|
|
xray.common.net.IPOrDomain address = 1;
|
|
uint32 port = 2;
|
|
string method = 3;
|
|
string key = 4;
|
|
bool udp_over_tcp = 5;
|
|
uint32 udp_over_tcp_version = 6;
|
|
}
|