Mailing List Archive

manpage/real life differences
Skipped content of type multipart/mixed-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 374 bytes
Desc: OpenPGP digital signature
Url : http://lists.unix-ag.uni-kl.de/pipermail/vpnc-devel/attachments/20040517/7c6e5a4b/signature.pgp
manpage/real life differences [ In reply to ]
Eduard Bloch wrote:
>>Is that a past option that seems to have gone away, or a future option
>>that didn't make it yet?
>
>
> Lesson of the day: don't use the manpage from Debian or SuSE and
> vpnc-connect from the pure upstream package.

Well, considering that vpnc.8 is in the "pure upstream package," I am
guessing the lesson is to be learned by someone else, not me. :)

Regards,
--
Konstantin ("Icon") Ryabitsev
Duke Physics Systems Admin, RHCE
I am looking for a job in Canada!
http://linux.duke.edu/~icon/cajob.ptml
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 374 bytes
Desc: OpenPGP digital signature
Url : http://lists.unix-ag.uni-kl.de/pipermail/vpnc-devel/attachments/20040517/23a2f37f/signature.pgp
manpage/real life differences [ In reply to ]
Moin Konstantin!
Konstantin Ryabitsev schrieb am Montag, den 17. Mai 2004:

> The /etc/vpnc/<filename>.conf part seems to be incorrect. Per my tests:
>
> root@hagrid:[~]# vpnc-connect duke-wireless
> /usr/sbin/vpnc: couldn't open `duke-wireless': No such file or directory
> root@hagrid:[~]# vpnc-connect /etc/vpnc/duke-wireless.conf
> Enter password for icon@xxx.xxx.xxx.xxx:
> VPNC started in background (pid: 27622)...
>
> Is that a past option that seems to have gone away, or a future option
> that didn't make it yet?

Lesson of the day: don't use the manpage from Debian or SuSE and
vpnc-connect from the pure upstream package.

Regards,
Eduard.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.unix-ag.uni-kl.de/pipermail/vpnc-devel/attachments/20040517/07561eae/attachment.pgp
manpage/real life differences [ In reply to ]
hi,

> Moin Konstantin!
> Konstantin Ryabitsev schrieb am Montag, den 17. Mai 2004:
>
> > The /etc/vpnc/<filename>.conf part seems to be incorrect. Per my tests:
> >=20
> > root@hagrid:[~]# vpnc-connect duke-wireless
> > /usr/sbin/vpnc: couldn't open `duke-wireless': No such file or directory
> > root@hagrid:[~]# vpnc-connect /etc/vpnc/duke-wireless.conf
> > Enter password for icon@xxx.xxx.xxx.xxx:
> > VPNC started in background (pid: 27622)...
> >=20
> > Is that a past option that seems to have gone away, or a future option=20
> > that didn't make it yet?
>
> Lesson of the day: don't use the manpage from Debian or SuSE and
> vpnc-connect from the pure upstream package.

well well.. looks like I should pay a bit more attantion (o:

anyway.. I think reading first ./foo and then /etc/vpnc/foo is
unsafe, for the same reason . in $PATH is unsafe. Remember:
the "Config Script" variable gets exec()d without question.

current behavior is: read anything which does not begin with "-"
as configfile, then read /etc/vpnc/default.conf and finally
/etc/vpnc.conf

a valid alternative to this would be reading /etc/vpnc/foo if
"foo" contains no /, and "foo" directly if there is a "/" inside
anywhere..

cu
maurice