[vpnc-devel] VPNC Front End
wayne chan
waynechan at yahoo.com
Mon Mar 2 22:12:11 CET 2009
hi joshua,
I built my vpnc to run on Vista/X64 and your front-end GUI worked out great
if you can support 2-phase authentication... I was using vpnc release 0.5.3 +
Tilman Schroder's Vista Patch. (the one fixed the routing table using 0.0.0.0 routes).
Using your vpnc front-end, i got prompted (a pop-up) dialog for the 1st challenge
but i didn't get another prompted dialog for the 2nd challenge . . Is that somewhere you
can modify your GUI to allow users to define 1-phase or 2-phase challenge...
Here is my vpnc connection output with 2-phase authentication:
-------------------------------
Script started on Tue Feb 17 10:48:45 2009
^[]0;/etc/vpnc^G
^[[32mwaynec at vaio-sony-wayne ^[[33m/etc/vpnc^[[0m
$ /usr/local/sbin/vpnc
Microsoft (R) Windows Script Host Version 5.7
Copyright (C) Microsoft Corporation. All rights reserved.
Device: my-tap
TAP-Win32 Driver Version 9.4
Warning: using insecure memory!
Enter Username and Password.
Password for VPN xx12345 at 192.18.32.150: <------ 1st challenge here
Challenge: 9 4425 Response? <-----------------------2nd challenge
Password for VPN xx12345 at 192.18.32.150: <--------2nd response
Microsoft (R) Windows Script Host Version 5.7 <-------- then i got authenticated and connected
Copyright (C) Microsoft Corporation. All rights reserved.
VPN Gateway: 111.22.33.44
Internal Address: 155.166.77.88
Internal Netmask:
Interface: "my-tap"
Configuring "my-tap" interface...
done.
Configuring networks:
Gateway did not provide network configuration.
Route configuration done.
--------------------
thanks,
wayne
________________________________
From: Joshua Bahnsen <stellarspace69 at yahoo.com>
To: vpnc-devel at unix-ag.uni-kl.de
Sent: Friday, February 27, 2009 3:33:04 PM
Subject: Re: [vpnc-devel] VPNC Front End
What are the specific Vista and x64 fixes? You may not need them, vpnc works fine on Vista.
The cygwin DLL is modified to use an alternate registry location, the front end relies on this registry location to function, you would then need to ensure those registry keys exist. Probably more work than it is worth. You should be able to just drop your vpnc.exe in the same directory, assuming you aren't linked against any further DLLs. I do not use the jscript file, I have implemented its functionality in an AutoIt script which has been compiled into an exe. I'm not a big fan of jscript.
What does the output of vpnc look like during this two phase challenge? It should be easy to implement.
________________________________
From: wayne chan <waynechan at yahoo.com>
To: vpnc list to send bug reports and discussions with developers <vpnc-devel at unix-ag.uni-kl.de>
Sent: Thursday, February 26, 2009 10:30:32 PM
Subject: Re: [vpnc-devel] VPNC Front End
joshua, i downloaded your vpnc front-end and tested a bit on my Vista system.
i have few questions about how to use your vpnc front-end to work with the
my own copy of vpnc. This is my custom built vpnc with some Vista/x64 fixes.
I noticed from your tarball, the bin directory has your copy of vpnc.exe and sh.exe
along with your other *.dll files. If i want to use my own compiled vpnc.exe
and vpnc-script-win.js is that all i need to do is to replace those files with my own ??
Also my authentication requires 2-phase challenges..i.e. i need to provide 2 auth-challenges
in sequence... While your GUI front-end only prompts for the first challenge but didn't
prompts again when the 2nd challenge was requested by my Cisco vpn server...
(i have Xauth Interactive set in my default.conf to have it working when doing command
line connection). Is this something you can modify to address this 2-phase auth-challenge ??
thanks...
wayne chan
________________________________
From: Joshua Bahnsen <stellarspace69 at yahoo.com>
To: vpnc-devel at unix-ag.uni-kl.de
Sent: Friday, February 20, 2009 11:15:42 PM
Subject: [vpnc-devel] VPNC Front End
I created an open source VPNC Front End for Windows, it is currently hosted on Sourceforge. I'm sending an email to this list because I want to make sure I'm not stepping on any toes. I have not modified any of the vpnc sources, they are just compiled with cygwin. I am providing in an installer the required cygwin libraries:
cyggcrypt-11.dll
cyggpg-error-0.dll
cygiconv-2.dll
cygintl-8.dll
cygwin1.dll
I modified the source of cygwin so I do not interfere with other cygwin applications. It will load in an entirely separate memory space and it uses an alternate registry location.
I also provide the TAP drivers provided by OpenVPN.
I'm in the process of setting up the Sourceforge site below, but the main sources and the installer are there.
I know there are probably quite a few people out there looking for something like this.
https://sourceforge.net/project/showfiles.php?group_id=252530
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.unix-ag.uni-kl.de/pipermail/vpnc-devel/attachments/20090302/cde5e59f/attachment.htm
More information about the vpnc-devel
mailing list