1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2025-07-08 00:34:57 +03:00

Cedar/Proto_OpenVPN.c: remove redundant log messages

The "session created" and "session deleted" messages were useful when a single OPENVPN_SERVER object handled multiple UDP sessions.

Now that each session has its own OPENVPN_SERVER object and session creations/deletions are logged by PROTO, the messages are redundant.

In future we will change the OpenVPN implementation so that the multi-session handling code is deleted.

The messages were like this:

OpenVPN Module: The OpenVPN Server Module is starting.
OpenVPN Session 1 (192.168.122.211:47390 -> 0.0.0.0:1194): A new session is created. Protocol: UDP

OpenVPN Session 1 (192.168.122.211:47390 -> 0.0.0.0:1194): Deleting the session.
OpenVPN Module: The OpenVPN Server Module is stopped.
This commit is contained in:
Davide Beatrici
2020-08-06 03:28:08 +02:00
parent cda0062367
commit 5d782a67b4
8 changed files with 0 additions and 35 deletions

View File

@ -1827,15 +1827,11 @@ LO_CLIENT_CERT Client certificate received (subject: CN="%s"), will use certif
LO_CLIENT_UNVERIFIED_CERT Client certificate was provided but did not pass verification (error="%S"), will use password authentication.
LO_CLIENT_NO_CERT Client certificate is not provided, will use password authentication.
LO_OPTION_STR_SEND 发送选项字符串:"%S"
LO_NEW_SESSION 已创建新的会话。协议:%S
LO_INITIATE_REKEY re-keying 进程已开始。
LO_CHANNEL_ESTABLISHED 该通道成为已建立的状态。
LO_PUSH_REPLY 完整字符串回答:"%S"
LO_CHANNEL_FAILED 无法连接通道。
LO_CHANNEL_DISCONNECTED_BY_HUB 此 OpenVPN 的通道被终止,因为虚拟 HUB 管理员断开了此 VPN 会话。
LO_DELETE_SESSION 删除会话中。
LO_START OpenVPN Server 模块正在启动。
LO_STOP OpenVPN Server 模块已停止。
# (IPsec 日志)