python-xray-api 1.8.7__py3-none-any.whl → 1.8.9__py3-none-any.whl
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.
- {python_xray_api-1.8.7.dist-info → python_xray_api-1.8.9.dist-info}/METADATA +1 -1
- {python_xray_api-1.8.7.dist-info → python_xray_api-1.8.9.dist-info}/RECORD +12 -12
- xray/app/observatory/config_pb2.py +11 -9
- xray/app/router/command/command_pb2.py +19 -5
- xray/app/router/command/command_pb2_grpc.py +86 -0
- xray/app/router/config_pb2.py +32 -27
- xray/proxy/freedom/config_pb2.py +4 -4
- xray/transport/internet/grpc/config_pb2.py +2 -2
- xray/transport/internet/reality/config_pb2.py +2 -2
- {python_xray_api-1.8.7.dist-info → python_xray_api-1.8.9.dist-info}/WHEEL +0 -0
- {python_xray_api-1.8.7.dist-info → python_xray_api-1.8.9.dist-info}/licenses/LICENSE +0 -0
- {python_xray_api-1.8.7.dist-info → python_xray_api-1.8.9.dist-info}/top_level.txt +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
python_xray_api-1.8.
|
|
1
|
+
python_xray_api-1.8.9.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
2
2
|
xray/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
3
|
xray/app/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
4
|
xray/app/commander/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -26,7 +26,7 @@ xray/app/metrics/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,
|
|
|
26
26
|
xray/app/metrics/config_pb2.py,sha256=9aDuFI10B8YuHiGISkOq3qmC89TxQFDASRHpx8ZdxrQ,1573
|
|
27
27
|
xray/app/metrics/config_pb2_grpc.py,sha256=PVnqRC_ScFIUZfraluy8oHh1RXVCcAMKkxNjjRjcW4Y,898
|
|
28
28
|
xray/app/observatory/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
29
|
-
xray/app/observatory/config_pb2.py,sha256=
|
|
29
|
+
xray/app/observatory/config_pb2.py,sha256=MLDGzw7kj1bTl5RDWaU5wWydUoCnHpIqXGBZye0wV-w,3270
|
|
30
30
|
xray/app/observatory/config_pb2_grpc.py,sha256=PDlSfT5NSY3gnJuVXh9_84ROTpuU2lZGt4gjyuNmgk4,902
|
|
31
31
|
xray/app/observatory/burst/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
32
32
|
xray/app/observatory/burst/config_pb2.py,sha256=V7kQu4yK_d0y4-ylfugJF9wbEWfrv5_kZUeZOXaUuqM,2142
|
|
@@ -47,11 +47,11 @@ xray/app/reverse/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,
|
|
|
47
47
|
xray/app/reverse/config_pb2.py,sha256=Bn0dIc8MmejlWnNPQnN_M2VmYPnEM5DA_dueBK_EY2Q,2488
|
|
48
48
|
xray/app/reverse/config_pb2_grpc.py,sha256=wcweMTtQ020DbsGJZf_pImTleRvb0sT1weYjnFbH808,898
|
|
49
49
|
xray/app/router/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
50
|
-
xray/app/router/config_pb2.py,sha256=
|
|
50
|
+
xray/app/router/config_pb2.py,sha256=LWY8ain35BK2mc1qX4oWf8xBCkSKmOTcUhUQD_wesLY,7463
|
|
51
51
|
xray/app/router/config_pb2_grpc.py,sha256=7aLauvqoAnj1rYu4KWDd9LzfZ4_JVvgJMjqkS-uSx9I,897
|
|
52
52
|
xray/app/router/command/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
53
|
-
xray/app/router/command/command_pb2.py,sha256=
|
|
54
|
-
xray/app/router/command/command_pb2_grpc.py,sha256=
|
|
53
|
+
xray/app/router/command/command_pb2.py,sha256=lakkcKTDbPufxM2_3GG7m_7l8O9uG2b2cZz9E1w_5Qs,5547
|
|
54
|
+
xray/app/router/command/command_pb2_grpc.py,sha256=yvQlZ8Tw3dxRh4A4U5Md4NzQ8J87qqpCoepkEDw79tU,9794
|
|
55
55
|
xray/app/stats/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
56
56
|
xray/app/stats/config_pb2.py,sha256=q2FT1IajXUy69cH8uriiqHmEimg_bKgepNoYiJTD2L0,1770
|
|
57
57
|
xray/app/stats/config_pb2_grpc.py,sha256=K2Q5nflGpqMRx2CBf1QyozM8Abth05JrLxQurDPBS_0,896
|
|
@@ -101,7 +101,7 @@ xray/proxy/dokodemo/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSu
|
|
|
101
101
|
xray/proxy/dokodemo/config_pb2.py,sha256=7zs9V-LWn-BF6RK4gwLlVx617xpogXMLWGo5Dt0Ndjw,2526
|
|
102
102
|
xray/proxy/dokodemo/config_pb2_grpc.py,sha256=ypX4u2pEB0dI2q5cEZPtxw95RnRXgLEPJ--6bMc3M_c,901
|
|
103
103
|
xray/proxy/freedom/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
104
|
-
xray/proxy/freedom/config_pb2.py,sha256=
|
|
104
|
+
xray/proxy/freedom/config_pb2.py,sha256=Xppw9LAKO8E-LDQZLi0HwQ1t5krygjs_gF8QiPnEMsk,3316
|
|
105
105
|
xray/proxy/freedom/config_pb2_grpc.py,sha256=SDIkbZYpwb76GM-OuRFeyX02QYUXmqCr50euDrWtl1M,900
|
|
106
106
|
xray/proxy/http/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
107
107
|
xray/proxy/http/config_pb2.py,sha256=u2y1AQfK43S9LPtWZc5NLO_KRGidumFrpZ3RivdIyDs,3066
|
|
@@ -231,7 +231,7 @@ xray/transport/internet/finalmask/xmc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCe
|
|
|
231
231
|
xray/transport/internet/finalmask/xmc/config_pb2.py,sha256=WK14xWoQ99nqpVRTiEYdWsZpsfKpCsr8_WkgV__xJ1A,1954
|
|
232
232
|
xray/transport/internet/finalmask/xmc/config_pb2_grpc.py,sha256=o5RWlzAP9JSmR06M3lXINllIcQ8SuYRhYBfbpCdagow,919
|
|
233
233
|
xray/transport/internet/grpc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
234
|
-
xray/transport/internet/grpc/config_pb2.py,sha256=
|
|
234
|
+
xray/transport/internet/grpc/config_pb2.py,sha256=7f9KWeA9r68vnqDFtnadAj3GFvE-p9rs8Hk4-IBtwxc,1866
|
|
235
235
|
xray/transport/internet/grpc/config_pb2_grpc.py,sha256=rhBMtfnng_zclIG-ykMb6XZe_RVZfL2cRQT_1LBv_Do,910
|
|
236
236
|
xray/transport/internet/grpc/encoding/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
237
237
|
xray/transport/internet/grpc/encoding/stream_pb2.py,sha256=Cr4ZA_3LJeaIUcGejr9Y6tAfNy2ENGC-MJcanE-Xh9o,2142
|
|
@@ -280,7 +280,7 @@ xray/transport/internet/quic/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NM
|
|
|
280
280
|
xray/transport/internet/quic/config_pb2.py,sha256=NHgpu-eQjh9XvAGSy0bZpMCUbPPWkgbS3b5523inwFU,2105
|
|
281
281
|
xray/transport/internet/quic/config_pb2_grpc.py,sha256=fRKoUKCtrptVkCwP0hy-8LVg5-Bhe4RbAP04N8VqMDs,910
|
|
282
282
|
xray/transport/internet/reality/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
283
|
-
xray/transport/internet/reality/config_pb2.py,sha256=
|
|
283
|
+
xray/transport/internet/reality/config_pb2.py,sha256=Q738mJzLIPP4esOZu-x8dvtuzNcLGuurAmSU4PDAYYA,2387
|
|
284
284
|
xray/transport/internet/reality/config_pb2_grpc.py,sha256=omsFSuJAHDTZiI-3oPGgUBBJgbAb4qNKkq6fEKltiwo,913
|
|
285
285
|
xray/transport/internet/splithttp/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
286
286
|
xray/transport/internet/splithttp/config_pb2.py,sha256=ZVg-WhpV0g9RgS02qWHl81szevefLFsObvQ__VBinZs,2313
|
|
@@ -300,7 +300,7 @@ xray/transport/internet/websocket/config_pb2_grpc.py,sha256=EsCJZHe8xKLPmq4rgo_b
|
|
|
300
300
|
xray/transport/internet/xdrive/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
301
301
|
xray/transport/internet/xdrive/config_pb2.py,sha256=a1qn1E9safYaHQMi7Mb-v3T-dhr9mdLwCpB6-pzvwzc,2041
|
|
302
302
|
xray/transport/internet/xdrive/config_pb2_grpc.py,sha256=PhymQerWSI10HcAik_AL9XJXx2k9wxdcyO0BTNJ3AlE,912
|
|
303
|
-
python_xray_api-1.8.
|
|
304
|
-
python_xray_api-1.8.
|
|
305
|
-
python_xray_api-1.8.
|
|
306
|
-
python_xray_api-1.8.
|
|
303
|
+
python_xray_api-1.8.9.dist-info/METADATA,sha256=Dpw-5_ZEp1b0PQEDx9I5cR3KlLUHd_ZaD-j57FC0qg8,1205
|
|
304
|
+
python_xray_api-1.8.9.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
|
|
305
|
+
python_xray_api-1.8.9.dist-info/top_level.txt,sha256=pvtronOrCIr1CFYP2-_Bd5fiz8d7NzKgcquJ42WYYD8,5
|
|
306
|
+
python_xray_api-1.8.9.dist-info/RECORD,,
|
|
@@ -24,7 +24,7 @@ _sym_db = _symbol_database.Default()
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x61pp/observatory/config.proto\x12\x19xray.core.app.observatory\"N\n\x11ObservationResult\x12\x39\n\x06status\x18\x01 \x03(\x0b\x32).xray.core.app.observatory.OutboundStatus\"\
|
|
27
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x61pp/observatory/config.proto\x12\x19xray.core.app.observatory\"N\n\x11ObservationResult\x12\x39\n\x06status\x18\x01 \x03(\x0b\x32).xray.core.app.observatory.OutboundStatus\"v\n\x1bHealthPingMeasurementResult\x12\x0b\n\x03\x61ll\x18\x01 \x01(\x03\x12\x0c\n\x04\x66\x61il\x18\x02 \x01(\x03\x12\x11\n\tdeviation\x18\x03 \x01(\x03\x12\x0f\n\x07\x61verage\x18\x04 \x01(\x03\x12\x0b\n\x03max\x18\x05 \x01(\x03\x12\x0b\n\x03min\x18\x06 \x01(\x03\"\xdb\x01\n\x0eOutboundStatus\x12\r\n\x05\x61live\x18\x01 \x01(\x08\x12\r\n\x05\x64\x65lay\x18\x02 \x01(\x03\x12\x19\n\x11last_error_reason\x18\x03 \x01(\t\x12\x14\n\x0coutbound_tag\x18\x04 \x01(\t\x12\x16\n\x0elast_seen_time\x18\x05 \x01(\x03\x12\x15\n\rlast_try_time\x18\x06 \x01(\x03\x12K\n\x0bhealth_ping\x18\x07 \x01(\x0b\x32\x36.xray.core.app.observatory.HealthPingMeasurementResult\"F\n\x0bProbeResult\x12\r\n\x05\x61live\x18\x01 \x01(\x08\x12\r\n\x05\x64\x65lay\x18\x02 \x01(\x03\x12\x19\n\x11last_error_reason\x18\x03 \x01(\t\"#\n\tIntensity\x12\x16\n\x0eprobe_interval\x18\x01 \x01(\r\"i\n\x06\x43onfig\x12\x18\n\x10subject_selector\x18\x02 \x03(\t\x12\x11\n\tprobe_url\x18\x03 \x01(\t\x12\x16\n\x0eprobe_interval\x18\x04 \x01(\x03\x12\x1a\n\x12\x65nable_concurrency\x18\x05 \x01(\x08\x42^\n\x18\x63om.xray.app.observatoryP\x01Z)github.com/xtls/xray-core/app/observatory\xaa\x02\x14Xray.App.Observatoryb\x06proto3')
|
|
28
28
|
|
|
29
29
|
_globals = globals()
|
|
30
30
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -34,12 +34,14 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
34
34
|
_globals['DESCRIPTOR']._serialized_options = b'\n\030com.xray.app.observatoryP\001Z)github.com/xtls/xray-core/app/observatory\252\002\024Xray.App.Observatory'
|
|
35
35
|
_globals['_OBSERVATIONRESULT']._serialized_start=59
|
|
36
36
|
_globals['_OBSERVATIONRESULT']._serialized_end=137
|
|
37
|
-
_globals['
|
|
38
|
-
_globals['
|
|
39
|
-
_globals['
|
|
40
|
-
_globals['
|
|
41
|
-
_globals['
|
|
42
|
-
_globals['
|
|
43
|
-
_globals['
|
|
44
|
-
_globals['
|
|
37
|
+
_globals['_HEALTHPINGMEASUREMENTRESULT']._serialized_start=139
|
|
38
|
+
_globals['_HEALTHPINGMEASUREMENTRESULT']._serialized_end=257
|
|
39
|
+
_globals['_OUTBOUNDSTATUS']._serialized_start=260
|
|
40
|
+
_globals['_OUTBOUNDSTATUS']._serialized_end=479
|
|
41
|
+
_globals['_PROBERESULT']._serialized_start=481
|
|
42
|
+
_globals['_PROBERESULT']._serialized_end=551
|
|
43
|
+
_globals['_INTENSITY']._serialized_start=553
|
|
44
|
+
_globals['_INTENSITY']._serialized_end=588
|
|
45
|
+
_globals['_CONFIG']._serialized_start=590
|
|
46
|
+
_globals['_CONFIG']._serialized_end=695
|
|
45
47
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -25,7 +25,7 @@ _sym_db = _symbol_database.Default()
|
|
|
25
25
|
from xray.common.net import network_pb2 as common_dot_net_dot_network__pb2
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n app/router/command/command.proto\x12\x17xray.app.router.command\x1a\x18\x63ommon/net/network.proto\"\x83\x03\n\x0eRoutingContext\x12\x12\n\nInboundTag\x18\x01 \x01(\t\x12)\n\x07Network\x18\x02 \x01(\x0e\x32\x18.xray.common.net.Network\x12\x11\n\tSourceIPs\x18\x03 \x03(\x0c\x12\x11\n\tTargetIPs\x18\x04 \x03(\x0c\x12\x12\n\nSourcePort\x18\x05 \x01(\r\x12\x12\n\nTargetPort\x18\x06 \x01(\r\x12\x14\n\x0cTargetDomain\x18\x07 \x01(\t\x12\x10\n\x08Protocol\x18\x08 \x01(\t\x12\x0c\n\x04User\x18\t \x01(\t\x12K\n\nAttributes\x18\n \x03(\x0b\x32\x37.xray.app.router.command.RoutingContext.AttributesEntry\x12\x19\n\x11OutboundGroupTags\x18\x0b \x03(\t\x12\x13\n\x0bOutboundTag\x18\x0c \x01(\t\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"6\n\x1cSubscribeRoutingStatsRequest\x12\x16\n\x0e\x46ieldSelectors\x18\x01 \x03(\t\"\x82\x01\n\x10TestRouteRequest\x12?\n\x0eRoutingContext\x18\x01 \x01(\x0b\x32\'.xray.app.router.command.RoutingContext\x12\x16\n\x0e\x46ieldSelectors\x18\x02 \x03(\t\x12\x15\n\rPublishResult\x18\x03 \x01(\x08\"\x08\n\x06\x43onfig2\
|
|
28
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n app/router/command/command.proto\x12\x17xray.app.router.command\x1a\x18\x63ommon/net/network.proto\"\x83\x03\n\x0eRoutingContext\x12\x12\n\nInboundTag\x18\x01 \x01(\t\x12)\n\x07Network\x18\x02 \x01(\x0e\x32\x18.xray.common.net.Network\x12\x11\n\tSourceIPs\x18\x03 \x03(\x0c\x12\x11\n\tTargetIPs\x18\x04 \x03(\x0c\x12\x12\n\nSourcePort\x18\x05 \x01(\r\x12\x12\n\nTargetPort\x18\x06 \x01(\r\x12\x14\n\x0cTargetDomain\x18\x07 \x01(\t\x12\x10\n\x08Protocol\x18\x08 \x01(\t\x12\x0c\n\x04User\x18\t \x01(\t\x12K\n\nAttributes\x18\n \x03(\x0b\x32\x37.xray.app.router.command.RoutingContext.AttributesEntry\x12\x19\n\x11OutboundGroupTags\x18\x0b \x03(\t\x12\x13\n\x0bOutboundTag\x18\x0c \x01(\t\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"6\n\x1cSubscribeRoutingStatsRequest\x12\x16\n\x0e\x46ieldSelectors\x18\x01 \x03(\t\"\x82\x01\n\x10TestRouteRequest\x12?\n\x0eRoutingContext\x18\x01 \x01(\x0b\x32\'.xray.app.router.command.RoutingContext\x12\x16\n\x0e\x46ieldSelectors\x18\x02 \x03(\t\x12\x15\n\rPublishResult\x18\x03 \x01(\x08\"\"\n\x13PrincipleTargetInfo\x12\x0b\n\x03tag\x18\x01 \x03(\t\"\x1e\n\x0cOverrideInfo\x12\x0e\n\x06target\x18\x02 \x01(\t\"\x8e\x01\n\x0b\x42\x61lancerMsg\x12\x37\n\x08override\x18\x05 \x01(\x0b\x32%.xray.app.router.command.OverrideInfo\x12\x46\n\x10principle_target\x18\x06 \x01(\x0b\x32,.xray.app.router.command.PrincipleTargetInfo\"%\n\x16GetBalancerInfoRequest\x12\x0b\n\x03tag\x18\x01 \x01(\t\"Q\n\x17GetBalancerInfoResponse\x12\x36\n\x08\x62\x61lancer\x18\x01 \x01(\x0b\x32$.xray.app.router.command.BalancerMsg\"D\n\x1dOverrideBalancerTargetRequest\x12\x13\n\x0b\x62\x61lancerTag\x18\x01 \x01(\t\x12\x0e\n\x06target\x18\x02 \x01(\t\" \n\x1eOverrideBalancerTargetResponse\"\x08\n\x06\x43onfig2\xf6\x03\n\x0eRoutingService\x12{\n\x15SubscribeRoutingStats\x12\x35.xray.app.router.command.SubscribeRoutingStatsRequest\x1a\'.xray.app.router.command.RoutingContext\"\x00\x30\x01\x12\x61\n\tTestRoute\x12).xray.app.router.command.TestRouteRequest\x1a\'.xray.app.router.command.RoutingContext\"\x00\x12v\n\x0fGetBalancerInfo\x12/.xray.app.router.command.GetBalancerInfoRequest\x1a\x30.xray.app.router.command.GetBalancerInfoResponse\"\x00\x12\x8b\x01\n\x16OverrideBalancerTarget\x12\x36.xray.app.router.command.OverrideBalancerTargetRequest\x1a\x37.xray.app.router.command.OverrideBalancerTargetResponse\"\x00\x42g\n\x1b\x63om.xray.app.router.commandP\x01Z,github.com/xtls/xray-core/app/router/command\xaa\x02\x17Xray.App.Router.Commandb\x06proto3')
|
|
29
29
|
|
|
30
30
|
_globals = globals()
|
|
31
31
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -43,8 +43,22 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
43
43
|
_globals['_SUBSCRIBEROUTINGSTATSREQUEST']._serialized_end=531
|
|
44
44
|
_globals['_TESTROUTEREQUEST']._serialized_start=534
|
|
45
45
|
_globals['_TESTROUTEREQUEST']._serialized_end=664
|
|
46
|
-
_globals['
|
|
47
|
-
_globals['
|
|
48
|
-
_globals['
|
|
49
|
-
_globals['
|
|
46
|
+
_globals['_PRINCIPLETARGETINFO']._serialized_start=666
|
|
47
|
+
_globals['_PRINCIPLETARGETINFO']._serialized_end=700
|
|
48
|
+
_globals['_OVERRIDEINFO']._serialized_start=702
|
|
49
|
+
_globals['_OVERRIDEINFO']._serialized_end=732
|
|
50
|
+
_globals['_BALANCERMSG']._serialized_start=735
|
|
51
|
+
_globals['_BALANCERMSG']._serialized_end=877
|
|
52
|
+
_globals['_GETBALANCERINFOREQUEST']._serialized_start=879
|
|
53
|
+
_globals['_GETBALANCERINFOREQUEST']._serialized_end=916
|
|
54
|
+
_globals['_GETBALANCERINFORESPONSE']._serialized_start=918
|
|
55
|
+
_globals['_GETBALANCERINFORESPONSE']._serialized_end=999
|
|
56
|
+
_globals['_OVERRIDEBALANCERTARGETREQUEST']._serialized_start=1001
|
|
57
|
+
_globals['_OVERRIDEBALANCERTARGETREQUEST']._serialized_end=1069
|
|
58
|
+
_globals['_OVERRIDEBALANCERTARGETRESPONSE']._serialized_start=1071
|
|
59
|
+
_globals['_OVERRIDEBALANCERTARGETRESPONSE']._serialized_end=1103
|
|
60
|
+
_globals['_CONFIG']._serialized_start=1105
|
|
61
|
+
_globals['_CONFIG']._serialized_end=1113
|
|
62
|
+
_globals['_ROUTINGSERVICE']._serialized_start=1116
|
|
63
|
+
_globals['_ROUTINGSERVICE']._serialized_end=1618
|
|
50
64
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -44,6 +44,16 @@ class RoutingServiceStub:
|
|
|
44
44
|
request_serializer=app_dot_router_dot_command_dot_command__pb2.TestRouteRequest.SerializeToString,
|
|
45
45
|
response_deserializer=app_dot_router_dot_command_dot_command__pb2.RoutingContext.FromString,
|
|
46
46
|
_registered_method=True)
|
|
47
|
+
self.GetBalancerInfo = channel.unary_unary(
|
|
48
|
+
'/xray.app.router.command.RoutingService/GetBalancerInfo',
|
|
49
|
+
request_serializer=app_dot_router_dot_command_dot_command__pb2.GetBalancerInfoRequest.SerializeToString,
|
|
50
|
+
response_deserializer=app_dot_router_dot_command_dot_command__pb2.GetBalancerInfoResponse.FromString,
|
|
51
|
+
_registered_method=True)
|
|
52
|
+
self.OverrideBalancerTarget = channel.unary_unary(
|
|
53
|
+
'/xray.app.router.command.RoutingService/OverrideBalancerTarget',
|
|
54
|
+
request_serializer=app_dot_router_dot_command_dot_command__pb2.OverrideBalancerTargetRequest.SerializeToString,
|
|
55
|
+
response_deserializer=app_dot_router_dot_command_dot_command__pb2.OverrideBalancerTargetResponse.FromString,
|
|
56
|
+
_registered_method=True)
|
|
47
57
|
|
|
48
58
|
|
|
49
59
|
class RoutingServiceServicer:
|
|
@@ -61,6 +71,18 @@ class RoutingServiceServicer:
|
|
|
61
71
|
context.set_details('Method not implemented!')
|
|
62
72
|
raise NotImplementedError('Method not implemented!')
|
|
63
73
|
|
|
74
|
+
def GetBalancerInfo(self, request, context):
|
|
75
|
+
"""Missing associated documentation comment in .proto file."""
|
|
76
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
77
|
+
context.set_details('Method not implemented!')
|
|
78
|
+
raise NotImplementedError('Method not implemented!')
|
|
79
|
+
|
|
80
|
+
def OverrideBalancerTarget(self, request, context):
|
|
81
|
+
"""Missing associated documentation comment in .proto file."""
|
|
82
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
83
|
+
context.set_details('Method not implemented!')
|
|
84
|
+
raise NotImplementedError('Method not implemented!')
|
|
85
|
+
|
|
64
86
|
|
|
65
87
|
def add_RoutingServiceServicer_to_server(servicer, server):
|
|
66
88
|
rpc_method_handlers = {
|
|
@@ -74,6 +96,16 @@ def add_RoutingServiceServicer_to_server(servicer, server):
|
|
|
74
96
|
request_deserializer=app_dot_router_dot_command_dot_command__pb2.TestRouteRequest.FromString,
|
|
75
97
|
response_serializer=app_dot_router_dot_command_dot_command__pb2.RoutingContext.SerializeToString,
|
|
76
98
|
),
|
|
99
|
+
'GetBalancerInfo': grpc.unary_unary_rpc_method_handler(
|
|
100
|
+
servicer.GetBalancerInfo,
|
|
101
|
+
request_deserializer=app_dot_router_dot_command_dot_command__pb2.GetBalancerInfoRequest.FromString,
|
|
102
|
+
response_serializer=app_dot_router_dot_command_dot_command__pb2.GetBalancerInfoResponse.SerializeToString,
|
|
103
|
+
),
|
|
104
|
+
'OverrideBalancerTarget': grpc.unary_unary_rpc_method_handler(
|
|
105
|
+
servicer.OverrideBalancerTarget,
|
|
106
|
+
request_deserializer=app_dot_router_dot_command_dot_command__pb2.OverrideBalancerTargetRequest.FromString,
|
|
107
|
+
response_serializer=app_dot_router_dot_command_dot_command__pb2.OverrideBalancerTargetResponse.SerializeToString,
|
|
108
|
+
),
|
|
77
109
|
}
|
|
78
110
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
79
111
|
'xray.app.router.command.RoutingService', rpc_method_handlers)
|
|
@@ -138,3 +170,57 @@ class RoutingService:
|
|
|
138
170
|
timeout,
|
|
139
171
|
metadata,
|
|
140
172
|
_registered_method=True)
|
|
173
|
+
|
|
174
|
+
@staticmethod
|
|
175
|
+
def GetBalancerInfo(request,
|
|
176
|
+
target,
|
|
177
|
+
options=(),
|
|
178
|
+
channel_credentials=None,
|
|
179
|
+
call_credentials=None,
|
|
180
|
+
insecure=False,
|
|
181
|
+
compression=None,
|
|
182
|
+
wait_for_ready=None,
|
|
183
|
+
timeout=None,
|
|
184
|
+
metadata=None):
|
|
185
|
+
return grpc.experimental.unary_unary(
|
|
186
|
+
request,
|
|
187
|
+
target,
|
|
188
|
+
'/xray.app.router.command.RoutingService/GetBalancerInfo',
|
|
189
|
+
app_dot_router_dot_command_dot_command__pb2.GetBalancerInfoRequest.SerializeToString,
|
|
190
|
+
app_dot_router_dot_command_dot_command__pb2.GetBalancerInfoResponse.FromString,
|
|
191
|
+
options,
|
|
192
|
+
channel_credentials,
|
|
193
|
+
insecure,
|
|
194
|
+
call_credentials,
|
|
195
|
+
compression,
|
|
196
|
+
wait_for_ready,
|
|
197
|
+
timeout,
|
|
198
|
+
metadata,
|
|
199
|
+
_registered_method=True)
|
|
200
|
+
|
|
201
|
+
@staticmethod
|
|
202
|
+
def OverrideBalancerTarget(request,
|
|
203
|
+
target,
|
|
204
|
+
options=(),
|
|
205
|
+
channel_credentials=None,
|
|
206
|
+
call_credentials=None,
|
|
207
|
+
insecure=False,
|
|
208
|
+
compression=None,
|
|
209
|
+
wait_for_ready=None,
|
|
210
|
+
timeout=None,
|
|
211
|
+
metadata=None):
|
|
212
|
+
return grpc.experimental.unary_unary(
|
|
213
|
+
request,
|
|
214
|
+
target,
|
|
215
|
+
'/xray.app.router.command.RoutingService/OverrideBalancerTarget',
|
|
216
|
+
app_dot_router_dot_command_dot_command__pb2.OverrideBalancerTargetRequest.SerializeToString,
|
|
217
|
+
app_dot_router_dot_command_dot_command__pb2.OverrideBalancerTargetResponse.FromString,
|
|
218
|
+
options,
|
|
219
|
+
channel_credentials,
|
|
220
|
+
insecure,
|
|
221
|
+
call_credentials,
|
|
222
|
+
compression,
|
|
223
|
+
wait_for_ready,
|
|
224
|
+
timeout,
|
|
225
|
+
metadata,
|
|
226
|
+
_registered_method=True)
|
xray/app/router/config_pb2.py
CHANGED
|
@@ -22,11 +22,12 @@ _runtime_version.ValidateProtobufRuntimeVersion(
|
|
|
22
22
|
_sym_db = _symbol_database.Default()
|
|
23
23
|
|
|
24
24
|
|
|
25
|
+
from xray.common.serial import typed_message_pb2 as common_dot_serial_dot_typed__message__pb2
|
|
25
26
|
from xray.common.net import port_pb2 as common_dot_net_dot_port__pb2
|
|
26
27
|
from xray.common.net import network_pb2 as common_dot_net_dot_network__pb2
|
|
27
28
|
|
|
28
29
|
|
|
29
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x17\x61pp/router/config.proto\x12\x0fxray.app.router\x1a\x15\x63ommon/net/port.proto\x1a\x18\x63ommon/net/network.proto\"\x81\x02\n\x06\x44omain\x12*\n\x04type\x18\x01 \x01(\x0e\x32\x1c.xray.app.router.Domain.Type\x12\r\n\x05value\x18\x02 \x01(\t\x12\x34\n\tattribute\x18\x03 \x03(\x0b\x32!.xray.app.router.Domain.Attribute\x1aR\n\tAttribute\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x14\n\nbool_value\x18\x02 \x01(\x08H\x00\x12\x13\n\tint_value\x18\x03 \x01(\x03H\x00\x42\r\n\x0btyped_value\"2\n\x04Type\x12\t\n\x05Plain\x10\x00\x12\t\n\x05Regex\x10\x01\x12\n\n\x06\x44omain\x10\x02\x12\x08\n\x04\x46ull\x10\x03\"\"\n\x04\x43IDR\x12\n\n\x02ip\x18\x01 \x01(\x0c\x12\x0e\n\x06prefix\x18\x02 \x01(\r\"Y\n\x05GeoIP\x12\x14\n\x0c\x63ountry_code\x18\x01 \x01(\t\x12#\n\x04\x63idr\x18\x02 \x03(\x0b\x32\x15.xray.app.router.CIDR\x12\x15\n\rreverse_match\x18\x03 \x01(\x08\"2\n\tGeoIPList\x12%\n\x05\x65ntry\x18\x01 \x03(\x0b\x32\x16.xray.app.router.GeoIP\"H\n\x07GeoSite\x12\x14\n\x0c\x63ountry_code\x18\x01 \x01(\t\x12\'\n\x06\x64omain\x18\x02 \x03(\x0b\x32\x17.xray.app.router.Domain\"6\n\x0bGeoSiteList\x12\'\n\x05\x65ntry\x18\x01 \x03(\x0b\x32\x18.xray.app.router.GeoSite\"\xdd\x05\n\x0bRoutingRule\x12\r\n\x03tag\x18\x01 \x01(\tH\x00\x12\x17\n\rbalancing_tag\x18\x0c \x01(\tH\x00\x12\'\n\x06\x64omain\x18\x02 \x03(\x0b\x32\x17.xray.app.router.Domain\x12\'\n\x04\x63idr\x18\x03 \x03(\x0b\x32\x15.xray.app.router.CIDRB\x02\x18\x01\x12%\n\x05geoip\x18\n \x03(\x0b\x32\x16.xray.app.router.GeoIP\x12\x32\n\nport_range\x18\x04 \x01(\x0b\x32\x1a.xray.common.net.PortRangeB\x02\x18\x01\x12,\n\tport_list\x18\x0e \x01(\x0b\x32\x19.xray.common.net.PortList\x12\x36\n\x0cnetwork_list\x18\x05 \x01(\x0b\x32\x1c.xray.common.net.NetworkListB\x02\x18\x01\x12*\n\x08networks\x18\r \x03(\x0e\x32\x18.xray.common.net.Network\x12.\n\x0bsource_cidr\x18\x06 \x03(\x0b\x32\x15.xray.app.router.CIDRB\x02\x18\x01\x12,\n\x0csource_geoip\x18\x0b \x03(\x0b\x32\x16.xray.app.router.GeoIP\x12\x33\n\x10source_port_list\x18\x10 \x01(\x0b\x32\x19.xray.common.net.PortList\x12\x12\n\nuser_email\x18\x07 \x03(\t\x12\x13\n\x0binbound_tag\x18\x08 \x03(\t\x12\x10\n\x08protocol\x18\t \x03(\t\x12@\n\nattributes\x18\x0f \x03(\x0b\x32,.xray.app.router.RoutingRule.AttributesEntry\x12\x16\n\x0e\x64omain_matcher\x18\x11 \x01(\t\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0c\n\ntarget_tag\"
|
|
30
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x17\x61pp/router/config.proto\x12\x0fxray.app.router\x1a!common/serial/typed_message.proto\x1a\x15\x63ommon/net/port.proto\x1a\x18\x63ommon/net/network.proto\"\x81\x02\n\x06\x44omain\x12*\n\x04type\x18\x01 \x01(\x0e\x32\x1c.xray.app.router.Domain.Type\x12\r\n\x05value\x18\x02 \x01(\t\x12\x34\n\tattribute\x18\x03 \x03(\x0b\x32!.xray.app.router.Domain.Attribute\x1aR\n\tAttribute\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x14\n\nbool_value\x18\x02 \x01(\x08H\x00\x12\x13\n\tint_value\x18\x03 \x01(\x03H\x00\x42\r\n\x0btyped_value\"2\n\x04Type\x12\t\n\x05Plain\x10\x00\x12\t\n\x05Regex\x10\x01\x12\n\n\x06\x44omain\x10\x02\x12\x08\n\x04\x46ull\x10\x03\"\"\n\x04\x43IDR\x12\n\n\x02ip\x18\x01 \x01(\x0c\x12\x0e\n\x06prefix\x18\x02 \x01(\r\"Y\n\x05GeoIP\x12\x14\n\x0c\x63ountry_code\x18\x01 \x01(\t\x12#\n\x04\x63idr\x18\x02 \x03(\x0b\x32\x15.xray.app.router.CIDR\x12\x15\n\rreverse_match\x18\x03 \x01(\x08\"2\n\tGeoIPList\x12%\n\x05\x65ntry\x18\x01 \x03(\x0b\x32\x16.xray.app.router.GeoIP\"H\n\x07GeoSite\x12\x14\n\x0c\x63ountry_code\x18\x01 \x01(\t\x12\'\n\x06\x64omain\x18\x02 \x03(\x0b\x32\x17.xray.app.router.Domain\"6\n\x0bGeoSiteList\x12\'\n\x05\x65ntry\x18\x01 \x03(\x0b\x32\x18.xray.app.router.GeoSite\"\xdd\x05\n\x0bRoutingRule\x12\r\n\x03tag\x18\x01 \x01(\tH\x00\x12\x17\n\rbalancing_tag\x18\x0c \x01(\tH\x00\x12\'\n\x06\x64omain\x18\x02 \x03(\x0b\x32\x17.xray.app.router.Domain\x12\'\n\x04\x63idr\x18\x03 \x03(\x0b\x32\x15.xray.app.router.CIDRB\x02\x18\x01\x12%\n\x05geoip\x18\n \x03(\x0b\x32\x16.xray.app.router.GeoIP\x12\x32\n\nport_range\x18\x04 \x01(\x0b\x32\x1a.xray.common.net.PortRangeB\x02\x18\x01\x12,\n\tport_list\x18\x0e \x01(\x0b\x32\x19.xray.common.net.PortList\x12\x36\n\x0cnetwork_list\x18\x05 \x01(\x0b\x32\x1c.xray.common.net.NetworkListB\x02\x18\x01\x12*\n\x08networks\x18\r \x03(\x0e\x32\x18.xray.common.net.Network\x12.\n\x0bsource_cidr\x18\x06 \x03(\x0b\x32\x15.xray.app.router.CIDRB\x02\x18\x01\x12,\n\x0csource_geoip\x18\x0b \x03(\x0b\x32\x16.xray.app.router.GeoIP\x12\x33\n\x10source_port_list\x18\x10 \x01(\x0b\x32\x19.xray.common.net.PortList\x12\x12\n\nuser_email\x18\x07 \x03(\t\x12\x13\n\x0binbound_tag\x18\x08 \x03(\t\x12\x10\n\x08protocol\x18\t \x03(\t\x12@\n\nattributes\x18\x0f \x03(\x0b\x32,.xray.app.router.RoutingRule.AttributesEntry\x12\x16\n\x0e\x64omain_matcher\x18\x11 \x01(\t\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0c\n\ntarget_tag\"\x9c\x01\n\rBalancingRule\x12\x0b\n\x03tag\x18\x01 \x01(\t\x12\x19\n\x11outbound_selector\x18\x02 \x03(\t\x12\x10\n\x08strategy\x18\x03 \x01(\t\x12;\n\x11strategy_settings\x18\x04 \x01(\x0b\x32 .xray.common.serial.TypedMessage\x12\x14\n\x0c\x66\x61llback_tag\x18\x05 \x01(\t\">\n\x0eStrategyWeight\x12\x0e\n\x06regexp\x18\x01 \x01(\x08\x12\r\n\x05match\x18\x02 \x01(\t\x12\r\n\x05value\x18\x03 \x01(\x02\"\x91\x01\n\x17StrategyLeastLoadConfig\x12.\n\x05\x63osts\x18\x02 \x03(\x0b\x32\x1f.xray.app.router.StrategyWeight\x12\x11\n\tbaselines\x18\x03 \x03(\x03\x12\x10\n\x08\x65xpected\x18\x04 \x01(\x05\x12\x0e\n\x06maxRTT\x18\x05 \x01(\x03\x12\x11\n\ttolerance\x18\x06 \x01(\x02\"\xf6\x01\n\x06\x43onfig\x12?\n\x0f\x64omain_strategy\x18\x01 \x01(\x0e\x32&.xray.app.router.Config.DomainStrategy\x12*\n\x04rule\x18\x02 \x03(\x0b\x32\x1c.xray.app.router.RoutingRule\x12\x36\n\x0e\x62\x61lancing_rule\x18\x03 \x03(\x0b\x32\x1e.xray.app.router.BalancingRule\"G\n\x0e\x44omainStrategy\x12\x08\n\x04\x41sIs\x10\x00\x12\t\n\x05UseIp\x10\x01\x12\x10\n\x0cIpIfNonMatch\x10\x02\x12\x0e\n\nIpOnDemand\x10\x03\x42O\n\x13\x63om.xray.app.routerP\x01Z$github.com/xtls/xray-core/app/router\xaa\x02\x0fXray.App.Routerb\x06proto3')
|
|
30
31
|
|
|
31
32
|
_globals = globals()
|
|
32
33
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -44,30 +45,34 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
44
45
|
_globals['_ROUTINGRULE'].fields_by_name['network_list']._serialized_options = b'\030\001'
|
|
45
46
|
_globals['_ROUTINGRULE'].fields_by_name['source_cidr']._loaded_options = None
|
|
46
47
|
_globals['_ROUTINGRULE'].fields_by_name['source_cidr']._serialized_options = b'\030\001'
|
|
47
|
-
_globals['_DOMAIN']._serialized_start=
|
|
48
|
-
_globals['_DOMAIN']._serialized_end=
|
|
49
|
-
_globals['_DOMAIN_ATTRIBUTE']._serialized_start=
|
|
50
|
-
_globals['_DOMAIN_ATTRIBUTE']._serialized_end=
|
|
51
|
-
_globals['_DOMAIN_TYPE']._serialized_start=
|
|
52
|
-
_globals['_DOMAIN_TYPE']._serialized_end=
|
|
53
|
-
_globals['_CIDR']._serialized_start=
|
|
54
|
-
_globals['_CIDR']._serialized_end=
|
|
55
|
-
_globals['_GEOIP']._serialized_start=
|
|
56
|
-
_globals['_GEOIP']._serialized_end=
|
|
57
|
-
_globals['_GEOIPLIST']._serialized_start=
|
|
58
|
-
_globals['_GEOIPLIST']._serialized_end=
|
|
59
|
-
_globals['_GEOSITE']._serialized_start=
|
|
60
|
-
_globals['_GEOSITE']._serialized_end=
|
|
61
|
-
_globals['_GEOSITELIST']._serialized_start=
|
|
62
|
-
_globals['_GEOSITELIST']._serialized_end=
|
|
63
|
-
_globals['_ROUTINGRULE']._serialized_start=
|
|
64
|
-
_globals['_ROUTINGRULE']._serialized_end=
|
|
65
|
-
_globals['_ROUTINGRULE_ATTRIBUTESENTRY']._serialized_start=
|
|
66
|
-
_globals['_ROUTINGRULE_ATTRIBUTESENTRY']._serialized_end=
|
|
67
|
-
_globals['_BALANCINGRULE']._serialized_start=
|
|
68
|
-
_globals['_BALANCINGRULE']._serialized_end=
|
|
69
|
-
_globals['
|
|
70
|
-
_globals['
|
|
71
|
-
_globals['
|
|
72
|
-
_globals['
|
|
48
|
+
_globals['_DOMAIN']._serialized_start=129
|
|
49
|
+
_globals['_DOMAIN']._serialized_end=386
|
|
50
|
+
_globals['_DOMAIN_ATTRIBUTE']._serialized_start=252
|
|
51
|
+
_globals['_DOMAIN_ATTRIBUTE']._serialized_end=334
|
|
52
|
+
_globals['_DOMAIN_TYPE']._serialized_start=336
|
|
53
|
+
_globals['_DOMAIN_TYPE']._serialized_end=386
|
|
54
|
+
_globals['_CIDR']._serialized_start=388
|
|
55
|
+
_globals['_CIDR']._serialized_end=422
|
|
56
|
+
_globals['_GEOIP']._serialized_start=424
|
|
57
|
+
_globals['_GEOIP']._serialized_end=513
|
|
58
|
+
_globals['_GEOIPLIST']._serialized_start=515
|
|
59
|
+
_globals['_GEOIPLIST']._serialized_end=565
|
|
60
|
+
_globals['_GEOSITE']._serialized_start=567
|
|
61
|
+
_globals['_GEOSITE']._serialized_end=639
|
|
62
|
+
_globals['_GEOSITELIST']._serialized_start=641
|
|
63
|
+
_globals['_GEOSITELIST']._serialized_end=695
|
|
64
|
+
_globals['_ROUTINGRULE']._serialized_start=698
|
|
65
|
+
_globals['_ROUTINGRULE']._serialized_end=1431
|
|
66
|
+
_globals['_ROUTINGRULE_ATTRIBUTESENTRY']._serialized_start=1368
|
|
67
|
+
_globals['_ROUTINGRULE_ATTRIBUTESENTRY']._serialized_end=1417
|
|
68
|
+
_globals['_BALANCINGRULE']._serialized_start=1434
|
|
69
|
+
_globals['_BALANCINGRULE']._serialized_end=1590
|
|
70
|
+
_globals['_STRATEGYWEIGHT']._serialized_start=1592
|
|
71
|
+
_globals['_STRATEGYWEIGHT']._serialized_end=1654
|
|
72
|
+
_globals['_STRATEGYLEASTLOADCONFIG']._serialized_start=1657
|
|
73
|
+
_globals['_STRATEGYLEASTLOADCONFIG']._serialized_end=1802
|
|
74
|
+
_globals['_CONFIG']._serialized_start=1805
|
|
75
|
+
_globals['_CONFIG']._serialized_end=2051
|
|
76
|
+
_globals['_CONFIG_DOMAINSTRATEGY']._serialized_start=1980
|
|
77
|
+
_globals['_CONFIG_DOMAINSTRATEGY']._serialized_end=2051
|
|
73
78
|
# @@protoc_insertion_point(module_scope)
|
xray/proxy/freedom/config_pb2.py
CHANGED
|
@@ -25,7 +25,7 @@ _sym_db = _symbol_database.Default()
|
|
|
25
25
|
from xray.common.protocol import server_spec_pb2 as common_dot_protocol_dot_server__spec__pb2
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1aproxy/freedom/config.proto\x12\x12xray.proxy.freedom\x1a!common/protocol/server_spec.proto\"K\n\x13\x44\x65stinationOverride\x12\x34\n\x06server\x18\x01 \x01(\x0b\x32$.xray.common.protocol.ServerEndpoint\"\x88\x01\n\x08\x46ragment\x12\x14\n\x0cpackets_from\x18\x01 \x01(\x04\x12\x12\n\npackets_to\x18\x02 \x01(\x04\x12\x12\n\nlength_min\x18\x03 \x01(\x04\x12\x12\n\nlength_max\x18\x04 \x01(\x04\x12\x14\n\x0cinterval_min\x18\x05 \x01(\x04\x12\x14\n\x0cinterval_max\x18\x06 \x01(\x04\"\
|
|
28
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1aproxy/freedom/config.proto\x12\x12xray.proxy.freedom\x1a!common/protocol/server_spec.proto\"K\n\x13\x44\x65stinationOverride\x12\x34\n\x06server\x18\x01 \x01(\x0b\x32$.xray.common.protocol.ServerEndpoint\"\x88\x01\n\x08\x46ragment\x12\x14\n\x0cpackets_from\x18\x01 \x01(\x04\x12\x12\n\npackets_to\x18\x02 \x01(\x04\x12\x12\n\nlength_min\x18\x03 \x01(\x04\x12\x12\n\nlength_max\x18\x04 \x01(\x04\x12\x14\n\x0cinterval_min\x18\x05 \x01(\x04\x12\x14\n\x0cinterval_max\x18\x06 \x01(\x04\"\xb0\x03\n\x06\x43onfig\x12\x42\n\x0f\x64omain_strategy\x18\x01 \x01(\x0e\x32).xray.proxy.freedom.Config.DomainStrategy\x12\x13\n\x07timeout\x18\x02 \x01(\rB\x02\x18\x01\x12\x45\n\x14\x64\x65stination_override\x18\x03 \x01(\x0b\x32\'.xray.proxy.freedom.DestinationOverride\x12\x12\n\nuser_level\x18\x04 \x01(\r\x12.\n\x08\x66ragment\x18\x05 \x01(\x0b\x32\x1c.xray.proxy.freedom.Fragment\x12\x16\n\x0eproxy_protocol\x18\x06 \x01(\r\"\xa9\x01\n\x0e\x44omainStrategy\x12\t\n\x05\x41S_IS\x10\x00\x12\n\n\x06USE_IP\x10\x01\x12\x0b\n\x07USE_IP4\x10\x02\x12\x0b\n\x07USE_IP6\x10\x03\x12\x0c\n\x08USE_IP46\x10\x04\x12\x0c\n\x08USE_IP64\x10\x05\x12\x0c\n\x08\x46ORCE_IP\x10\x06\x12\r\n\tFORCE_IP4\x10\x07\x12\r\n\tFORCE_IP6\x10\x08\x12\x0e\n\nFORCE_IP46\x10\t\x12\x0e\n\nFORCE_IP64\x10\nBX\n\x16\x63om.xray.proxy.freedomP\x01Z\'github.com/xtls/xray-core/proxy/freedom\xaa\x02\x12Xray.Proxy.Freedomb\x06proto3')
|
|
29
29
|
|
|
30
30
|
_globals = globals()
|
|
31
31
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -40,7 +40,7 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
40
40
|
_globals['_FRAGMENT']._serialized_start=163
|
|
41
41
|
_globals['_FRAGMENT']._serialized_end=299
|
|
42
42
|
_globals['_CONFIG']._serialized_start=302
|
|
43
|
-
_globals['_CONFIG']._serialized_end=
|
|
44
|
-
_globals['_CONFIG_DOMAINSTRATEGY']._serialized_start=
|
|
45
|
-
_globals['_CONFIG_DOMAINSTRATEGY']._serialized_end=
|
|
43
|
+
_globals['_CONFIG']._serialized_end=734
|
|
44
|
+
_globals['_CONFIG_DOMAINSTRATEGY']._serialized_start=565
|
|
45
|
+
_globals['_CONFIG_DOMAINSTRATEGY']._serialized_end=734
|
|
46
46
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -24,7 +24,7 @@ _sym_db = _symbol_database.Default()
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$transport/internet/grpc/config.proto\x12%xray.transport.internet.grpc.encoding\"\
|
|
27
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$transport/internet/grpc/config.proto\x12%xray.transport.internet.grpc.encoding\"\xca\x01\n\x06\x43onfig\x12\x11\n\tauthority\x18\x01 \x01(\t\x12\x14\n\x0cservice_name\x18\x02 \x01(\t\x12\x12\n\nmulti_mode\x18\x03 \x01(\x08\x12\x14\n\x0cidle_timeout\x18\x04 \x01(\x05\x12\x1c\n\x14health_check_timeout\x18\x05 \x01(\x05\x12\x1d\n\x15permit_without_stream\x18\x06 \x01(\x08\x12\x1c\n\x14initial_windows_size\x18\x07 \x01(\x05\x12\x12\n\nuser_agent\x18\x08 \x01(\tB3Z1github.com/xtls/xray-core/transport/internet/grpcb\x06proto3')
|
|
28
28
|
|
|
29
29
|
_globals = globals()
|
|
30
30
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -33,5 +33,5 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
33
33
|
_globals['DESCRIPTOR']._loaded_options = None
|
|
34
34
|
_globals['DESCRIPTOR']._serialized_options = b'Z1github.com/xtls/xray-core/transport/internet/grpc'
|
|
35
35
|
_globals['_CONFIG']._serialized_start=80
|
|
36
|
-
_globals['_CONFIG']._serialized_end=
|
|
36
|
+
_globals['_CONFIG']._serialized_end=282
|
|
37
37
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -24,7 +24,7 @@ _sym_db = _symbol_database.Default()
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'transport/internet/reality/config.proto\x12\x1fxray.transport.internet.reality\"\
|
|
27
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'transport/internet/reality/config.proto\x12\x1fxray.transport.internet.reality\"\xd1\x02\n\x06\x43onfig\x12\x0c\n\x04show\x18\x01 \x01(\x08\x12\x0c\n\x04\x64\x65st\x18\x02 \x01(\t\x12\x0c\n\x04type\x18\x03 \x01(\t\x12\x0c\n\x04xver\x18\x04 \x01(\x04\x12\x14\n\x0cserver_names\x18\x05 \x03(\t\x12\x13\n\x0bprivate_key\x18\x06 \x01(\x0c\x12\x16\n\x0emin_client_ver\x18\x07 \x01(\x0c\x12\x16\n\x0emax_client_ver\x18\x08 \x01(\x0c\x12\x15\n\rmax_time_diff\x18\t \x01(\x04\x12\x11\n\tshort_ids\x18\n \x03(\x0c\x12\x13\n\x0b\x46ingerprint\x18\x15 \x01(\t\x12\x13\n\x0bserver_name\x18\x16 \x01(\t\x12\x12\n\npublic_key\x18\x17 \x01(\x0c\x12\x10\n\x08short_id\x18\x18 \x01(\x0c\x12\x10\n\x08spider_x\x18\x19 \x01(\t\x12\x10\n\x08spider_y\x18\x1a \x03(\x03\x12\x16\n\x0emaster_key_log\x18\x1b \x01(\tB\x7f\n#com.xray.transport.internet.realityP\x01Z4github.com/xtls/xray-core/transport/internet/reality\xaa\x02\x1fXray.Transport.Internet.Realityb\x06proto3')
|
|
28
28
|
|
|
29
29
|
_globals = globals()
|
|
30
30
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -33,5 +33,5 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
33
33
|
_globals['DESCRIPTOR']._loaded_options = None
|
|
34
34
|
_globals['DESCRIPTOR']._serialized_options = b'\n#com.xray.transport.internet.realityP\001Z4github.com/xtls/xray-core/transport/internet/reality\252\002\037Xray.Transport.Internet.Reality'
|
|
35
35
|
_globals['_CONFIG']._serialized_start=77
|
|
36
|
-
_globals['_CONFIG']._serialized_end=
|
|
36
|
+
_globals['_CONFIG']._serialized_end=414
|
|
37
37
|
# @@protoc_insertion_point(module_scope)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|