http://bugs.winehq.org/show_bug.cgi?id=24320
Summary: Unexpected DetectEnvStatus.exe crash with Cisco Quick VPN Client (QVPN 1.4.1.2) Product: Wine Version: unspecified Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: ethanfharris@gmail.com
Cisco QVPN v1.4.1.2 does not work under Wine. QVPN is used to establish an IPSec Virtual Private Network tunnel from a client computer to a Cisco Router/Gateway to facilitate secure communication over the internet.
There appear to be 3 errors when running the Cisco QVPN application under Wine:
(a) an apparent crash / closure of DetectEnvStatus.exe (b) a failure to resolve a DDNS domain name, and (c) QVPN is not able to ping the gateway router, and all data transfer over the VPN fails.
In all cases a popup box appears (see attached screenshot) indicating that DectectEnvStatus.exe has a serious problem and has closed.
If anyone wants to debug this, I can supply a copy of QVPN, and I can set up a temporary guest account on my WRVS4400N small business router for testing purposes. QVPN works fine under Windows Vista SP2, and works fine on a Ununtu 10.04LTS host with a Vista guest running under Oracle VirtualBox. So the QVPN application itself is OK, and the problem is related somehow to Wine or various underlying services.
On the attached screenshot the DetectEnvStatus popup appears immediately when I attempt to connect the VPN. If I use the IP address of the gateway router I am connecting to in lieu of the DDNS domain name, QVPN will create the VPN, but the tunnel verification ping test fails and the tunnel will not transmit data, which is why the "remote gateway not responding" message also appears on the screenshot. If I specify the DDNS domain name of the remote gateway router, the VPN tunnel is not established (not shown), suggesting a dynamic DNS name-to-IP address resolution related problem in Wine.
Any help would be appreciated.
http://bugs.winehq.org/show_bug.cgi?id=24320
--- Comment #1 from Ethan ethanfharris@gmail.com 2010-09-09 08:23:09 CDT --- Created an attachment (id=30646) --> (http://bugs.winehq.org/attachment.cgi?id=30646) Screenshot: Established VPN with DetectEnvStatus.exe and ping timeout errors
http://bugs.winehq.org/show_bug.cgi?id=24320
--- Comment #2 from Dmitry Timoshkov dmitry@codeweavers.com 2010-09-09 08:50:09 CDT --- Please specify the Wine version you are using (in the Version field above).
http://bugs.winehq.org/show_bug.cgi?id=24320
Ethan ethanfharris@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |1.3.2
http://bugs.winehq.org/show_bug.cgi?id=24320
--- Comment #3 from Austin English austinenglish@gmail.com 2010-09-09 10:59:33 CDT --- Terminal output?
http://bugs.winehq.org/show_bug.cgi?id=24320
--- Comment #4 from Ethan ethanfharris@gmail.com 2010-09-09 11:49:54 CDT --- (In reply to comment #3)
Terminal output?
What terminal are you referring to? The QVPN application is not invoked via the linux terminal. If you need a log file of some sort, let me know what you want to see, where it is, and how to do it, and I'll post it. The log produced by QVPN (when the DetectEnvStatus.exe failure occurs) shows the following: Note ~ I XXX'ed the last set of digits in the IP address...
2010/09/09 12:35:00 [STATUS]One network interface detected with IP address
2010/09/09 12:35:00 [STATUS]Connecting...
2010/09/09 12:35:00 [DEBUG]Input VPN Server Address = 68.187.227.XXX
2010/09/09 12:35:00 [STATUS]Connecting to remote gateway with IP address: 68.187.227.XXX
2010/09/09 12:35:05 [STATUS]Remote gateway was reached by https ...
2010/09/09 12:35:05 [STATUS]Provisioning...
2010/09/09 12:35:13 [STATUS]Success to connect.
2010/09/09 12:35:13 [STATUS]Tunnel is configured. Ping test is about to start.
2010/09/09 12:35:13 [STATUS]Verifying Network...
2010/09/09 12:35:27 [WARNING]Failed to ping remote VPN Router!
2010/09/09 12:35:27 [WARNING]IPSEC service not running when connecting!
2010/09/09 12:35:28 [WARNING]Failed to ping remote VPN Router!
2010/09/09 12:35:28 [WARNING]IPSEC service not running when connecting!
2010/09/09 12:35:29 [WARNING]Failed to ping remote VPN Router!
2010/09/09 12:35:29 [WARNING]IPSEC service not running when connecting!
2010/09/09 12:35:30 [WARNING]Failed to ping remote VPN Router!
2010/09/09 12:35:30 [WARNING]IPSEC service not running when connecting!
2010/09/09 12:35:31 [WARNING]Failed to ping remote VPN Router!
2010/09/09 12:35:31 [WARNING]IPSEC service not running when connecting!
2010/09/09 12:35:32 [WARNING]Ping was blocked, which can be caused by an unexpected disconnect.
2010/09/09 12:35:40 [STATUS]Disconnecting...
2010/09/09 12:35:45 [STATUS]Success to disconnect.
So something is triggering the DetectEnvStatus.exe failure. And as before, QVPN only gets this far if I specify the IP address of the router and will fail with an unresolved address if I specify a dynamic DNS host name. Ethan
http://bugs.winehq.org/show_bug.cgi?id=24320
--- Comment #5 from Juan Lang juan_lang@yahoo.com 2010-09-09 11:55:06 CDT --- http://wiki.winehq.org/FAQ#get_log
http://bugs.winehq.org/show_bug.cgi?id=24320
--- Comment #6 from Ethan ethanfharris@gmail.com 2010-09-09 14:35:06 CDT --- Created an attachment (id=30660) --> (http://bugs.winehq.org/attachment.cgi?id=30660) terminal debug
I ran a debug on QVPN when it connects but fails the ping test. I used the standard WINEDEBUG=+relay,+seh,+tid wine your_program.exe &> /tmp/output.txt channels. If you want a wine trace with other arguments or channels, let me know.
http://bugs.winehq.org/show_bug.cgi?id=24320
Drew Kroft drew.kroft@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |drew.kroft@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=24320
--- Comment #7 from butraxz@gmail.com 2013-02-03 10:15:36 CST --- No update for two years and download is not available. Is this still an issue in 1.5.23 or higher ? Or should this be closed as abandoned ?
https://bugs.winehq.org/show_bug.cgi?id=24320
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Status|UNCONFIRMED |NEW URL| |http://download.cisco.com/s | |wc/esd/04/crypto/3DES/28241 | |3305/anon/QVPN_UTL_1.4.1.2. | |zip CC| |focht@gmx.net Summary|Unexpected |Cisco Quick VPN Client |DetectEnvStatus.exe crash |(QVPN) v1.4.x tool |with Cisco Quick VPN Client |'DetectEnvStatus.exe' |(QVPN 1.4.1.2) |crashes Ever confirmed|0 |1
--- Comment #8 from Anastasius Focht focht@gmx.net --- Hello folks,
please stick to one problem per bug. A stub 'ping' executable was added to Wine some time ago.
Some VPN helper tools need Windows builtin network security components:
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/Cisco Small Business/QuickVPN Client
$ WINEDEBUG=+tid,+process wine ./VPNClient.exe
0009:trace:process:create_process_impl app (null) cmdline L"ipsec.exe -off" ... 0009:trace:process:create_process_impl starting L"C:\Program Files\Cisco Small Business\QuickVPN Client\ipsec.exe" as Win32 binary (0x400000-0x411000, arch 014c)
0023:trace:process:__wine_kernel_init starting process name=L"C:\Program Files\Cisco Small Business\QuickVPN Client\IPSEC.exe" argv[0]=L"ipsec.exe"
0009:trace:process:create_process_impl started process pid 0022 tid 0023
0023:trace:process:set_entry_point setting FT_Thunk at 0x7b8bb838 to 00000000 IPSec Version 2.2.1 (c) 2001-2003 Marcus Mueller Getting running Config ...
0023:trace:process:create_process_impl app L"C:\windows\system32\cmd.exe" cmdline L"C:\windows\system32\cmd.exe /c ipsecpol > NUL: 2> NUL:" 0023:trace:process:open_exe_file looking for L"C:\windows\system32\cmd.exe" 0023:trace:process:create_process_impl starting L"C:\windows\system32\cmd.exe" as Win32 binary (0x10000000-0x100b3000, arch 014c)
0025:trace:process:init_current_directory starting in L"C:\Program Files\Cisco Small Business\QuickVPN Client\" 0x20 0025:trace:process:__wine_kernel_init starting process name=L"C:\windows\system32\cmd.exe" argv[0]=L"C:\windows\system32\cmd.exe"
0023:trace:process:create_process_impl started process pid 0024 tid 0025
0025:trace:process:set_entry_point setting FT_Thunk at 0x7b8bb838 to 00000000
0023:trace:process:create_process_impl app L"C:\windows\system32\cmd.exe" cmdline L"C:\windows\system32\cmd.exe /c ipseccmd > NUL: 2> NUL:" 0023:trace:process:open_exe_file looking for L"C:\windows\system32\cmd.exe" 0023:trace:process:create_process_impl starting L"C:\windows\system32\cmd.exe" as Win32 binary (0x10000000-0x100b3000, arch 014c)
0027:trace:process:init_current_directory starting in L"C:\Program Files\Cisco Small Business\QuickVPN Client\" 0x20 0027:trace:process:__wine_kernel_init starting process name=L"C:\windows\system32\cmd.exe" argv[0]=L"C:\windows\system32\cmd.exe"
0023:trace:process:create_process_impl started process pid 0026 tid 0027
0027:trace:process:set_entry_point setting FT_Thunk at 0x7b8bb838 to 00000000 0027:trace:process:create_process_impl app L"C:\Program Files\Cisco Small Business\QuickVPN Client\ipseccmd.EXE" cmdline L"ipseccmd " 0027:trace:process:open_exe_file looking for L"C:\Program Files\Cisco Small Business\QuickVPN Client\ipseccmd.EXE" 0027:trace:process:create_process_impl starting L"C:\Program Files\Cisco Small Business\QuickVPN Client\ipseccmd.EXE" as Win32 binary (0x1000000-0x1013000, arch 014c)
0029:trace:process:init_current_directory starting in L"C:\Program Files\Cisco Small Business\QuickVPN Client\" 0x20 0029:trace:process:__wine_kernel_init starting process name=L"C:\Program Files\Cisco Small Business\QuickVPN Client\ipseccmd.exe" argv[0]=L"ipseccmd"
0027:trace:process:create_process_impl started process pid 0028 tid 0029
0029:err:module:import_dll Library WINIPSEC.DLL (which is needed by L"C:\Program Files\Cisco Small Business\QuickVPN Client\ipseccmd.exe") not found 0029:err:module:import_dll Library POLSTORE.DLL (which is needed by L"C:\Program Files\Cisco Small Business\QuickVPN Client\ipseccmd.exe") not found 0029:err:module:LdrInitializeThunk Main exe initialization for L"C:\Program Files\Cisco Small Business\QuickVPN Client\ipseccmd.exe" failed, status c0000135 ipsecpol.exe or ipseccmd.exe not found! ... --- snip ---
$ sha1sum QVPN_UTL_1.4.1.2.zip 8a3f83d04e9d943db3792fd74ac8b29724ff2d60 QVPN_UTL_1.4.1.2.zip
$ du -sh QVPN_UTL_1.4.1.2.zip 3.3M QVPN_UTL_1.4.1.2.zip
$ wine --version wine-1.7.11-206-g82b3813
Regards
https://bugs.winehq.org/show_bug.cgi?id=24320
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #9 from super_man@post.com --- @ethan could you retry? Testing this seem to require some service that I don't have. While installing/running the program it fails to load some dlls.
https://bugs.winehq.org/show_bug.cgi?id=24320
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://download.cisco.com/s |https://sites.google.com/a/ |wc/esd/04/crypto/3DES/28241 |4aes.com/4a-electronic-syst |3305/anon/QVPN_UTL_1.4.1.2. |ems-inc/user-guides/QVPN_UT |zip |L_1.4.1.2.zip?attredirects= | |0&d=1 Resolution|--- |FIXED Status|NEW |RESOLVED
--- Comment #10 from Gijs Vermeulen gijsvrm@gmail.com --- With wine-5.15 DetectEnvStatus.exe doesn't crash anymore. It calls INetFwPolicy2::get_FireWallEnabled and complains that it returns E_NOTIMPL, but it doesn't crash. (We could set enabled to VARIANT_FALSE and fake success, but probably not worth it since hnetcfg is mostly a stub)
Since this bug was about that crash, marking FIXED. Please open new bugs for other issues.
https://bugs.winehq.org/show_bug.cgi?id=24320
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #11 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 5.16.