mirror of
https://github.com/MatsuriDayo/nekoray.git
synced 2025-12-17 12:34:37 +03:00
fix #703
This commit is contained in:
@@ -39,12 +39,12 @@ namespace NekoGui_fmt {
|
|||||||
|
|
||||||
if (!stream->sni.isEmpty()) query.addQueryItem("sni", stream->sni);
|
if (!stream->sni.isEmpty()) query.addQueryItem("sni", stream->sni);
|
||||||
if (stream->allow_insecure) query.addQueryItem("allowInsecure", "1");
|
if (stream->allow_insecure) query.addQueryItem("allowInsecure", "1");
|
||||||
if (IS_NEKO_BOX && !stream->utlsFingerprint.isEmpty()) query.addQueryItem("fp", stream->utlsFingerprint);
|
if (!stream->utlsFingerprint.isEmpty()) query.addQueryItem("fp", stream->utlsFingerprint);
|
||||||
|
|
||||||
if (security == "reality") {
|
if (security == "reality") {
|
||||||
query.addQueryItem("pbk", stream->reality_pbk);
|
query.addQueryItem("pbk", stream->reality_pbk);
|
||||||
query.addQueryItem("sid", stream->reality_sid);
|
if (!stream->reality_sid.isEmpty()) query.addQueryItem("sid", stream->reality_sid);
|
||||||
query.addQueryItem("spx", stream->reality_spx);
|
if (!stream->reality_spx.isEmpty()) query.addQueryItem("spx", stream->reality_spx);
|
||||||
}
|
}
|
||||||
|
|
||||||
// type
|
// type
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ namespace NekoGui_fmt {
|
|||||||
stream->reality_pbk = GetQueryValue(query, "pbk", "");
|
stream->reality_pbk = GetQueryValue(query, "pbk", "");
|
||||||
stream->reality_sid = GetQueryValue(query, "sid", "");
|
stream->reality_sid = GetQueryValue(query, "sid", "");
|
||||||
stream->reality_spx = GetQueryValue(query, "spx", "");
|
stream->reality_spx = GetQueryValue(query, "spx", "");
|
||||||
if (IS_NEKO_BOX) stream->utlsFingerprint = GetQueryValue(query, "fp", "");
|
stream->utlsFingerprint = GetQueryValue(query, "fp", "");
|
||||||
|
|
||||||
// type
|
// type
|
||||||
if (stream->network == "ws") {
|
if (stream->network == "ws") {
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
namespace Preset {
|
namespace Preset {
|
||||||
namespace Xray {
|
namespace Xray {
|
||||||
inline QStringList UtlsFingerPrint = {"", "chrome", "firefox", "edge", "safari", "360", "qq", "ios", "android", "random", "randomized"};
|
inline QStringList UtlsFingerPrint = {"", "chrome", "firefox", "edge", "safari", "360", "qq", "ios", "android", "random", "randomized"};
|
||||||
inline QStringList ShadowsocksMethods = {"aes-128-gcm", "aes-256-gcm", "aes-192-gcm", "chacha20-poly1305", "xchacha20-poly1305",
|
inline QStringList ShadowsocksMethods = {"aes-128-gcm", "aes-256-gcm", "aes-192-gcm", "chacha20-ietf-poly1305", "xchacha20-ietf-poly1305",
|
||||||
"2022-blake3-aes-128-gcm", "2022-blake3-aes-256-gcm", "2022-blake3-chacha20-poly1305",
|
"2022-blake3-aes-128-gcm", "2022-blake3-aes-256-gcm", "2022-blake3-chacha20-poly1305",
|
||||||
"aes-128-ctr", "aes-192-ctr", "aes-256-ctr", "aes-128-cfb", "aes-192-cfb", "aes-256-cfb",
|
"aes-128-ctr", "aes-192-ctr", "aes-256-ctr", "aes-128-cfb", "aes-192-cfb", "aes-256-cfb",
|
||||||
"rc4", "rc4-md5", "bf-cfb", "chacha20", "chacha20-ietf", "xchacha20", "none"};
|
"rc4", "rc4-md5", "bf-cfb", "chacha20", "chacha20-ietf", "xchacha20", "none"};
|
||||||
|
|||||||
@@ -579,7 +579,7 @@ security (QUIC)</string>
|
|||||||
</sizepolicy>
|
</sizepolicy>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string notr="true">uTLS</string>
|
<string notr="true">Fingerprint</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
|||||||
Reference in New Issue
Block a user