Skip to content

Commit 15a7ef4

Browse files
author
xboard
committed
fix: always set uTLS fingerprint for TLS connections in General protocol (#673)
1 parent fad6441 commit 15a7ef4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Protocols/General.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,9 @@ public static function buildVless($uuid, $server)
137137
switch ($server['protocol_settings']['tls']) {
138138
case 1:
139139
$config['security'] = "tls";
140+
$config['fp'] = Helper::getRandFingerprint();
140141
if ($serverName = data_get($protocol_settings, 'tls_settings.server_name')) {
141142
$config['sni'] = $serverName;
142-
$config['fp'] = Helper::getRandFingerprint();
143143
}
144144
break;
145145
case 2: //reality

0 commit comments

Comments
 (0)