[Openvpn-devel] Re: Interface with GUI agent

2004-07-05 Thread Mathias Sundman

On Sun, 4 Jul 2004, Jan Kiszka wrote:

I would like to have some mechanism to fork an openvpn instance and let the 
new process use a specific configuration file. This would allow to start only 
certain VPN tunnels depending on what the user selects in the GUI.


I've been giving this some more thought... and I agree we definitly need 
something like this.


Is it possible in windows to install a program as SUID in unix, so the 
application is ran as administrator even though it is started by an 
ordinary user? If yes, that would be eliminate the need to fork new 
processes (as I can think of right now atleast).


If no, Is it only on windows we can't do this, or do we have this problem 
on other platforms too?


If it's a windows specific problem, then maybe this functionally should be 
in the service wrapper. If we add a simple interface to the service 
wrapper our gui client could tell the service wrapper to start new openvpn 
processes when we want.


If it's not a windows specific problem, then I suppost it's best to add 
the functionallity in the openvpn binary so we get the portability.


--
_
Mathias Sundman  (^)   ASCII Ribbon Campaign
NILINGS ABXNO HTML/RTF in e-mail
Tel: +46-(0)8-666 32 28  / \   NO Word docs in e-mail



[Openvpn-devel] Re: Interface with GUI agent

2004-07-05 Thread James Yonan
On Monday 05 July 2004 14:49, Mathias Sundman wrote:
> On Sun, 4 Jul 2004, Jan Kiszka wrote:
> > I would like to have some mechanism to fork an openvpn instance and let
> > the new process use a specific configuration file. This would allow to
> > start only certain VPN tunnels depending on what the user selects in the
> > GUI.
>
> I've been giving this some more thought... and I agree we definitly need
> something like this.
>
> Is it possible in windows to install a program as SUID in unix, so the
> application is ran as administrator even though it is started by an
> ordinary user? If yes, that would be eliminate the need to fork new
> processes (as I can think of right now atleast).

No, I don't think this is possible in Windows.

> If no, Is it only on windows we can't do this, or do we have this problem
> on other platforms too?

Most other platforms support the SUID bit.

> If it's a windows specific problem, then maybe this functionally should be
> in the service wrapper. If we add a simple interface to the service
> wrapper our gui client could tell the service wrapper to start new openvpn
> processes when we want.

Yes, this is probably a better idea.

> If it's not a windows specific problem, then I suppost it's best to add
> the functionallity in the openvpn binary so we get the portability.

I don't think the openvpn binary needs to know about this.  But the service 
wrapper probably needs a second mode of operation, where instead of getting 
its config files by scanning a directory, it listens on a local socket for a 
command from the GUI to start an openvpn.exe instance.

James



[Openvpn-devel] Re: Interface with GUI agent

2004-07-05 Thread Mathias Sundman

On Mon, 5 Jul 2004, James Yonan wrote:


On Monday 05 July 2004 14:49, Mathias Sundman wrote:

On Sun, 4 Jul 2004, Jan Kiszka wrote:

I would like to have some mechanism to fork an openvpn instance and let
the new process use a specific configuration file. This would allow to
start only certain VPN tunnels depending on what the user selects in the
GUI.


I've been giving this some more thought... and I agree we definitly need
something like this.

If it's a windows specific problem, then maybe this functionally should be
in the service wrapper. If we add a simple interface to the service
wrapper our gui client could tell the service wrapper to start new openvpn
processes when we want.


Yes, this is probably a better idea.


If it's not a windows specific problem, then I suppost it's best to add
the functionallity in the openvpn binary so we get the portability.


I don't think the openvpn binary needs to know about this.  But the service
wrapper probably needs a second mode of operation, where instead of getting
its config files by scanning a directory, it listens on a local socket for a
command from the GUI to start an openvpn.exe instance.


Do you have time to do this in the near future? Otherwise, I think I could 
do it. I'm pretty familiar with the service wrapper code now that I've 
copied most of it to my gui :-) So now I just need to put it back in the 
service wrapper!


--
_
Mathias Sundman  (^)   ASCII Ribbon Campaign
NILINGS ABXNO HTML/RTF in e-mail
Tel: +46-(0)8-666 32 28  / \   NO Word docs in e-mail



[Openvpn-devel] RE: [Openvpn-users] Release: OpenVPN-GUI for Windows v1.0-beta5

2004-07-05 Thread Daniel Berger
> Available for download from:
> http://www.nilings.se/openvpn

Does it work with 1.5, 1.6 and 2.0b, or is it version-specific?

regards dani