1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-09-18 01:33:00 +03:00

[vpncmd] Added DISABLEUDP option into AccountDetailSet command. This allows to change "Disable UDP acceleration" via vpncmd. #308 (#389)

This commit is contained in:
Max Miroshnikov 2018-05-14 11:08:58 +03:00 committed by Moataz Elmasry
parent f5645fe3fd
commit e6d94dfca9
2 changed files with 4 additions and 0 deletions

View File

@ -5662,6 +5662,7 @@ UINT PcAccountDetailSet(CONSOLE *c, char *cmd_name, wchar_t *str, void *param)
{"MONITOR", CmdPrompt, _UU("CMD_AccountDetailSet_Prompt_MONITOR"), NULL, NULL},
{"NOTRACK", CmdPrompt, _UU("CMD_AccountDetailSet_Prompt_NOTRACK"), NULL, NULL},
{"NOQOS", CmdPrompt, _UU("CMD_AccountDetailSet_Prompt_NOQOS"), NULL, NULL},
{"DISABLEUDP", CmdPrompt, _UU("CMD_AccountDetailSet_Prompt_DISABLEUDP"), NULL, NULL},
};
// Get the parameter list
@ -5690,6 +5691,7 @@ UINT PcAccountDetailSet(CONSOLE *c, char *cmd_name, wchar_t *str, void *param)
t.ClientOption->RequireMonitorMode = GetParamYes(o, "MONITOR");
t.ClientOption->NoRoutingTracking = GetParamYes(o, "NOTRACK");
t.ClientOption->DisableQoS = GetParamYes(o, "NOQOS");
t.ClientOption->NoUdpAcceleration = GetParamYes(o, "DISABLEUDP");
Zero(&z, sizeof(z));
z.CheckServerCert = t.CheckServerCert;

View File

@ -6656,6 +6656,7 @@ CMD_AccountDetailSet_BRIDGE Specify "yes" when connecting to the VPN Server usin
CMD_AccountDetailSet_MONITOR Specify "yes" when connecting to the VPN Server using Monitoring Mode. When a connection is made using Monitoring Mode, you can receive all packets that flow through the Virtual Hub. However, if the security policy of the user who is being used for connection does not allow Monitoring Mode, then connection will fail.
CMD_AccountDetailSet_NOTRACK Specify "yes" will disable the adjustments of routing table. Normally "no" is specified.
CMD_AccountDetailSet_NOQOS Specify "yes" when disabling VoIP / QoS functions. Normally "no" is specified.
CMD_AccountDetailSet_DISABLEUDP Specify "yes" when disabling UDP acceleration function. Normally "no" is specified.
CMD_AccountDetailSet_Eval_MaxTcp Specify an integer in the range 1 to 32 for the number of TCP connections.
CMD_AccountDetailSet_Eval_Interval Set at least 1 second for the interval to establish a TCP connection.
CMD_AccountDetailSet_Prompt_MaxTcp Number of TCP Connections to Use in VPN Communication:
@ -6666,6 +6667,7 @@ CMD_AccountDetailSet_Prompt_BRIDGE Enable Bridge / Router Mode (yes/no):
CMD_AccountDetailSet_Prompt_MONITOR Enable Monitoring Mode (yes/no):
CMD_AccountDetailSet_Prompt_NOTRACK Disable Adjustment of Routing Table (yes/no):
CMD_AccountDetailSet_Prompt_NOQOS Disable QoS Control Function (yes/no):
CMD_AccountDetailSet_Prompt_DISABLEUDP Disable UDP Acceleration Function (yes/no):
# AccountRename command