vpnc ignores xauth password in conf file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kvpnc (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
vpnc (Debian) |
Fix Released
|
Unknown
|
|||
vpnc (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Bug Description
Binary package hint: vpnc
vpnc 0.5.1r275-1 on Hardy beta asks for the Xauth password even when it's in the conf file. 0.5.1 compiled from http://
Example with 0.5.1r275-1:
-------
snafu$ (cat vpnc.conf; echo 'Xauth password 5...2') >|vpnc-1.conf
snafu$ sudo vpnc ./vpnc-1.conf
Enter Username and Password.
Passcode for VPN rkh@<snip>: (type same 5...2 password as above)
VPNC started in background (pid: 26942)...
snafu$ sudo vpnc-disconnect
Terminating vpnc daemon (pid: 26942)
Example with 0.5.1 from source:
(same technique has been used since 0.3.3)
-------
snafu$ (cat vpnc.conf; echo 'Xauth password 5...6') >|vpnc-2.conf
snafu$ sudo ./opt/vpnc/
VPNC started in background (pid: 28048)...
snafu$ sudo vpnc-disconnect
Terminating vpnc daemon (pid: 28048)
For both examples, vpnc.conf contains:
IPSec ID <snip>
IPSec secret <snip>
IPSec gateway <snip>
Xauth username rkh
Related branches
Changed in vpnc: | |
status: | Unknown → New |
Changed in vpnc (Debian): | |
status: | New → Fix Released |
I get the same problem.
It seems that vpnc is using the Xauth password to respond to the prompt that comes just before the "Enter Username and Password." output:
Enter password for west@1.2.3.4:
In my setup, I can enter anything or nothing for that prompt as long as I then enter the correct PIN+SecurID at the "Passcode for VPN west@1.2.3.4:" prompt.
Another computer I use at home is running Ubuntu 7.10 with version 0.4.0-3ubuntu2 of vpnc. It does not prompt for the Passcode when I provide a password. In other words, the same as Reece sees with 0.5.1.