hiddifypanel 10.70.0.dev5__py3-none-any.whl → 10.70.0.dev7__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.
- hiddifypanel/VERSION +1 -1
- hiddifypanel/VERSION.py +1 -1
- hiddifypanel/hutils/proxy/shared.py +1 -1
- hiddifypanel/hutils/proxy/singbox.py +6 -0
- hiddifypanel/hutils/proxy/xray.py +4 -4
- hiddifypanel/translations/en/LC_MESSAGES/messages.mo +0 -0
- hiddifypanel/translations/fa/LC_MESSAGES/messages.mo +0 -0
- hiddifypanel/translations/pt/LC_MESSAGES/messages.mo +0 -0
- hiddifypanel/translations/ru/LC_MESSAGES/messages.mo +0 -0
- hiddifypanel/translations/zh/LC_MESSAGES/messages.mo +0 -0
- {hiddifypanel-10.70.0.dev5.dist-info → hiddifypanel-10.70.0.dev7.dist-info}/METADATA +1 -1
- {hiddifypanel-10.70.0.dev5.dist-info → hiddifypanel-10.70.0.dev7.dist-info}/RECORD +16 -16
- {hiddifypanel-10.70.0.dev5.dist-info → hiddifypanel-10.70.0.dev7.dist-info}/LICENSE.md +0 -0
- {hiddifypanel-10.70.0.dev5.dist-info → hiddifypanel-10.70.0.dev7.dist-info}/WHEEL +0 -0
- {hiddifypanel-10.70.0.dev5.dist-info → hiddifypanel-10.70.0.dev7.dist-info}/entry_points.txt +0 -0
- {hiddifypanel-10.70.0.dev5.dist-info → hiddifypanel-10.70.0.dev7.dist-info}/top_level.txt +0 -0
hiddifypanel/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
10.70.0.
|
1
|
+
10.70.0.dev7
|
hiddifypanel/VERSION.py
CHANGED
@@ -385,7 +385,7 @@ def make_proxy(hconfigs: dict, proxy: Proxy, domain_db: Domain, phttp=80, ptls=4
|
|
385
385
|
base['mux_brutal_down_mbps'] = hconfigs.get(ConfigEnum.mux_brutal_down_mbps, 10)
|
386
386
|
|
387
387
|
if is_cdn and proxy.proto in {'vless', 'trojan', "vmess"}:
|
388
|
-
if hconfigs[ConfigEnum.tls_fragment_enable]:
|
388
|
+
if hconfigs[ConfigEnum.tls_fragment_enable] and "tls" in base["l3"]:
|
389
389
|
base["tls_fragment_enable"] = True
|
390
390
|
base["tls_fragment_size"] = hconfigs[ConfigEnum.tls_fragment_size]
|
391
391
|
base["tls_fragment_sleep"] = hconfigs[ConfigEnum.tls_fragment_sleep]
|
@@ -67,6 +67,12 @@ def to_singbox(proxy: dict) -> list[dict] | dict:
|
|
67
67
|
xp = to_xray(proxy)
|
68
68
|
xp['streamSettings']['sockopt'] = {}
|
69
69
|
base['xray_outbound_raw'] = xp
|
70
|
+
if proxy.get('tls_fragment_enable'):
|
71
|
+
base['xray_fragment'] = {
|
72
|
+
'packets': "tlshello",
|
73
|
+
'length': proxy["tls_fragment_size"],
|
74
|
+
'interval': proxy["tls_fragment_sleep"]
|
75
|
+
}
|
70
76
|
return all_base
|
71
77
|
return {'name': name, 'msg': "xray proxy does not support in this client version", 'type': 'debug'}
|
72
78
|
base["type"] = str(proxy["proto"])
|
@@ -199,10 +199,10 @@ def make_v2ray_configs(domains: list[Domain], user: User, expire_days: int, ip_d
|
|
199
199
|
|
200
200
|
def add_tls_tricks_to_dict(d: dict, proxy: dict):
|
201
201
|
if proxy.get('tls_fragment_enable'):
|
202
|
-
if g.user_agent.get('is_shadowrocket'):
|
203
|
-
|
204
|
-
else:
|
205
|
-
|
202
|
+
# if g.user_agent.get('is_shadowrocket'):
|
203
|
+
# d['fragment'] = f'1,{proxy["tls_fragment_size"]},{proxy["tls_fragment_sleep"]}'
|
204
|
+
# else:
|
205
|
+
d['fragment'] = f'tlshello,{proxy["tls_fragment_size"]},{proxy["tls_fragment_sleep"]}'
|
206
206
|
|
207
207
|
if proxy.get("tls_mixed_case"):
|
208
208
|
d['mc'] = 1
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,6 +1,6 @@
|
|
1
1
|
hiddifypanel/Events.py,sha256=AlnRdjVul0jP-NCT4-zoaQgowoOo-JhdQB4ytetAFKA,723
|
2
|
-
hiddifypanel/VERSION,sha256=
|
3
|
-
hiddifypanel/VERSION.py,sha256=
|
2
|
+
hiddifypanel/VERSION,sha256=ZsiS66NBlBr3nTdyfHaFN_MyDMUVJe1bhfjGUy9GKaY,13
|
3
|
+
hiddifypanel/VERSION.py,sha256=fkPFp9qS7GCgKT4emgjphy0CdKdJlIPA4Ur9oHFf11I,118
|
4
4
|
hiddifypanel/__init__.py,sha256=aLukp3ORszdcH4G9J-MlxhjHN6yFlOuOE6mm-L3aG_g,266
|
5
5
|
hiddifypanel/__main__.py,sha256=IVchnXpK6bm8T3N--mN17HBQNLMeLAjyP7iwzULexB4,218
|
6
6
|
hiddifypanel/auth.py,sha256=Xq0UwiFTRFmQpxnOehQGwPDlJqoelwGhPQbYZ0Xn5c0,7850
|
@@ -37,9 +37,9 @@ hiddifypanel/hutils/node/parent.py,sha256=UbyfvfP4fTSn6HN9oZDjYsKYIejiqW6eApKIfP
|
|
37
37
|
hiddifypanel/hutils/node/shared.py,sha256=FDSj3e-i3pb3mEv5vcUeX0Km1nxYg1CeAruIq7RwFmU,2540
|
38
38
|
hiddifypanel/hutils/proxy/__init__.py,sha256=xXBa83kjYT_b-BNseEykfQYyJBQHTq1ZosfR8ZrQHkI,106
|
39
39
|
hiddifypanel/hutils/proxy/clash.py,sha256=n5trDzBXg26aeqLTGGCDVIGGpAM1VC7YX1cTwLNG18k,5912
|
40
|
-
hiddifypanel/hutils/proxy/shared.py,sha256=
|
41
|
-
hiddifypanel/hutils/proxy/singbox.py,sha256=
|
42
|
-
hiddifypanel/hutils/proxy/xray.py,sha256=
|
40
|
+
hiddifypanel/hutils/proxy/shared.py,sha256=luAr06u3lse22MCcKtsyppB1SRgd6Sn4RhstHlzfbHs,22443
|
41
|
+
hiddifypanel/hutils/proxy/singbox.py,sha256=DDkRA5psV0eDZ_8U-Yv9GEWAkf3fNR9MDGkFdGCzaO4,11653
|
42
|
+
hiddifypanel/hutils/proxy/xray.py,sha256=Yg0ynPT2u1rBPeFHp34QbUNE-Im7-QS-JSFt19mHdWc,10815
|
43
43
|
hiddifypanel/hutils/proxy/xrayjson.py,sha256=TSD05g8dwwL2pLj8by_jSy4eIP0fDDxy1l4fI-2M1Zw,14948
|
44
44
|
hiddifypanel/models/__init__.py,sha256=PngFjQL9WvQP4EioNHRz1tTeyIgLoNvZ7WpmAhwKHnU,677
|
45
45
|
hiddifypanel/models/admin.py,sha256=qZ-BRJ_Gn6hJNWz35SQQSds1CoeDslU9B0MDBRhjPSM,7596
|
@@ -822,24 +822,24 @@ hiddifypanel/templates/redirect.html,sha256=K9x_O4P96vEkqBhOXIhoGrWw1KIqd2bL0BjI
|
|
822
822
|
hiddifypanel/templates/static.html,sha256=jp6q4wtx-k2A_cjqJoNiMS7Ee30arE45qI3ev4d5ky4,165
|
823
823
|
hiddifypanel/templates/hiddify-flask-admin/actions.html,sha256=2NeITe2e-lPKCk_o511tCIqVtrPu8LYHE1wTCtrFUrI,1331
|
824
824
|
hiddifypanel/templates/hiddify-flask-admin/list.html,sha256=MBGrTqZpzNLe4sZy0RozvXNr8seFUQc2C6v88BJtNWc,11095
|
825
|
-
hiddifypanel/translations/en/LC_MESSAGES/messages.mo,sha256=
|
825
|
+
hiddifypanel/translations/en/LC_MESSAGES/messages.mo,sha256=LVUALZABRNJS_9luxUJAlob3R4GXlg5oZwyVZUaY5xk,76144
|
826
826
|
hiddifypanel/translations/en/LC_MESSAGES/messages.po,sha256=zMVicwQ7Q6MBIqgHuPch0VukS1XSa8zZ-6_BRnligC0,79332
|
827
|
-
hiddifypanel/translations/fa/LC_MESSAGES/messages.mo,sha256=
|
827
|
+
hiddifypanel/translations/fa/LC_MESSAGES/messages.mo,sha256=NbwcmkGh3RTjE0trY35dhXaKmOMfyPtgp-6Idjj_Ce0,96457
|
828
828
|
hiddifypanel/translations/fa/LC_MESSAGES/messages.po,sha256=WTWuDrY-l1HvpU1oECZ-w1I57IipNLTu50dQo3subPs,101921
|
829
|
-
hiddifypanel/translations/pt/LC_MESSAGES/messages.mo,sha256
|
829
|
+
hiddifypanel/translations/pt/LC_MESSAGES/messages.mo,sha256=02DtDfofPPDMD-ru7_k0OFuUjNSrR_dg5SAhADDredc,58927
|
830
830
|
hiddifypanel/translations/pt/LC_MESSAGES/messages.po,sha256=CjBrdw_493ryJdB78a-hFC4n6bF2Z6ePxGnTQqphjig,69766
|
831
|
-
hiddifypanel/translations/ru/LC_MESSAGES/messages.mo,sha256=
|
831
|
+
hiddifypanel/translations/ru/LC_MESSAGES/messages.mo,sha256=suV9vxT1IHMJZDM905R0IDy_7rG_w9bMilu4OK9Kn6A,97980
|
832
832
|
hiddifypanel/translations/ru/LC_MESSAGES/messages.po,sha256=e1TkuVY3FXWrz1HIpIfW2XueKdq2WCPRvtZYeXPqhtE,105071
|
833
|
-
hiddifypanel/translations/zh/LC_MESSAGES/messages.mo,sha256=
|
833
|
+
hiddifypanel/translations/zh/LC_MESSAGES/messages.mo,sha256=L65zyULAbdhrcFcl2MyEBVNRRN-OBf7s-driiryccy8,59228
|
834
834
|
hiddifypanel/translations/zh/LC_MESSAGES/messages.po,sha256=8Er7H0ltiIqj7E6xoMVp0rd-_V2U8Hu9CRfZoxVKLYc,68978
|
835
835
|
hiddifypanel/translations.i18n/en.json,sha256=ZbBwlCq6T6ksLWWnowMON7u-CB_Vtly7KY8z0vad9TY,68899
|
836
836
|
hiddifypanel/translations.i18n/fa.json,sha256=qvTSrBdaIEFe71Q-82RvxAsHg2wUibU0k53sqoqW-PE,91485
|
837
837
|
hiddifypanel/translations.i18n/pt.json,sha256=ABrAeZpkgmntC1hkAr0wlG8og44BZbYzR6iBU-p7NJw,59702
|
838
838
|
hiddifypanel/translations.i18n/ru.json,sha256=7FWH-wqcu0WqYML-P0i53GA-4b2VWuokyHdZR-EnWnQ,94608
|
839
839
|
hiddifypanel/translations.i18n/zh.json,sha256=Jq8E5wV5wQ0QKvZG6egPRKtl8jsoBCMnmFW9lc5vaAI,59154
|
840
|
-
hiddifypanel-10.70.0.
|
841
|
-
hiddifypanel-10.70.0.
|
842
|
-
hiddifypanel-10.70.0.
|
843
|
-
hiddifypanel-10.70.0.
|
844
|
-
hiddifypanel-10.70.0.
|
845
|
-
hiddifypanel-10.70.0.
|
840
|
+
hiddifypanel-10.70.0.dev7.dist-info/LICENSE.md,sha256=oDrt-cUsyiDGnRPjEJh-3dH2ddAuK_bIVBD8ntkOtZw,19807
|
841
|
+
hiddifypanel-10.70.0.dev7.dist-info/METADATA,sha256=9evph1-zFlt0ZK_B5JGEmAC_l4YnMWH5ahDih8WyLqg,4044
|
842
|
+
hiddifypanel-10.70.0.dev7.dist-info/WHEEL,sha256=Wyh-_nZ0DJYolHNn1_hMa4lM7uDedD_RGVwbmTjyItk,91
|
843
|
+
hiddifypanel-10.70.0.dev7.dist-info/entry_points.txt,sha256=Xzpqlh3nwBtZhoV9AANJykano056VJvYzaujxPztJaM,60
|
844
|
+
hiddifypanel-10.70.0.dev7.dist-info/top_level.txt,sha256=rv-b3qFWUZQTBy0kyBfsr7L6tPpeO7AaQlLHXn-HI5M,13
|
845
|
+
hiddifypanel-10.70.0.dev7.dist-info/RECORD,,
|
File without changes
|
File without changes
|
{hiddifypanel-10.70.0.dev5.dist-info → hiddifypanel-10.70.0.dev7.dist-info}/entry_points.txt
RENAMED
File without changes
|
File without changes
|