TdUb199420 / android-openvpn-settings

Automatically exported from code.google.com/p/android-openvpn-settings
GNU General Public License v3.0
0 stars 0 forks source link

Add "--verb 3" to command line when launching a connection #105

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Please add "--verb 3" to the command line when launching the openvpn binary. If 
not added the OpenVPN Settings client doesn't show the progress of connecting 
and you have to press the "connect to" button for the config again.

This only happens when the config file doesn't include the "verb 3" option. So 
why not add it to the parameters anyway?

        mDaemonProcess = new Shell( 
                mTagDaemonMonitor + "-daemon",
                String.format( 
                        "%s --cd %s --config %s --writepid %s --script-security %d --management 127.0.0.1 %d --management-query-passwords --verb 3",
                        openvpnBinary.getAbsolutePath(),                
                        Util.shellEscape(mConfigFile.getParentFile().getAbsolutePath()),
                        Util.shellEscape(mConfigFile.getName()),
                        Util.shellEscape(mPidFile.getAbsolutePath()),
                        Preferences.getScriptSecurityLevel( mContext, mConfigFile ),
                        mgmtPort
                ),
                Shell.SU
        )

Original issue reported on code.google.com by cyberde on 7 Jan 2012 at 7:23

GoogleCodeExporter commented 8 years ago

Original comment by friedrich.schaeuffelhut on 8 Jan 2012 at 3:10

GoogleCodeExporter commented 8 years ago
This will force verbosity to 3. Higher levels set in the config will be 
overwritten.

Original comment by friedrich.schaeuffelhut on 17 Jan 2012 at 10:23

GoogleCodeExporter commented 8 years ago
Issue 61 has been merged into this issue.

Original comment by friedrich.schaeuffelhut on 27 Jan 2012 at 8:56