1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-11-22 17:39:53 +03:00

Add more TLS negotiation info in logging and UI

This commit is contained in:
Yihong Wu 2021-12-26 12:31:53 +08:00
parent f94ac6351e
commit 0a4455ac40
16 changed files with 173 additions and 12 deletions

View File

@ -9,6 +9,7 @@
#include "Cedar.h"
#include "Command.h"
#include "Logging.h"
#include "Wpc.h"
#include "Mayaqua/Encrypt.h"
@ -19,6 +20,7 @@
#include "Mayaqua/Object.h"
#include "Mayaqua/Pack.h"
#include "Mayaqua/Str.h"
#include "Mayaqua/Table.h"
#include "Mayaqua/Tick64.h"
#include <stdlib.h>
@ -80,6 +82,9 @@ void AcWaitForRequest(AZURE_CLIENT *ac, SOCK *s, AZURE_PARAM *param)
{
SOCK *ns;
Debug("Connect Request from %r:%u\n", &client_ip, client_port);
char ipstr[128];
IPToStr(ipstr, sizeof(ipstr), &client_ip);
SLog(ac->Cedar, "LS_AZURE_START", ipstr, client_port);
// Create new socket and connect VPN Azure Server
if (ac->DDnsStatusCopy.InternetSetting.ProxyType == PROXY_DIRECT)
@ -103,9 +108,10 @@ void AcWaitForRequest(AZURE_CLIENT *ac, SOCK *s, AZURE_PARAM *param)
SetTimeout(ns, param->DataTimeout);
UINT ssl_err = 0;
Copy(&ns->SslAcceptSettings, &ac->Cedar->SslAcceptSettings, sizeof(SSL_ACCEPT_SETTINGS));
if (StartSSLEx(ns, NULL, NULL, 0, NULL))
if (StartSSLEx3(ns, NULL, NULL, NULL, 0, NULL, NULL, &ssl_err))
{
// Check certification
char server_cert_hash_str[MAX_SIZE];
@ -159,6 +165,13 @@ void AcWaitForRequest(AZURE_CLIENT *ac, SOCK *s, AZURE_PARAM *param)
}
}
}
else
{
if (ssl_err != 0)
{
SLog(ac->Cedar, "LS_AZURE_SSL_ERROR", GetUniErrorStr(ssl_err), ssl_err);
}
}
ReleaseSock(ns);
}

View File

@ -9576,7 +9576,11 @@ void CmPrintStatusToListViewEx(LVB *b, RPC_CLIENT_GET_CONNECTION_STATUS *s, bool
}
else
{
if (StrLen(s->CipherName) != 0)
if (StrLen(s->CipherName) != 0 && StrLen(s->ProtocolName) != 0)
{
UniFormat(tmp, sizeof(tmp), _UU("CM_ST_USE_ENCRYPT_TRUE3"), s->ProtocolName, s->CipherName);
}
else if (StrLen(s->CipherName) != 0)
{
UniFormat(tmp, sizeof(tmp), _UU("CM_ST_USE_ENCRYPT_TRUE"), s->CipherName);
}

View File

@ -870,6 +870,9 @@
#define ERR_NOT_SUPPORTED_FUNCTION_ON_OPENSOURCE 147 // It is a feature that is not supported in the open source version
#define ERR_SUSPENDING 148 // System is suspending
#define ERR_HOSTNAME_MISMATCH 149 // SSL hostname mismatch
#define ERR_SSL_PROTOCOL_VERSION 150 // SSL version not supported
#define ERR_SSL_SHARED_CIPHER 151 // Can't find common cipher
#define ERR_SSL_HANDSHAKE 152 // Other SSL handshake error
////////////////////////////

View File

@ -4836,6 +4836,7 @@ void InRpcClientGetConnectionStatus(RPC_CLIENT_GET_CONNECTION_STATUS *s, PACK *p
PackGetStr(p, "ServerName", s->ServerName, sizeof(s->ServerName));
PackGetStr(p, "ServerProductName", s->ServerProductName, sizeof(s->ServerProductName));
PackGetStr(p, "ProtocolVersion", s->ProtocolName, sizeof(s->ProtocolName));
PackGetStr(p, "CipherName", s->CipherName, sizeof(s->CipherName));
PackGetStr(p, "SessionName", s->SessionName, sizeof(s->SessionName));
PackGetStr(p, "ConnectionName", s->ConnectionName, sizeof(s->ConnectionName));
@ -4911,6 +4912,7 @@ void OutRpcClientGetConnectionStatus(PACK *p, RPC_CLIENT_GET_CONNECTION_STATUS *
PackAddStr(p, "ServerName", c->ServerName);
PackAddStr(p, "ServerProductName", c->ServerProductName);
PackAddStr(p, "ProtocolVersion", c->ProtocolName);
PackAddStr(p, "CipherName", c->CipherName);
PackAddStr(p, "SessionName", c->SessionName);
PackAddStr(p, "ConnectionName", c->ConnectionName);
@ -5864,6 +5866,7 @@ void CiGetSessionStatus(RPC_CLIENT_GET_CONNECTION_STATUS *st, SESSION *s)
if (st->UseEncrypt)
{
StrCpy(st->CipherName, sizeof(st->CipherName), s->Connection->CipherName);
StrCpy(st->ProtocolName, sizeof(st->ProtocolName), s->Connection->SslVersion);
}
// Use of compression
st->UseCompress = s->UseCompress;

View File

@ -15534,7 +15534,11 @@ void CmdPrintStatusToListViewEx(CT *ct, RPC_CLIENT_GET_CONNECTION_STATUS *s, boo
}
else
{
if (StrLen(s->CipherName) != 0)
if (StrLen(s->CipherName) != 0 && StrLen(s->ProtocolName) != 0)
{
UniFormat(tmp, sizeof(tmp), _UU("CM_ST_USE_ENCRYPT_TRUE3"), s->ProtocolName, s->CipherName);
}
else if (StrLen(s->CipherName) != 0)
{
UniFormat(tmp, sizeof(tmp), _UU("CM_ST_USE_ENCRYPT_TRUE"), s->CipherName);
}

View File

@ -28,6 +28,7 @@
#include "Mayaqua/Object.h"
#include "Mayaqua/Pack.h"
#include "Mayaqua/Str.h"
#include "Mayaqua/Table.h"
#include "Mayaqua/Tick64.h"
#include <stdlib.h>
@ -3047,11 +3048,16 @@ void ConnectionAccept(CONNECTION *c)
// Start the SSL communication
Copy(&s->SslAcceptSettings, &c->Cedar->SslAcceptSettings, sizeof(SSL_ACCEPT_SETTINGS));
if (StartSSLEx2(s, x, k, chain, 0, NULL) == false)
UINT ssl_err = 0;
if (StartSSLEx3(s, x, k, chain, 0, NULL, NULL, &ssl_err) == false)
{
// Failed
AddNoSsl(c->Cedar, &s->RemoteIP);
Debug("ConnectionAccept(): StartSSL() failed\n");
if (ssl_err != 0)
{
SLog(c->Cedar, "LS_SSL_START_ERROR", c->Name, GetUniErrorStr(ssl_err), ssl_err);
}
FreeX(x);
FreeK(k);
FreeXList(chain);
@ -3063,7 +3069,7 @@ void ConnectionAccept(CONNECTION *c)
FreeK(k);
FreeXList(chain);
SLog(c->Cedar, "LS_SSL_START", c->Name, s->CipherName);
SLog(c->Cedar, "LS_SSL_START", c->Name, s->SslVersion, s->CipherName);
Copy(c->CToken_Hash, ctoken_hash, SHA1_SIZE);
@ -3399,6 +3405,11 @@ void CleanupConnection(CONNECTION *c)
Free(c->CipherName);
}
if (c->SslVersion != NULL)
{
Free(c->SslVersion);
}
Free(c);
}

View File

@ -223,6 +223,7 @@ struct CONNECTION
X *ServerX; // Server certificate
X *ClientX; // Client certificate
char *CipherName; // Encryption algorithm name
char *SslVersion; // SSL protocol version
UINT64 ConnectedTick; // Time it is connected
IP ClientIp; // Client IP address
char ClientHostname[MAX_HOST_NAME_LEN + 1]; // Client host name

View File

@ -1573,6 +1573,12 @@ bool ServerAccept(CONNECTION *c)
c->CipherName = NULL;
if (c->SslVersion != NULL)
{
Free(c->SslVersion);
}
c->SslVersion = NULL;
if (IsEmptyStr(tmp) == false)
{
c->CipherName = CopyStr(tmp);
@ -1592,11 +1598,22 @@ bool ServerAccept(CONNECTION *c)
}
c->CipherName = NULL;
if (c->SslVersion != NULL)
{
Free(c->SslVersion);
}
c->SslVersion = NULL;
if (c->FirstSock != NULL && IsEmptyStr(c->FirstSock->CipherName) == false)
{
c->CipherName = CopyStr(c->FirstSock->CipherName);
}
if (c->FirstSock != NULL && IsEmptyStr(c->FirstSock->SslVersion) == false)
{
c->SslVersion = CopyStr(c->FirstSock->SslVersion);
}
Format(radius_login_opt.In_VpnProtocolState, sizeof(radius_login_opt.In_VpnProtocolState),
"L%u:%s", IPC_LAYER_2, "SEVPN");
}
@ -4975,6 +4992,13 @@ REDIRECTED:
}
c->CipherName = CopyStr(c->FirstSock->CipherName);
if (c->SslVersion != NULL)
{
Free(c->SslVersion);
}
c->SslVersion = CopyStr(c->FirstSock->SslVersion);
}
Unlock(c->lock);
@ -6183,6 +6207,8 @@ SOCK *ClientConnectToServer(CONNECTION *c)
return NULL;
}
CLog(c->Cedar->Client, "LC_SSL_CONNECTED", c->Session->ClientOption->AccountName, s->SslVersion, s->CipherName);
return s;
}

View File

@ -11875,6 +11875,27 @@ bool StartSSLEx3(SOCK *sock, X *x, K *priv, LIST *chain, UINT ssl_timeout, char
// SSL-Accept failure
Lock(openssl_lock);
{
unsigned long err;
while (err = ERR_get_error())
{
Debug("SSL_accept error %X: %s\n", err, ERR_reason_error_string(err));
if (ERR_GET_LIB(err) == ERR_LIB_SSL)
{
switch (ERR_GET_REASON(err))
{
case SSL_R_UNSUPPORTED_PROTOCOL:
case SSL_R_VERSION_TOO_LOW:
case SSL_R_VERSION_TOO_HIGH:
*ssl_err = 150; // ERR_SSL_PROTOCOL_VERSION
break;
case SSL_R_NO_SHARED_CIPHER:
*ssl_err = 151; // ERR_SSL_SHARED_CIPHER
break;
default:
*ssl_err = 152; // ERR_SSL_HANDSHAKE
}
}
}
SSL_free(sock->ssl);
sock->ssl = NULL;
}
@ -11918,6 +11939,25 @@ bool StartSSLEx3(SOCK *sock, X *x, K *priv, LIST *chain, UINT ssl_timeout, char
// SSL-connect failure
Lock(openssl_lock);
{
unsigned long err;
while (err = ERR_get_error())
{
Debug("SSL_connect error %X: %s\n", err, ERR_reason_error_string(err));
if (ERR_GET_LIB(err) == ERR_LIB_SSL)
{
switch (ERR_GET_REASON(err))
{
case SSL_R_UNSUPPORTED_PROTOCOL:
case SSL_R_VERSION_TOO_LOW:
case SSL_R_VERSION_TOO_HIGH:
case SSL_R_TLSV1_ALERT_PROTOCOL_VERSION:
*ssl_err = 150; // ERR_SSL_PROTOCOL_VERSION
break;
default:
*ssl_err = 152; // ERR_SSL_HANDSHAKE
}
}
}
SSL_free(sock->ssl);
sock->ssl = NULL;
}

View File

@ -215,6 +215,9 @@ ERR_146 VPN Gate 服务运行在 VPN 客户端程序内。在此屏幕上
ERR_147 不支持此功能。它尚未在 SoftEther VPN 的开源版本上实施。
ERR_148 VPN 连接被中断,因为该系统被暂停。
ERR_149 目标 VPN Server 的证书与指定的主机名不匹配。
ERR_150 找不到连接双方都支持的 TLS 版本。这通常意味着一方可能正在使用已被另一方禁用的过时的 TLS 版本。
ERR_151 找不到连接双方都支持的加密算法,或者指定的算法与服务器证书不兼容。
ERR_152 TLS 握手失败。
#关于许可证
@ -843,6 +846,7 @@ CM_ST_NO_VLAN
CM_ST_USE_ENCRYPT 加密
CM_ST_USE_ENCRYPT_TRUE 已启用 (算法: %S)
CM_ST_USE_ENCRYPT_TRUE2 已启用
CM_ST_USE_ENCRYPT_TRUE3 已启用 (%S 算法: %S)
CM_ST_USE_ENCRYPT_FALSE 已禁用 (不加密)
CM_ST_USE_COMPRESS 使用压缩
CM_ST_UDP_ACCEL_ENABLED 支持 UDP 加速
@ -1781,8 +1785,9 @@ LS_HUB_STOP 虚拟 HUB "%S" 已关闭。
LS_HUB_MAC 虚拟 HUB "%S" 的 MAC 地址是 "%S"。
LS_NODE_INFO_TAG 客户端产品名:"%S",客户端版本:%u客户端构建号%u服务端产品名"%S",服务端版本:%u服务端构建号%u客户端操作系统名"%S",客户端操作系统版本:"%S",客户端产品 ID"%S",客户端主机名:"%S",客户端 IP 地址:"%S",客户端端口号:%u服务端主机名"%S",服务端 IP 地址:"%S",服务端端口号:%u代理主机名"%S",代理 IP 地址:"%S",代理端口号:%u虚拟 HUB 名:"%S",客户端唯一 ID "%S"
LS_CONNECTION_START_1 客户端 (IP 地址:%S主机名"%S",端口号:%u) 的连接 "%S" 已建立。
LS_SSL_START_ERROR 无法启动连接 "%S" 的 SSL 通信。错误: %s (代码 %u)
LS_CONNECTION_END_1 连接 "%S" 已结束。
LS_SSL_START 连接 "%S" 的 SSL 通信已启动。加密算法名为 "%S"。
LS_SSL_START 连接 "%S" 的 SSL 通信已启动。协议版本是 %S。加密算法名为 "%S"。
LS_CONNECTION_ERROR 连接 "%S"因原因 "%s" (代码 %u)已终止。
LS_FARMMEMBER_NOT_ADMIN 连接 "%S": 服务端是群集成员,但客户端在非管理员 (%S) 用户情况下,尝试直接与虚拟 HUB "%S" 连接。客户端用户名为 "%S"。访问被拒绝。
LS_HUB_NOT_FOUND 连接 "%S": 客户端正在尝试连接的虚拟 HUB "%S" 在服务端上不存在。
@ -1810,6 +1815,8 @@ LS_LICENSE_VIOLATION_DETECTED 发现许可证违反错误,一个不同的 VPN
LS_API_AUTH_OK HTTPS API client "%r:%u" (%S): Administration mode: "%S": The embedded HTTPS web server accepted the successful login. Username: "%S", Method: "%S", Path: "%S"
LS_API_AUTH_ERROR HTTPS API client "%r:%u" (%S): The embedded HTTPS web server refused a login attempt. Username: "%S", Method: "%S", Path: "%S"
LS_API_RPC_CALL HTTPS API client "%r:%u" (%S): The client called a JSON-API. Method: "%S", Returned error code: %u (0 = success), Returned error message: "%s"
LS_AZURE_START 收到来自客户端 (IP 地址:%S端口号%u) 的 VPN Azure 连接请求。
LS_AZURE_SSL_ERROR 无法启动与 VPN Azure 中继服务器的 SSL 通信。错误: %s (代码 %u)
# (Proto log)
@ -2105,6 +2112,7 @@ LC_DELETE_ACCOUNT 已删除 VPN 连接设置 "%s"。
LC_RENAME_ACCOUNT 已变更 VPN 连接设置名 "%s" 为 "%s"。
LC_CONNECT 已开始 VPN 连接设置 "%s" 的连接处理。
LC_CONNECT_1 VPN 连接设置 "%s": 第 %u 次连接操作开始。
LC_SSL_CONNECTED VPN 连接设置 "%s": SSL 通信已启动。协议版本是 %S。加密算法名为 "%S"。
LC_CONNECT_2 VPN 连接设置 "%s": 连接完成。会话名: "%S"。
LC_CONNECT_ERROR VPN 连接设置 "%s": 连接断开或连接失败。原因: %s (代码 %u)
LC_DISCONNECT VPN 连接设置 "%s" 断开中。

View File

@ -213,6 +213,9 @@ ERR_146 The VPN Gate Service is running inside the VPN Client program. You c
ERR_147 This feature is not supported. It hasn't been implemented yet on the open-source version of SoftEther VPN.
ERR_148 The VPN connection was disconnected because the system is being suspended.
ERR_149 The destination VPN Server's certificate does not match the specified hostname.
ERR_150 Failed to find the TLS version that is supported by both sides. This usually means that one side may be using an obsolete TLS version which is diabled by the other side.
ERR_151 Failed to find an available cipher that is supported by both sides, or the cipher specified is not compatible with the server certificate.
ERR_152 TLS handshake has failed.
# Concerning licenses
@ -837,6 +840,7 @@ CM_ST_NO_VLAN -
CM_ST_USE_ENCRYPT Encryption
CM_ST_USE_ENCRYPT_TRUE Enabled (Algorithm: %S)
CM_ST_USE_ENCRYPT_TRUE2 Enabled
CM_ST_USE_ENCRYPT_TRUE3 Enabled (%S Algorithm: %S)
CM_ST_USE_ENCRYPT_FALSE Disabled (No Encryption)
CM_ST_USE_COMPRESS Use of Compression
CM_ST_UDP_ACCEL_ENABLED UDP Acceleration is Supported
@ -1766,8 +1770,9 @@ LS_HUB_STOP Virtual Hub "%S" has been stopped.
LS_HUB_MAC The MAC address of Virtual Hub "%S" is "%S".
LS_NODE_INFO_TAG Client product name: "%S", Client version: %u, Client build number: %u, Server product name: "%S", Server version: %u, Server build number: %u, Client OS name: "%S", Client OS version: "%S", Client product ID: "%S", Client host name: "%S", Client IP address: "%S", Client port number: %u, Server host name: "%S", Server IP address: "%S", Server port number: %u, Proxy host name: "%S", Proxy IP address: "%S", Proxy port number: %u, Virtual Hub name: "%S", Client unique ID: "%S"
LS_CONNECTION_START_1 For the client (IP address: %S, host name: "%S", port number: %u), connection "%S" has been created.
LS_SSL_START_ERROR Failed to start SSL communication for connection "%S". Error: %s (code %u)
LS_CONNECTION_END_1 Connection "%S" has been terminated.
LS_SSL_START SSL communication for connection "%S" has been started. The encryption algorithm name is "%S".
LS_SSL_START SSL communication for connection "%S" has been started. The protocol version is %S. The encryption algorithm name is "%S".
LS_CONNECTION_ERROR Connection "%S" terminated by the cause "%s" (code %u).
LS_FARMMEMBER_NOT_ADMIN Connection "%S": Although the server is a cluster member, the client attempted that to directly connect to the Virtual Hub "%S" while not being administrator user "%S". The user name provided by the client is "%S". Access is refused.
LS_HUB_NOT_FOUND Connection "%S": Virtual Hub "%S" that the client is trying to connect to does not exist on the server.
@ -1795,6 +1800,8 @@ LS_LICENSE_VIOLATION_DETECTED A license violation has been detected. A different
LS_API_AUTH_OK HTTPS API client "%r:%u" (%S): Administration mode: "%S": The embedded HTTPS web server accepted the successful login. Username: "%S", Method: "%S", Path: "%S"
LS_API_AUTH_ERROR HTTPS API client "%r:%u" (%S): The embedded HTTPS web server refused a login attempt. Username: "%S", Method: "%S", Path: "%S"
LS_API_RPC_CALL HTTPS API client "%r:%u" (%S): The client called a JSON-API. Method: "%S", Returned error code: %u (0 = success), Returned error message: "%s"
LS_AZURE_START Received VPN Azure connection request from the client (IP address: %S, port number: %u).
LS_AZURE_SSL_ERROR Failed to start SSL communication with VPN Azure relay server. Error: %s (code %u)
# (Proto log)
@ -2088,6 +2095,7 @@ LC_DELETE_ACCOUNT The VPN Connection Setting "%s" has been deleted.
LC_RENAME_ACCOUNT The name of VPN Connection Setting "%s" has been changed to "%s".
LC_CONNECT Connection processing for VPN Connection Setting "%s" has started.
LC_CONNECT_1 VPN Connection Setting "%s": Connection operation starting (this is now %u times).
LC_SSL_CONNECTED VPN Connection Setting "%s": SSL communication has been started. The protocol version is %S. The encryption algorithm name is "%S".
LC_CONNECT_2 VPN Connection Setting "%s": Now connected. Session name: "%S"
LC_CONNECT_ERROR VPN Connection Setting "%s": The connection has been either disconnected or it failed. Cause: %s (code %u)
LC_DISCONNECT Disconnecting the VPN Connection Setting "%s".

View File

@ -215,6 +215,9 @@ ERR_146 VPN Gate サービスが VPN Client 内で動作している場合
ERR_147 この機能はオープンソース版 SoftEther VPN にはまだ実装されていません。
ERR_148 Windows システムがサスペンド状態に移行中のため、VPN 通信が切断されました。
ERR_149 接続先サーバーの提示した証明書が指定したホスト名と一致しません。
ERR_150 両側でサポートされている TLS バージョンが見つかりませんでした。どちらかが相手側で無効になっている古い TLS バージョンを使用している可能性があります。
ERR_151 両側でサポートされている暗号化アルゴリズムが見つからなかったか、指定されたアルゴリズムがサーバー証明書と互換性がありません。
ERR_152 TLS ハンドシェイクが失敗しました。
# ライセンス関係
@ -839,6 +842,7 @@ CM_ST_NO_VLAN
CM_ST_USE_ENCRYPT 暗号化の使用
CM_ST_USE_ENCRYPT_TRUE はい (暗号化アルゴリズム: %S)
CM_ST_USE_ENCRYPT_TRUE2 はい
CM_ST_USE_ENCRYPT_TRUE3 はい (%S 暗号化アルゴリズム: %S)
CM_ST_USE_ENCRYPT_FALSE いいえ (暗号化なし)
CM_ST_USE_COMPRESS 圧縮の使用
CM_ST_UDP_ACCEL_ENABLED UDP 高速化機能をサポート
@ -1769,8 +1773,9 @@ LS_HUB_STOP 仮想 HUB "%S" を停止しました。
LS_HUB_MAC 仮想 HUB "%S" の MAC アドレスは "%S" です。
LS_NODE_INFO_TAG クライアント製品名 "%S", クライアントバージョン %u, クライアントビルド番号 %u, サーバー製品名 "%S", サーバーバージョン %u, サーバービルド番号 %u, クライアント OS 名 "%S", クライアント OS バージョン "%S", クライアントプロダクト ID "%S", クライアントホスト名 "%S", クライアント IP アドレス "%S", クライアントポート番号 %u, サーバーホスト名 "%S", サーバー IP アドレス "%S", サーバーポート番号 %u, プロキシホスト名 "%S", プロキシ IP アドレス "%S", プロキシポート番号 %u, 仮想 HUB 名 "%S", クライアントユニーク ID "%S"
LS_CONNECTION_START_1 クライアント (IP アドレス %S, ホスト名 "%S", ポート番号 %u) に対応するコネクション "%S" が作成されました。
LS_SSL_START_ERROR コネクション "%S" に対する SSL 通信を開始できませんでした。エラー: %s (コード %u)
LS_CONNECTION_END_1 コネクション "%S" が終了しました。
LS_SSL_START コネクション "%S" に対する SSL 通信が開始されました。暗号化アルゴリズム名は "%S" です。
LS_SSL_START コネクション "%S" に対する SSL 通信が開始されました。プロトコルバージョンは %S です。暗号化アルゴリズム名は "%S" です。
LS_CONNECTION_ERROR コネクション "%S" は理由 "%s" (コード %u) で終了しました。
LS_FARMMEMBER_NOT_ADMIN コネクション "%S": サーバーはクラスタメンバですが、クライアントは仮想 HUB "%S" に管理者ユーザー "%S" 以外で直接接続しようと試みました。クライアントが提示したユーザー名は "%S" です。アクセスは許可されません。
LS_HUB_NOT_FOUND コネクション "%S": クライアントが接続しようとした仮想 HUB "%S" はサーバー上に存在しません。
@ -1798,6 +1803,8 @@ LS_LICENSE_VIOLATION_DETECTED ライセンス違反を検出しました。別
LS_API_AUTH_OK HTTPS API クライアント "%r:%u" (%S): 管理モード: "%S" で組み込み HTTPS Web サーバーを用いてログインに成功しました。使用されたユーザー名: "%S", メソッド: "%S", パス: "%S"
LS_API_AUTH_ERROR HTTPS API クライアント "%r:%u" (%S): 組み込み HTTPS Web サーバーを用いてログインに失敗しました。使用されたユーザー名: "%S", メソッド: "%S", パス: "%S"
LS_API_RPC_CALL HTTPS API クライアント "%r:%u" (%S): JSON-API を呼び出しました。メソッド名: "%S", 結果エラーコード: %u (0 = 成功), 結果エラーメッセージ: "%s"
LS_AZURE_START クライアント (IP アドレス %S, ポート番号 %u) から VPN Azure 接続要求を受信しました。
LS_AZURE_SSL_ERROR VPN Azure リレーサーバーとの SSL 通信を開始できませんでした。エラー: %s (コード %u)
# (Proto ログ)
@ -2091,6 +2098,7 @@ LC_DELETE_ACCOUNT 接続設定 "%s" を削除しました。
LC_RENAME_ACCOUNT 接続設定 "%s" の名前を "%s" に変更しました。
LC_CONNECT 接続設定 "%s" への接続処理を開始しました。
LC_CONNECT_1 接続設定 "%s": %u 回目の接続動作を開始します。
LC_SSL_CONNECTED 接続設定 "%s": SSL 通信が開始されました。プロトコルバージョンは %S です。暗号化アルゴリズム名は "%S" です。
LC_CONNECT_2 接続設定 "%s": 接続が完了しました。セッション名: "%S"
LC_CONNECT_ERROR 接続設定 "%s": 接続が切断されたか、接続に失敗しました。理由: %s (コード %u)
LC_DISCONNECT 接続設定 "%s" を切断します。

View File

@ -219,6 +219,9 @@ ERR_146 VPN Gate 서비스가 VPN Client에서 실행중인 경우이 설정 화
ERR_147 이 기능은 오픈 소스 버전 SoftEther VPN은 아직 구현되어 있지 않습니다.
ERR_148 Windows 시스템이 대기 상태로 전환 중이기 때문에 VPN 통신이 끊어졌습니다.
ERR_149 대상 VPN 서버의 인증서가 지정된 호스트 이름과 일치하지 않습니다.
ERR_150 양쪽에서 지원되는 TLS 버전을 찾을 수 없습니다. 한 쪽은 다른 쪽에서 비활성화된 이전 TLS 버전을 사용하고 있을 수 있습니다.
ERR_151 양쪽에서 지원하는 사용 가능한 암호 알고리즘을 찾지 못했거나 지정된 알고리즘이 서버 인증서와 호환되지 않습니다.
ERR_152 TLS 핸드셰이크가 실패했습니다.
# 라이센스 관계
@ -840,6 +843,7 @@ CM_ST_NO_VLAN -
CM_ST_USE_ENCRYPT 암호화 사용
CM_ST_USE_ENCRYPT_TRUE 예 (암호화 알고리즘:%S)
CM_ST_USE_ENCRYPT_TRUE2 잔
CM_ST_USE_ENCRYPT_TRUE3 예 (%S 암호화 알고리즘:%S)
CM_ST_USE_ENCRYPT_FALSE 아니오 (암호화 없음)
CM_ST_USE_COMPRESS 압축 사용
CM_ST_UDP_ACCEL_ENABLED UDP 가속화 기능을 지원
@ -1750,8 +1754,9 @@ LS_HUB_STOP 가상 HUB "%S"를 중지했습니다.
LS_HUB_MAC 가상 HUB "%S"의 MAC 주소는 "%S"입니다.
LS_NODE_INFO_TAG 클라이언트 제품 이름 "%S"클라이언트 버전 %u 클라이언트 빌드 번호 %u 서버 제품 이름 "%S"서버 버전 %u 서버 빌드 번호 %u 클라이언트 OS 이름 "%S"클라이언트 OS 버전 "%S"클라이언트 제품 ID "%S"클라이언트 호스트 이름 "%S"클라이언트 IP 주소 "%S"클라이언트 포트 번호 %u 서버 호스트 이름 "%S"서버 IP 주소 "%S" 서버 포트 번호 %u 프록시 호스트 이름 "%S"프록시 IP 주소 "%S"프록시 포트 번호 %u 가상 HUB 이름 "%S"클라이언트 고유 ID "%S"
LS_CONNECTION_START_1 클라이언트 (IP 주소 %S 호스트 이름 "%S"포트 번호 %u)에 대응하는 연결 "%S"가 작성되었습니다.
LS_SSL_START_ERROR 연결 "%S"에 대한 SSL 통신을 시작하지 못했습니다. 오류:%s (코드 %u)
LS_CONNECTION_END_1 연결 "%S"가 종료되었습니다.
LS_SSL_START 연결 "%S"에 대한 SSL 통신이 시작되었습니다. 암호화 알고리즘 명은 "%S"입니다.
LS_SSL_START 연결 "%S"에 대한 SSL 통신이 시작되었습니다. 프로토콜 버전은 %S입니다. 암호화 알고리즘 명은 "%S"입니다.
LS_CONNECTION_ERROR 연결 "%S"는 이유로 "%s"(코드 %u)로 종료되었습니다.
LS_FARMMEMBER_NOT_ADMIN 연결 "%S": 서버는 클러스터 멤버이지만, 클라이언트는 가상 HUB "%S"관리자 사용자 "%S"이외로 직접 연결하려고 시도했습니다. 클라이언트가 제공 한 사용자 이름은 "%S"입니다. 액세스는 허용되지 않습니다.
LS_HUB_NOT_FOUND 연결 "%S": 클라이언트가 연결을 시도하는 가상 HUB "%S"는 서버에 존재하지 않습니다.
@ -1779,6 +1784,8 @@ LS_LICENSE_VIOLATION_DETECTED 라이센스 위반을 감지했습니다. 다른
LS_API_AUTH_OK HTTPS API client "%r:%u" (%S): Administration mode: "%S": The embedded HTTPS web server accepted the successful login. Username: "%S", Method: "%S", Path: "%S"
LS_API_AUTH_ERROR HTTPS API client "%r:%u" (%S): The embedded HTTPS web server refused a login attempt. Username: "%S", Method: "%S", Path: "%S"
LS_API_RPC_CALL HTTPS API client "%r:%u" (%S): The client called a JSON-API. Method: "%S", Returned error code: %u (0 = success), Returned error message: "%s"
LS_AZURE_START 클라이언트 (IP 주소 %S 포트 번호 %u)에서 VPN Azure 연결 요청을 받았습니다.
LS_AZURE_SSL_ERROR VPN Azure 릴레이 서버와 SSL 통신을 시작하지 못했습니다. 오류:%s (코드 %u)
# (Proto 로그)
@ -2069,6 +2076,7 @@ LC_DELETE_ACCOUNT 연결 설정 "%s"를 삭제했습니다.
LC_RENAME_ACCOUNT 연결 설정 "%s"의 이름을 "%s"로 변경했습니다.
LC_CONNECT 연결 설정 "%s"연결 처리를 시작했습니다.
LC_CONNECT_1 연결 설정 "%s": %u 번째 연결 동작을 시작합니다.
LC_SSL_CONNECTED 연결 설정 "%s": SSL 통신이 시작되었습니다. 프로토콜 버전은 %S입니다. 암호화 알고리즘 명은 "%S"입니다.
LC_CONNECT_2 연결 설정 "%s": 연결이 완료되었습니다. 세션 이름:"%S"
LC_CONNECT_ERROR 연결 설정 "%s": 연결이 끊어 졌는지 연결에 실패했습니다. 이유:%s (코드 %u)
LC_DISCONNECT 연결 설정 "%s"를 끊습니다.

View File

@ -232,6 +232,9 @@ ERR_146 The VPN Gate Service is running inside the VPN Client program. You canno
ERR_147 This feature is not supported. It hasn't been implemented yet on the open-source version of SoftEther VPN.
ERR_148 The VPN connection was disconnected because the system is being suspended.
ERR_149 The destination VPN Server's certificate does not match the specified hostname.
ERR_150 Failed to find the TLS version that is supported by both sides. This usually means that one side may be using an obsolete TLS version which is diabled by the other side.
ERR_151 Failed to find an available cipher that is supported by both sides, or the cipher specified is not compatible with the server certificate.
ERR_152 TLS handshake has failed.
# Concerning licenses
@ -857,6 +860,7 @@ CM_ST_NO_VLAN -
CM_ST_USE_ENCRYPT Criptografia
CM_ST_USE_ENCRYPT_TRUE Enabled (Algorithm: %S)
CM_ST_USE_ENCRYPT_TRUE2 Ativado
CM_ST_USE_ENCRYPT_TRUE3 Enabled (%S Algorithm: %S)
CM_ST_USE_ENCRYPT_FALSE Disabled (No Encryption)
CM_ST_USE_COMPRESS Use of Compression
CM_ST_UDP_ACCEL_ENABLED UDP Acceleration is Supported
@ -1766,8 +1770,9 @@ LS_HUB_STOP Virtual Hub "%S" has been stopped.
LS_HUB_MAC The MAC address of Virtual Hub "%S" is "%S".
LS_NODE_INFO_TAG Client product name: "%S", Client version: %u, Client build number: %u, Server product name: "%S", Server version: %u, Server build number: %u, Client OS name: "%S", Client OS version: "%S", Client product ID: "%S", Client host name: "%S", Client IP address: "%S", Client port number: %u, Server host name: "%S", Server IP address: "%S", Server port number: %u, Proxy host name: "%S", Proxy IP address: "%S", Proxy port number: %u, Virtual Hub name: "%S", Client unique ID: "%S"
LS_CONNECTION_START_1 For the client (IP address: %S, host name: "%S", port number: %u), connection "%S" has been created.
LS_SSL_START_ERROR Failed to start SSL communication for connection "%S". Error: %s (code %u)
LS_CONNECTION_END_1 Connection "%S" has been terminated.
LS_SSL_START SSL communication for connection "%S" has been started. The encryption algorithm name is "%S".
LS_SSL_START SSL communication for connection "%S" has been started. The protocol version is %S. The encryption algorithm name is "%S".
LS_CONNECTION_ERROR Connection "%S" terminated by the cause "%s" (code %u).
LS_FARMMEMBER_NOT_ADMIN Connection "%S": Although the server is a cluster member, the client attempted that to directly connect to the Virtual Hub "%S" while not being administrator user "%S". The user name provided by the client is "%S". Access is refused.
LS_HUB_NOT_FOUND Connection "%S": Virtual Hub "%S" that the client is trying to connect to does not exist on the server.
@ -1795,6 +1800,8 @@ LS_LICENSE_VIOLATION_DETECTED A license violation has been detected. A different
LS_API_AUTH_OK HTTPS API client "%r:%u" (%S): Administration mode: "%S": The embedded HTTPS web server accepted the successful login. Username: "%S", Method: "%S", Path: "%S"
LS_API_AUTH_ERROR HTTPS API client "%r:%u" (%S): The embedded HTTPS web server refused a login attempt. Username: "%S", Method: "%S", Path: "%S"
LS_API_RPC_CALL HTTPS API client "%r:%u" (%S): The client called a JSON-API. Method: "%S", Returned error code: %u (0 = success), Returned error message: "%s"
LS_AZURE_START Received VPN Azure connection request from the client (IP address: %S, port number: %u).
LS_AZURE_SSL_ERROR Failed to start SSL communication with VPN Azure relay server. Error: %s (code %u)
# (Proto log)
@ -2089,6 +2096,7 @@ LC_DELETE_ACCOUNT The VPN Connection Setting "%s" has been deleted.
LC_RENAME_ACCOUNT The name of VPN Connection Setting "%s" has been changed to "%s".
LC_CONNECT Connection processing for VPN Connection Setting "%s" has started.
LC_CONNECT_1 VPN Connection Setting "%s": Connection operation starting (this is now %u times).
LC_SSL_CONNECTED VPN Connection Setting "%s": SSL communication has been started. The protocol version is %S. The encryption algorithm name is "%S".
LC_CONNECT_2 VPN Connection Setting "%s": Now connected. Session name: "%S"
LC_CONNECT_ERROR VPN Connection Setting "%s": The connection has been either disconnected or it failed. Cause: %s (code %u)
LC_DISCONNECT Disconnecting the VPN Connection Setting "%s".

View File

@ -213,6 +213,9 @@ ERR_146 The VPN Gate Service is running inside the VPN Client program. You c
ERR_147 This feature is not supported. It hasn't been implemented yet on the open-source version of SoftEther VPN.
ERR_148 The VPN connection was disconnected because the system is being suspended.
ERR_149 The destination VPN Server's certificate does not match the specified hostname.
ERR_150 Failed to find the TLS version that is supported by both sides. This usually means that one side may be using an obsolete TLS version which is diabled by the other side.
ERR_151 Failed to find an available cipher that is supported by both sides, or the cipher specified is not compatible with the server certificate.
ERR_152 TLS handshake has failed.
# Concerning licenses
@ -837,6 +840,7 @@ CM_ST_NO_VLAN -
CM_ST_USE_ENCRYPT Encryption
CM_ST_USE_ENCRYPT_TRUE Enabled (Algorithm: %S)
CM_ST_USE_ENCRYPT_TRUE2 Enabled
CM_ST_USE_ENCRYPT_TRUE3 Enabled (%S Algorithm: %S)
CM_ST_USE_ENCRYPT_FALSE Disabled (No Encryption)
CM_ST_USE_COMPRESS Use of Compression
CM_ST_UDP_ACCEL_ENABLED UDP Acceleration is Supported
@ -1766,8 +1770,9 @@ LS_HUB_STOP Virtual Hub "%S" has been stopped.
LS_HUB_MAC The MAC address of Virtual Hub "%S" is "%S".
LS_NODE_INFO_TAG Client product name: "%S", Client version: %u, Client build number: %u, Server product name: "%S", Server version: %u, Server build number: %u, Client OS name: "%S", Client OS version: "%S", Client product ID: "%S", Client host name: "%S", Client IP address: "%S", Client port number: %u, Server host name: "%S", Server IP address: "%S", Server port number: %u, Proxy host name: "%S", Proxy IP address: "%S", Proxy port number: %u, Virtual Hub name: "%S", Client unique ID: "%S"
LS_CONNECTION_START_1 For the client (IP address: %S, host name: "%S", port number: %u), connection "%S" has been created.
LS_SSL_START_ERROR Failed to start SSL communication for connection "%S". Error: %s (code %u)
LS_CONNECTION_END_1 Connection "%S" has been terminated.
LS_SSL_START SSL communication for connection "%S" has been started. The encryption algorithm name is "%S".
LS_SSL_START SSL communication for connection "%S" has been started. The protocol version is %S. The encryption algorithm name is "%S".
LS_CONNECTION_ERROR Connection "%S" terminated by the cause "%s" (code %u).
LS_FARMMEMBER_NOT_ADMIN Connection "%S": Although the server is a cluster member, the client attempted that to directly connect to the Virtual Hub "%S" while not being administrator user "%S". The user name provided by the client is "%S". Access is refused.
LS_HUB_NOT_FOUND Connection "%S": Virtual Hub "%S" that the client is trying to connect to does not exist on the server.
@ -1795,6 +1800,8 @@ LS_LICENSE_VIOLATION_DETECTED A license violation has been detected. A different
LS_API_AUTH_OK HTTPS API client "%r:%u" (%S): Administration mode: "%S": The embedded HTTPS web server accepted the successful login. Username: "%S", Method: "%S", Path: "%S"
LS_API_AUTH_ERROR HTTPS API client "%r:%u" (%S): The embedded HTTPS web server refused a login attempt. Username: "%S", Method: "%S", Path: "%S"
LS_API_RPC_CALL HTTPS API client "%r:%u" (%S): The client called a JSON-API. Method: "%S", Returned error code: %u (0 = success), Returned error message: "%s"
LS_AZURE_START Received VPN Azure connection request from the client (IP address: %S, port number: %u).
LS_AZURE_SSL_ERROR Failed to start SSL communication with VPN Azure relay server. Error: %s (code %u)
# (Proto log)
@ -2088,6 +2095,7 @@ LC_DELETE_ACCOUNT The VPN Connection Setting "%s" has been deleted.
LC_RENAME_ACCOUNT The name of VPN Connection Setting "%s" has been changed to "%s".
LC_CONNECT Connection processing for VPN Connection Setting "%s" has started.
LC_CONNECT_1 VPN Connection Setting "%s": Connection operation starting (this is now %u times).
LC_SSL_CONNECTED VPN Connection Setting "%s": SSL communication has been started. The protocol version is %S. The encryption algorithm name is "%S".
LC_CONNECT_2 VPN Connection Setting "%s": Now connected. Session name: "%S"
LC_CONNECT_ERROR VPN Connection Setting "%s": The connection has been either disconnected or it failed. Cause: %s (code %u)
LC_DISCONNECT Disconnecting the VPN Connection Setting "%s".

View File

@ -219,6 +219,9 @@ ERR_146 VPN Gate 服務運行在 VPN 用戶端程式內。在此螢幕上,
ERR_147 不支援此功能。它尚未在 SoftEther VPN 的開源版本上實施。
ERR_148 VPN 連接被中斷,因為該系統被暫停。
ERR_149 目標 VPN Server 的證書與指定的主機名稱不匹配。
ERR_150 找不到連接雙方都支持的 TLS 版本。這通常意味著一方可能正在使用已被另一方禁用的過時的 TLS 版本。
ERR_151 找不到連接雙方都支持的加密演算法,或者指定的演算法與伺服器憑證不相容。
ERR_152 TLS 握手失敗。
#關於許可證
@ -846,6 +849,7 @@ CM_ST_NO_VLAN
CM_ST_USE_ENCRYPT 加密
CM_ST_USE_ENCRYPT_TRUE 已啟用 (演算法: %S)
CM_ST_USE_ENCRYPT_TRUE2 已啟用
CM_ST_USE_ENCRYPT_TRUE3 已啟用 (%S 演算法: %S)
CM_ST_USE_ENCRYPT_FALSE 已禁用 (不加密)
CM_ST_USE_COMPRESS 使用壓縮
CM_ST_UDP_ACCEL_ENABLED 支援 UDP 加速
@ -1784,8 +1788,9 @@ LS_HUB_STOP 虛擬 HUB "%S" 已關閉。
LS_HUB_MAC 虛擬 HUB "%S" 的 MAC 位址是 "%S"。
LS_NODE_INFO_TAG 用戶端產品名:"%S",用戶端版本:%u用戶端構建號%u服務端產品名"%S",服務端版本:%u服務端構建號%u用戶端作業系統名"%S",用戶端作業系統版本:"%S",用戶端產品 ID"%S",用戶端主機名稱:"%S",用戶端 IP 地址:"%S",用戶端埠號:%u服務端主機名稱"%S",服務端 IP 位址:"%S",服務端埠號:%u代理主機名稱"%S",代理 IP 位址:"%S",代理埠號:%u虛擬 HUB 名:"%S",用戶端唯一 ID "%S"
LS_CONNECTION_START_1 用戶端 (IP 地址:%S主機名稱"%S",埠號:%u) 的連接 "%S" 已建立。
LS_SSL_START_ERROR 無法啟動連接 "%S" 的 SSL 通信。錯誤: %s (代碼 %u)
LS_CONNECTION_END_1 連接 "%S" 已結束。
LS_SSL_START 連接 "%S" 的 SSL 通信已啟動。加密演算法名為 "%S"。
LS_SSL_START 連接 "%S" 的 SSL 通信已啟動。協議版本是 %S。加密演算法名為 "%S"。
LS_CONNECTION_ERROR 連接 "%S"因原因 "%s" (代碼 %u)已終止。
LS_FARMMEMBER_NOT_ADMIN 連接 "%S": 服務端是群集成員,但用戶端在非管理員 (%S) 使用者情況下,嘗試直接與虛擬 HUB "%S" 連接。用戶端用戶名為 "%S"。訪問被拒絕。
LS_HUB_NOT_FOUND 連接 "%S": 客戶端正在嘗試連接的虛擬 HUB "%S" 在服務端上不存在。
@ -1813,6 +1818,8 @@ LS_LICENSE_VIOLATION_DETECTED 發現許可證違反錯誤,一個不同的 VPN
LS_API_AUTH_OK HTTPS API client "%r:%u" (%S): Administration mode: "%S": The embedded HTTPS web server accepted the successful login. Username: "%S", Method: "%S", Path: "%S"
LS_API_AUTH_ERROR HTTPS API client "%r:%u" (%S): The embedded HTTPS web server refused a login attempt. Username: "%S", Method: "%S", Path: "%S"
LS_API_RPC_CALL HTTPS API client "%r:%u" (%S): The client called a JSON-API. Method: "%S", Returned error code: %u (0 = success), Returned error message: "%s"
LS_AZURE_START 收到來自客戶端 (IP 地址:%S埠號%u) 的 VPN Azure 連接請求。
LS_AZURE_SSL_ERROR 無法啟動與 VPN Azure 中繼伺服器的 SSL 通信。錯誤: %s (代碼 %u)
# (Proto 日誌)
@ -2107,6 +2114,7 @@ LC_DELETE_ACCOUNT 已刪除 VPN 連接設置 "%s"。
LC_RENAME_ACCOUNT 已變更 VPN 連接設置名 "%s" 為 "%s"。
LC_CONNECT 已開始 VPN 連接設置 "%s" 的連接處理。
LC_CONNECT_1 VPN 連接設置 "%s": 第 %u 次連接操作開始。
LC_SSL_CONNECTED VPN 連接設置 "%s": SSL 通信已啟動。協議版本是 %S。加密演算法名為 "%S"。
LC_CONNECT_2 VPN 連接設置 "%s": 連接完成。會話名: "%S"。
LC_CONNECT_ERROR VPN 連接設置 "%s": 連接斷開或連接失敗。原因: %s (代碼 %u)
LC_DISCONNECT VPN 連接設置 "%s" 斷開中。