@remnawave/xtls-sdk 0.14.0 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/src/xray-protos/app/commander/config.js +1 -1
- package/build/src/xray-protos/app/dispatcher/config.js +1 -1
- package/build/src/xray-protos/app/geodata/config.js +1 -1
- package/build/src/xray-protos/app/log/command/config.d.ts +2 -2
- package/build/src/xray-protos/app/log/command/config.d.ts.map +1 -1
- package/build/src/xray-protos/app/log/command/config.js +1 -1
- package/build/src/xray-protos/app/log/config.js +1 -1
- package/build/src/xray-protos/app/metrics/config.js +1 -1
- package/build/src/xray-protos/app/policy/config.js +1 -1
- package/build/src/xray-protos/app/proxyman/command/command.d.ts +20 -20
- package/build/src/xray-protos/app/proxyman/command/command.d.ts.map +1 -1
- package/build/src/xray-protos/app/proxyman/command/command.js +1 -1
- package/build/src/xray-protos/app/proxyman/config.js +1 -1
- package/build/src/xray-protos/app/reverse/config.js +1 -1
- package/build/src/xray-protos/app/router/command/command.d.ts +14 -14
- package/build/src/xray-protos/app/router/command/command.d.ts.map +1 -1
- package/build/src/xray-protos/app/router/command/command.js +1 -1
- package/build/src/xray-protos/app/stats/command/command.d.ts +14 -14
- package/build/src/xray-protos/app/stats/command/command.d.ts.map +1 -1
- package/build/src/xray-protos/app/stats/command/command.js +1 -1
- package/build/src/xray-protos/app/stats/config.js +1 -1
- package/build/src/xray-protos/app/version/config.js +1 -1
- package/build/src/xray-protos/common/geodata/geodat.js +1 -1
- package/build/src/xray-protos/common/log/log.js +1 -1
- package/build/src/xray-protos/common/net/address.js +1 -1
- package/build/src/xray-protos/common/net/destination.js +1 -1
- package/build/src/xray-protos/common/net/network.js +1 -1
- package/build/src/xray-protos/common/net/port.js +1 -1
- package/build/src/xray-protos/common/protocol/headers.js +1 -1
- package/build/src/xray-protos/common/protocol/server_spec.js +1 -1
- package/build/src/xray-protos/common/protocol/user.js +1 -1
- package/build/src/xray-protos/common/serial/typed_message.js +1 -1
- package/build/src/xray-protos/core/config.js +1 -1
- package/build/src/xray-protos/proxy/blackhole/config.js +1 -1
- package/build/src/xray-protos/proxy/dns/config.d.ts +4 -3
- package/build/src/xray-protos/proxy/dns/config.d.ts.map +1 -1
- package/build/src/xray-protos/proxy/dns/config.js +50 -23
- package/build/src/xray-protos/proxy/dokodemo/config.d.ts +4 -4
- package/build/src/xray-protos/proxy/dokodemo/config.d.ts.map +1 -1
- package/build/src/xray-protos/proxy/dokodemo/config.js +55 -43
- package/build/src/xray-protos/proxy/freedom/config.js +1 -1
- package/build/src/xray-protos/proxy/http/config.js +1 -1
- package/build/src/xray-protos/proxy/hysteria/account/config.js +1 -1
- package/build/src/xray-protos/proxy/hysteria/config.js +1 -1
- package/build/src/xray-protos/proxy/loopback/config.js +1 -1
- package/build/src/xray-protos/proxy/shadowsocks/config.js +1 -1
- package/build/src/xray-protos/proxy/shadowsocks_2022/config.js +1 -1
- package/build/src/xray-protos/proxy/socks/config.js +1 -1
- package/build/src/xray-protos/proxy/trojan/config.js +1 -1
- package/build/src/xray-protos/proxy/tun/config.js +1 -1
- package/build/src/xray-protos/proxy/vless/account.js +1 -1
- package/build/src/xray-protos/proxy/vless/encoding/addons.js +1 -1
- package/build/src/xray-protos/proxy/vless/inbound/config.d.ts +1 -1
- package/build/src/xray-protos/proxy/vless/inbound/config.d.ts.map +1 -1
- package/build/src/xray-protos/proxy/vless/inbound/config.js +8 -8
- package/build/src/xray-protos/proxy/vless/outbound/config.js +1 -1
- package/build/src/xray-protos/proxy/vmess/account.js +1 -1
- package/build/src/xray-protos/proxy/vmess/inbound/config.js +1 -1
- package/build/src/xray-protos/proxy/vmess/outbound/config.js +1 -1
- package/build/src/xray-protos/proxy/wireguard/config.js +1 -1
- package/build/src/xray-protos/transport/internet/config.js +1 -1
- package/build/src/xray-protos/typeRegistry.js +1 -1
- package/package.json +8 -8
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.11.
|
|
4
|
+
// protoc-gen-ts_proto v2.11.8
|
|
5
5
|
// protoc v6.33.4
|
|
6
6
|
// source: common/serial/typed_message.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.11.
|
|
4
|
+
// protoc-gen-ts_proto v2.11.8
|
|
5
5
|
// protoc v6.33.4
|
|
6
6
|
// source: core/config.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.11.
|
|
4
|
+
// protoc-gen-ts_proto v2.11.8
|
|
5
5
|
// protoc v6.33.4
|
|
6
6
|
// source: proxy/blackhole/config.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -5,7 +5,7 @@ export declare const protobufPackage = "xray.proxy.dns";
|
|
|
5
5
|
export declare enum RuleAction {
|
|
6
6
|
Direct = 0,
|
|
7
7
|
Drop = 1,
|
|
8
|
-
|
|
8
|
+
Return = 2,
|
|
9
9
|
Hijack = 3,
|
|
10
10
|
UNRECOGNIZED = -1
|
|
11
11
|
}
|
|
@@ -14,14 +14,15 @@ export declare function ruleActionToJSON(object: RuleAction): string;
|
|
|
14
14
|
export interface DNSRuleConfig {
|
|
15
15
|
$type: "xray.proxy.dns.DNSRuleConfig";
|
|
16
16
|
action: RuleAction;
|
|
17
|
-
|
|
17
|
+
qType: number[];
|
|
18
18
|
domain: DomainRule[];
|
|
19
|
+
rCode: number;
|
|
19
20
|
}
|
|
20
21
|
export interface Config {
|
|
21
22
|
$type: "xray.proxy.dns.Config";
|
|
22
23
|
userLevel: number;
|
|
23
24
|
rule: DNSRuleConfig[];
|
|
24
|
-
|
|
25
|
+
rewriteServer: Endpoint | undefined;
|
|
25
26
|
}
|
|
26
27
|
export declare const DNSRuleConfig: MessageFns<DNSRuleConfig, "xray.proxy.dns.DNSRuleConfig">;
|
|
27
28
|
export declare const Config: MessageFns<Config, "xray.proxy.dns.Config">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../../src/xray-protos/proxy/dns/config.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAGxD,eAAO,MAAM,eAAe,mBAAmB,CAAC;AAEhD,oBAAY,UAAU;IACpB,MAAM,IAAI;IACV,IAAI,IAAI;IACR,MAAM,IAAI;IACV,MAAM,IAAI;IACV,YAAY,KAAK;CAClB;AAED,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,GAAG,GAAG,UAAU,CAmB1D;AAED,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,UAAU,GAAG,MAAM,CAc3D;AAED,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,8BAA8B,CAAC;IACtC,MAAM,EAAE,UAAU,CAAC;IACnB,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,MAAM,EAAE,UAAU,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../../src/xray-protos/proxy/dns/config.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AACzD,OAAO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CAAC,CAAC,GAChE,CAAC,SAAS,EAAE,GAAG;KAAG,CAAC,IAAI,OAAO,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CAAE,GACvE,OAAO,CAAC,CAAC,CAAC,CAAC;AAMf,MAAM,WAAW,UAAU,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM;IAC7C,QAAQ,CAAC,KAAK,EAAE,CAAC,CAAC;IAClB,MAAM,CAAC,OAAO,EAAE,CAAC,EAAE,MAAM,CAAC,EAAE,YAAY,GAAG,YAAY,CAAC;IACxD,MAAM,CAAC,KAAK,EAAE,YAAY,GAAG,UAAU,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC;IAC7D,QAAQ,CAAC,MAAM,EAAE,GAAG,GAAG,CAAC,CAAC;IACzB,MAAM,CAAC,OAAO,EAAE,CAAC,GAAG,OAAO,CAAC;IAC5B,MAAM,CAAC,IAAI,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;IACjC,WAAW,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;CACxC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.11.
|
|
4
|
+
// protoc-gen-ts_proto v2.11.8
|
|
5
5
|
// protoc v6.33.4
|
|
6
6
|
// source: proxy/dns/config.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -18,7 +18,7 @@ var RuleAction;
|
|
|
18
18
|
(function (RuleAction) {
|
|
19
19
|
RuleAction[RuleAction["Direct"] = 0] = "Direct";
|
|
20
20
|
RuleAction[RuleAction["Drop"] = 1] = "Drop";
|
|
21
|
-
RuleAction[RuleAction["
|
|
21
|
+
RuleAction[RuleAction["Return"] = 2] = "Return";
|
|
22
22
|
RuleAction[RuleAction["Hijack"] = 3] = "Hijack";
|
|
23
23
|
RuleAction[RuleAction["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
24
24
|
})(RuleAction || (exports.RuleAction = RuleAction = {}));
|
|
@@ -31,8 +31,8 @@ function ruleActionFromJSON(object) {
|
|
|
31
31
|
case "Drop":
|
|
32
32
|
return RuleAction.Drop;
|
|
33
33
|
case 2:
|
|
34
|
-
case "
|
|
35
|
-
return RuleAction.
|
|
34
|
+
case "Return":
|
|
35
|
+
return RuleAction.Return;
|
|
36
36
|
case 3:
|
|
37
37
|
case "Hijack":
|
|
38
38
|
return RuleAction.Hijack;
|
|
@@ -48,8 +48,8 @@ function ruleActionToJSON(object) {
|
|
|
48
48
|
return "Direct";
|
|
49
49
|
case RuleAction.Drop:
|
|
50
50
|
return "Drop";
|
|
51
|
-
case RuleAction.
|
|
52
|
-
return "
|
|
51
|
+
case RuleAction.Return:
|
|
52
|
+
return "Return";
|
|
53
53
|
case RuleAction.Hijack:
|
|
54
54
|
return "Hijack";
|
|
55
55
|
case RuleAction.UNRECOGNIZED:
|
|
@@ -58,7 +58,7 @@ function ruleActionToJSON(object) {
|
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
function createBaseDNSRuleConfig() {
|
|
61
|
-
return { $type: "xray.proxy.dns.DNSRuleConfig", action: 0,
|
|
61
|
+
return { $type: "xray.proxy.dns.DNSRuleConfig", action: 0, qType: [], domain: [], rCode: 0 };
|
|
62
62
|
}
|
|
63
63
|
exports.DNSRuleConfig = {
|
|
64
64
|
$type: "xray.proxy.dns.DNSRuleConfig",
|
|
@@ -67,13 +67,16 @@ exports.DNSRuleConfig = {
|
|
|
67
67
|
writer.uint32(8).int32(message.action);
|
|
68
68
|
}
|
|
69
69
|
writer.uint32(18).fork();
|
|
70
|
-
for (const v of message.
|
|
70
|
+
for (const v of message.qType) {
|
|
71
71
|
writer.int32(v);
|
|
72
72
|
}
|
|
73
73
|
writer.join();
|
|
74
74
|
for (const v of message.domain) {
|
|
75
75
|
geodat_1.DomainRule.encode(v, writer.uint32(26).fork()).join();
|
|
76
76
|
}
|
|
77
|
+
if (message.rCode !== 0) {
|
|
78
|
+
writer.uint32(32).uint32(message.rCode);
|
|
79
|
+
}
|
|
77
80
|
return writer;
|
|
78
81
|
},
|
|
79
82
|
decode(input, length) {
|
|
@@ -92,13 +95,13 @@ exports.DNSRuleConfig = {
|
|
|
92
95
|
}
|
|
93
96
|
case 2: {
|
|
94
97
|
if (tag === 16) {
|
|
95
|
-
message.
|
|
98
|
+
message.qType.push(reader.int32());
|
|
96
99
|
continue;
|
|
97
100
|
}
|
|
98
101
|
if (tag === 18) {
|
|
99
102
|
const end2 = reader.uint32() + reader.pos;
|
|
100
103
|
while (reader.pos < end2) {
|
|
101
|
-
message.
|
|
104
|
+
message.qType.push(reader.int32());
|
|
102
105
|
}
|
|
103
106
|
continue;
|
|
104
107
|
}
|
|
@@ -111,6 +114,13 @@ exports.DNSRuleConfig = {
|
|
|
111
114
|
message.domain.push(geodat_1.DomainRule.decode(reader, reader.uint32()));
|
|
112
115
|
continue;
|
|
113
116
|
}
|
|
117
|
+
case 4: {
|
|
118
|
+
if (tag !== 32) {
|
|
119
|
+
break;
|
|
120
|
+
}
|
|
121
|
+
message.rCode = reader.uint32();
|
|
122
|
+
continue;
|
|
123
|
+
}
|
|
114
124
|
}
|
|
115
125
|
if ((tag & 7) === 4 || tag === 0) {
|
|
116
126
|
break;
|
|
@@ -123,8 +133,17 @@ exports.DNSRuleConfig = {
|
|
|
123
133
|
return {
|
|
124
134
|
$type: exports.DNSRuleConfig.$type,
|
|
125
135
|
action: isSet(object.action) ? ruleActionFromJSON(object.action) : 0,
|
|
126
|
-
|
|
136
|
+
qType: globalThis.Array.isArray(object?.qType)
|
|
137
|
+
? object.qType.map((e) => globalThis.Number(e))
|
|
138
|
+
: globalThis.Array.isArray(object?.q_type)
|
|
139
|
+
? object.q_type.map((e) => globalThis.Number(e))
|
|
140
|
+
: [],
|
|
127
141
|
domain: globalThis.Array.isArray(object?.domain) ? object.domain.map((e) => geodat_1.DomainRule.fromJSON(e)) : [],
|
|
142
|
+
rCode: isSet(object.rCode)
|
|
143
|
+
? globalThis.Number(object.rCode)
|
|
144
|
+
: isSet(object.r_code)
|
|
145
|
+
? globalThis.Number(object.r_code)
|
|
146
|
+
: 0,
|
|
128
147
|
};
|
|
129
148
|
},
|
|
130
149
|
toJSON(message) {
|
|
@@ -132,12 +151,15 @@ exports.DNSRuleConfig = {
|
|
|
132
151
|
if (message.action !== 0) {
|
|
133
152
|
obj.action = ruleActionToJSON(message.action);
|
|
134
153
|
}
|
|
135
|
-
if (message.
|
|
136
|
-
obj.
|
|
154
|
+
if (message.qType?.length) {
|
|
155
|
+
obj.qType = message.qType.map((e) => Math.round(e));
|
|
137
156
|
}
|
|
138
157
|
if (message.domain?.length) {
|
|
139
158
|
obj.domain = message.domain.map((e) => geodat_1.DomainRule.toJSON(e));
|
|
140
159
|
}
|
|
160
|
+
if (message.rCode !== 0) {
|
|
161
|
+
obj.rCode = Math.round(message.rCode);
|
|
162
|
+
}
|
|
141
163
|
return obj;
|
|
142
164
|
},
|
|
143
165
|
create(base) {
|
|
@@ -146,14 +168,15 @@ exports.DNSRuleConfig = {
|
|
|
146
168
|
fromPartial(object) {
|
|
147
169
|
const message = createBaseDNSRuleConfig();
|
|
148
170
|
message.action = object.action ?? 0;
|
|
149
|
-
message.
|
|
171
|
+
message.qType = object.qType?.map((e) => e) || [];
|
|
150
172
|
message.domain = object.domain?.map((e) => geodat_1.DomainRule.fromPartial(e)) || [];
|
|
173
|
+
message.rCode = object.rCode ?? 0;
|
|
151
174
|
return message;
|
|
152
175
|
},
|
|
153
176
|
};
|
|
154
177
|
typeRegistry_1.messageTypeRegistry.set(exports.DNSRuleConfig.$type, exports.DNSRuleConfig);
|
|
155
178
|
function createBaseConfig() {
|
|
156
|
-
return { $type: "xray.proxy.dns.Config", userLevel: 0, rule: [],
|
|
179
|
+
return { $type: "xray.proxy.dns.Config", userLevel: 0, rule: [], rewriteServer: undefined };
|
|
157
180
|
}
|
|
158
181
|
exports.Config = {
|
|
159
182
|
$type: "xray.proxy.dns.Config",
|
|
@@ -164,8 +187,8 @@ exports.Config = {
|
|
|
164
187
|
for (const v of message.rule) {
|
|
165
188
|
exports.DNSRuleConfig.encode(v, writer.uint32(18).fork()).join();
|
|
166
189
|
}
|
|
167
|
-
if (message.
|
|
168
|
-
destination_1.Endpoint.encode(message.
|
|
190
|
+
if (message.rewriteServer !== undefined) {
|
|
191
|
+
destination_1.Endpoint.encode(message.rewriteServer, writer.uint32(26).fork()).join();
|
|
169
192
|
}
|
|
170
193
|
return writer;
|
|
171
194
|
},
|
|
@@ -194,7 +217,7 @@ exports.Config = {
|
|
|
194
217
|
if (tag !== 26) {
|
|
195
218
|
break;
|
|
196
219
|
}
|
|
197
|
-
message.
|
|
220
|
+
message.rewriteServer = destination_1.Endpoint.decode(reader, reader.uint32());
|
|
198
221
|
continue;
|
|
199
222
|
}
|
|
200
223
|
}
|
|
@@ -214,7 +237,11 @@ exports.Config = {
|
|
|
214
237
|
? globalThis.Number(object.user_level)
|
|
215
238
|
: 0,
|
|
216
239
|
rule: globalThis.Array.isArray(object?.rule) ? object.rule.map((e) => exports.DNSRuleConfig.fromJSON(e)) : [],
|
|
217
|
-
|
|
240
|
+
rewriteServer: isSet(object.rewriteServer)
|
|
241
|
+
? destination_1.Endpoint.fromJSON(object.rewriteServer)
|
|
242
|
+
: isSet(object.rewrite_server)
|
|
243
|
+
? destination_1.Endpoint.fromJSON(object.rewrite_server)
|
|
244
|
+
: undefined,
|
|
218
245
|
};
|
|
219
246
|
},
|
|
220
247
|
toJSON(message) {
|
|
@@ -225,8 +252,8 @@ exports.Config = {
|
|
|
225
252
|
if (message.rule?.length) {
|
|
226
253
|
obj.rule = message.rule.map((e) => exports.DNSRuleConfig.toJSON(e));
|
|
227
254
|
}
|
|
228
|
-
if (message.
|
|
229
|
-
obj.
|
|
255
|
+
if (message.rewriteServer !== undefined) {
|
|
256
|
+
obj.rewriteServer = destination_1.Endpoint.toJSON(message.rewriteServer);
|
|
230
257
|
}
|
|
231
258
|
return obj;
|
|
232
259
|
},
|
|
@@ -237,8 +264,8 @@ exports.Config = {
|
|
|
237
264
|
const message = createBaseConfig();
|
|
238
265
|
message.userLevel = object.userLevel ?? 0;
|
|
239
266
|
message.rule = object.rule?.map((e) => exports.DNSRuleConfig.fromPartial(e)) || [];
|
|
240
|
-
message.
|
|
241
|
-
? destination_1.Endpoint.fromPartial(object.
|
|
267
|
+
message.rewriteServer = (object.rewriteServer !== undefined && object.rewriteServer !== null)
|
|
268
|
+
? destination_1.Endpoint.fromPartial(object.rewriteServer)
|
|
242
269
|
: undefined;
|
|
243
270
|
return message;
|
|
244
271
|
},
|
|
@@ -4,13 +4,13 @@ import { Network } from "../../common/net/network";
|
|
|
4
4
|
export declare const protobufPackage = "xray.proxy.dokodemo";
|
|
5
5
|
export interface Config {
|
|
6
6
|
$type: "xray.proxy.dokodemo.Config";
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
/** List of networks that the Dokodemo accepts. */
|
|
8
|
+
allowedNetworks: Network[];
|
|
9
|
+
rewriteAddress: IPOrDomain | undefined;
|
|
10
|
+
rewritePort: number;
|
|
9
11
|
portMap: {
|
|
10
12
|
[key: string]: string;
|
|
11
13
|
};
|
|
12
|
-
/** List of networks that the Dokodemo accepts. */
|
|
13
|
-
networks: Network[];
|
|
14
14
|
followRedirect: boolean;
|
|
15
15
|
userLevel: number;
|
|
16
16
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../../src/xray-protos/proxy/dokodemo/config.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,C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
6
6
|
// source: proxy/dokodemo/config.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -15,10 +15,10 @@ exports.protobufPackage = "xray.proxy.dokodemo";
|
|
|
15
15
|
function createBaseConfig() {
|
|
16
16
|
return {
|
|
17
17
|
$type: "xray.proxy.dokodemo.Config",
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
allowedNetworks: [],
|
|
19
|
+
rewriteAddress: undefined,
|
|
20
|
+
rewritePort: 0,
|
|
20
21
|
portMap: {},
|
|
21
|
-
networks: [],
|
|
22
22
|
followRedirect: false,
|
|
23
23
|
userLevel: 0,
|
|
24
24
|
};
|
|
@@ -26,20 +26,20 @@ function createBaseConfig() {
|
|
|
26
26
|
exports.Config = {
|
|
27
27
|
$type: "xray.proxy.dokodemo.Config",
|
|
28
28
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
writer.uint32(58).fork();
|
|
30
|
+
for (const v of message.allowedNetworks) {
|
|
31
|
+
writer.int32(v);
|
|
31
32
|
}
|
|
32
|
-
|
|
33
|
-
|
|
33
|
+
writer.join();
|
|
34
|
+
if (message.rewriteAddress !== undefined) {
|
|
35
|
+
address_1.IPOrDomain.encode(message.rewriteAddress, writer.uint32(10).fork()).join();
|
|
36
|
+
}
|
|
37
|
+
if (message.rewritePort !== 0) {
|
|
38
|
+
writer.uint32(16).uint32(message.rewritePort);
|
|
34
39
|
}
|
|
35
40
|
globalThis.Object.entries(message.portMap).forEach(([key, value]) => {
|
|
36
41
|
exports.Config_PortMapEntry.encode({ $type: "xray.proxy.dokodemo.Config.PortMapEntry", key: key, value }, writer.uint32(26).fork()).join();
|
|
37
42
|
});
|
|
38
|
-
writer.uint32(58).fork();
|
|
39
|
-
for (const v of message.networks) {
|
|
40
|
-
writer.int32(v);
|
|
41
|
-
}
|
|
42
|
-
writer.join();
|
|
43
43
|
if (message.followRedirect !== false) {
|
|
44
44
|
writer.uint32(40).bool(message.followRedirect);
|
|
45
45
|
}
|
|
@@ -55,18 +55,32 @@ exports.Config = {
|
|
|
55
55
|
while (reader.pos < end) {
|
|
56
56
|
const tag = reader.uint32();
|
|
57
57
|
switch (tag >>> 3) {
|
|
58
|
+
case 7: {
|
|
59
|
+
if (tag === 56) {
|
|
60
|
+
message.allowedNetworks.push(reader.int32());
|
|
61
|
+
continue;
|
|
62
|
+
}
|
|
63
|
+
if (tag === 58) {
|
|
64
|
+
const end2 = reader.uint32() + reader.pos;
|
|
65
|
+
while (reader.pos < end2) {
|
|
66
|
+
message.allowedNetworks.push(reader.int32());
|
|
67
|
+
}
|
|
68
|
+
continue;
|
|
69
|
+
}
|
|
70
|
+
break;
|
|
71
|
+
}
|
|
58
72
|
case 1: {
|
|
59
73
|
if (tag !== 10) {
|
|
60
74
|
break;
|
|
61
75
|
}
|
|
62
|
-
message.
|
|
76
|
+
message.rewriteAddress = address_1.IPOrDomain.decode(reader, reader.uint32());
|
|
63
77
|
continue;
|
|
64
78
|
}
|
|
65
79
|
case 2: {
|
|
66
80
|
if (tag !== 16) {
|
|
67
81
|
break;
|
|
68
82
|
}
|
|
69
|
-
message.
|
|
83
|
+
message.rewritePort = reader.uint32();
|
|
70
84
|
continue;
|
|
71
85
|
}
|
|
72
86
|
case 3: {
|
|
@@ -79,20 +93,6 @@ exports.Config = {
|
|
|
79
93
|
}
|
|
80
94
|
continue;
|
|
81
95
|
}
|
|
82
|
-
case 7: {
|
|
83
|
-
if (tag === 56) {
|
|
84
|
-
message.networks.push(reader.int32());
|
|
85
|
-
continue;
|
|
86
|
-
}
|
|
87
|
-
if (tag === 58) {
|
|
88
|
-
const end2 = reader.uint32() + reader.pos;
|
|
89
|
-
while (reader.pos < end2) {
|
|
90
|
-
message.networks.push(reader.int32());
|
|
91
|
-
}
|
|
92
|
-
continue;
|
|
93
|
-
}
|
|
94
|
-
break;
|
|
95
|
-
}
|
|
96
96
|
case 5: {
|
|
97
97
|
if (tag !== 40) {
|
|
98
98
|
break;
|
|
@@ -118,8 +118,21 @@ exports.Config = {
|
|
|
118
118
|
fromJSON(object) {
|
|
119
119
|
return {
|
|
120
120
|
$type: exports.Config.$type,
|
|
121
|
-
|
|
122
|
-
|
|
121
|
+
allowedNetworks: globalThis.Array.isArray(object?.allowedNetworks)
|
|
122
|
+
? object.allowedNetworks.map((e) => (0, network_1.networkFromJSON)(e))
|
|
123
|
+
: globalThis.Array.isArray(object?.allowed_networks)
|
|
124
|
+
? object.allowed_networks.map((e) => (0, network_1.networkFromJSON)(e))
|
|
125
|
+
: [],
|
|
126
|
+
rewriteAddress: isSet(object.rewriteAddress)
|
|
127
|
+
? address_1.IPOrDomain.fromJSON(object.rewriteAddress)
|
|
128
|
+
: isSet(object.rewrite_address)
|
|
129
|
+
? address_1.IPOrDomain.fromJSON(object.rewrite_address)
|
|
130
|
+
: undefined,
|
|
131
|
+
rewritePort: isSet(object.rewritePort)
|
|
132
|
+
? globalThis.Number(object.rewritePort)
|
|
133
|
+
: isSet(object.rewrite_port)
|
|
134
|
+
? globalThis.Number(object.rewrite_port)
|
|
135
|
+
: 0,
|
|
123
136
|
portMap: isObject(object.portMap)
|
|
124
137
|
? globalThis.Object.entries(object.portMap).reduce((acc, [key, value]) => {
|
|
125
138
|
acc[key] = globalThis.String(value);
|
|
@@ -131,7 +144,6 @@ exports.Config = {
|
|
|
131
144
|
return acc;
|
|
132
145
|
}, {})
|
|
133
146
|
: {},
|
|
134
|
-
networks: globalThis.Array.isArray(object?.networks) ? object.networks.map((e) => (0, network_1.networkFromJSON)(e)) : [],
|
|
135
147
|
followRedirect: isSet(object.followRedirect)
|
|
136
148
|
? globalThis.Boolean(object.followRedirect)
|
|
137
149
|
: isSet(object.follow_redirect)
|
|
@@ -146,11 +158,14 @@ exports.Config = {
|
|
|
146
158
|
},
|
|
147
159
|
toJSON(message) {
|
|
148
160
|
const obj = {};
|
|
149
|
-
if (message.
|
|
150
|
-
obj.
|
|
161
|
+
if (message.allowedNetworks?.length) {
|
|
162
|
+
obj.allowedNetworks = message.allowedNetworks.map((e) => (0, network_1.networkToJSON)(e));
|
|
151
163
|
}
|
|
152
|
-
if (message.
|
|
153
|
-
obj.
|
|
164
|
+
if (message.rewriteAddress !== undefined) {
|
|
165
|
+
obj.rewriteAddress = address_1.IPOrDomain.toJSON(message.rewriteAddress);
|
|
166
|
+
}
|
|
167
|
+
if (message.rewritePort !== 0) {
|
|
168
|
+
obj.rewritePort = Math.round(message.rewritePort);
|
|
154
169
|
}
|
|
155
170
|
if (message.portMap) {
|
|
156
171
|
const entries = globalThis.Object.entries(message.portMap);
|
|
@@ -161,9 +176,6 @@ exports.Config = {
|
|
|
161
176
|
});
|
|
162
177
|
}
|
|
163
178
|
}
|
|
164
|
-
if (message.networks?.length) {
|
|
165
|
-
obj.networks = message.networks.map((e) => (0, network_1.networkToJSON)(e));
|
|
166
|
-
}
|
|
167
179
|
if (message.followRedirect !== false) {
|
|
168
180
|
obj.followRedirect = message.followRedirect;
|
|
169
181
|
}
|
|
@@ -177,17 +189,17 @@ exports.Config = {
|
|
|
177
189
|
},
|
|
178
190
|
fromPartial(object) {
|
|
179
191
|
const message = createBaseConfig();
|
|
180
|
-
message.
|
|
181
|
-
|
|
192
|
+
message.allowedNetworks = object.allowedNetworks?.map((e) => e) || [];
|
|
193
|
+
message.rewriteAddress = (object.rewriteAddress !== undefined && object.rewriteAddress !== null)
|
|
194
|
+
? address_1.IPOrDomain.fromPartial(object.rewriteAddress)
|
|
182
195
|
: undefined;
|
|
183
|
-
message.
|
|
196
|
+
message.rewritePort = object.rewritePort ?? 0;
|
|
184
197
|
message.portMap = globalThis.Object.entries(object.portMap ?? {}).reduce((acc, [key, value]) => {
|
|
185
198
|
if (value !== undefined) {
|
|
186
199
|
acc[key] = globalThis.String(value);
|
|
187
200
|
}
|
|
188
201
|
return acc;
|
|
189
202
|
}, {});
|
|
190
|
-
message.networks = object.networks?.map((e) => e) || [];
|
|
191
203
|
message.followRedirect = object.followRedirect ?? false;
|
|
192
204
|
message.userLevel = object.userLevel ?? 0;
|
|
193
205
|
return message;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.11.
|
|
4
|
+
// protoc-gen-ts_proto v2.11.8
|
|
5
5
|
// protoc v6.33.4
|
|
6
6
|
// source: proxy/freedom/config.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.11.
|
|
4
|
+
// protoc-gen-ts_proto v2.11.8
|
|
5
5
|
// protoc v6.33.4
|
|
6
6
|
// source: proxy/http/config.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.11.
|
|
4
|
+
// protoc-gen-ts_proto v2.11.8
|
|
5
5
|
// protoc v6.33.4
|
|
6
6
|
// source: proxy/hysteria/account/config.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.11.
|
|
4
|
+
// protoc-gen-ts_proto v2.11.8
|
|
5
5
|
// protoc v6.33.4
|
|
6
6
|
// source: proxy/hysteria/config.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.11.
|
|
4
|
+
// protoc-gen-ts_proto v2.11.8
|
|
5
5
|
// protoc v6.33.4
|
|
6
6
|
// source: proxy/loopback/config.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.11.
|
|
4
|
+
// protoc-gen-ts_proto v2.11.8
|
|
5
5
|
// protoc v6.33.4
|
|
6
6
|
// source: proxy/shadowsocks/config.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.11.
|
|
4
|
+
// protoc-gen-ts_proto v2.11.8
|
|
5
5
|
// protoc v6.33.4
|
|
6
6
|
// source: proxy/shadowsocks_2022/config.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.11.
|
|
4
|
+
// protoc-gen-ts_proto v2.11.8
|
|
5
5
|
// protoc v6.33.4
|
|
6
6
|
// source: proxy/socks/config.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.11.
|
|
4
|
+
// protoc-gen-ts_proto v2.11.8
|
|
5
5
|
// protoc v6.33.4
|
|
6
6
|
// source: proxy/trojan/config.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.11.
|
|
4
|
+
// protoc-gen-ts_proto v2.11.8
|
|
5
5
|
// protoc v6.33.4
|
|
6
6
|
// source: proxy/tun/config.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.11.
|
|
4
|
+
// protoc-gen-ts_proto v2.11.8
|
|
5
5
|
// protoc v6.33.4
|
|
6
6
|
// source: proxy/vless/account.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.11.
|
|
4
|
+
// protoc-gen-ts_proto v2.11.8
|
|
5
5
|
// protoc v6.33.4
|
|
6
6
|
// source: proxy/vless/encoding/addons.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../../../src/xray-protos/proxy/vless/inbound/config.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AAGrD,eAAO,MAAM,eAAe,6BAA6B,CA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