Re: Interface with GUI agent, was: Re: [Openvpn-devel] [Patch] revoke scripts were broken

2004-07-04 Thread Denis Vlasenko
On Sunday 04 July 2004 04:37, Jan Kiszka wrote: > >>Thinking ahead, the challenge/response sequence for passing > >> authentication info should be open-ended to provide for future > >> implementation of alternative authentication methods such as Radius, > >> LDAP, NT Auth, etc. > > > > Please don't

Re: Interface with GUI agent, was: Re: [Openvpn-devel] [Patch] revoke scripts were broken

2004-07-03 Thread James Yonan
> >>Thinking ahead, the challenge/response sequence for passing > >> authentication info should be open-ended to provide for future > >> implementation of alternative authentication methods such as Radius, > >> LDAP, NT Auth, etc. > > > > Please don't do too much of that. I've seen this auth featur

Re: Interface with GUI agent, was: Re: [Openvpn-devel] [Patch] revoke scripts were broken

2004-07-03 Thread Jan Kiszka
James Yonan wrote: ... Possible client -> server commands: (1) send auth credentials (2) get status (as in SIGUSR2) (3) send signal (SIGHUP, SIGUSR1, or SIGUSR2, SIGTERM) And server -> client commands: (1) need auth credentials -- GUI should query the user then return them to the daemon via

Re: Interface with GUI agent, was: Re: [Openvpn-devel] [Patch] revoke scripts were broken

2004-07-03 Thread Jan Kiszka
Denis Vlasenko wrote: On Saturday 03 July 2004 23:01, James Yonan wrote: management 127.0.0.1 20001 This will cause OpenVPN to listen on 127.0.0.1:20001 as its management interface port. It's important, of course, that the management port always be local, since we are using it to potentially

Re: Interface with GUI agent, was: Re: [Openvpn-devel] [Patch] revoke scripts were broken

2004-07-03 Thread Denis Vlasenko
On Saturday 03 July 2004 23:01, James Yonan wrote: > management 127.0.0.1 20001 > > This will cause OpenVPN to listen on 127.0.0.1:20001 as its management > interface port. > > It's important, of course, that the management port always be local, since > we are using it to potentially pass passwor

Re: Interface with GUI agent, was: Re: [Openvpn-devel] [Patch] revoke scripts were broken

2004-07-03 Thread Mathias Sundman
On Sat, 3 Jul 2004, James Yonan wrote: There are no hooks as of yet to control a running OpenVPN instance (other than sending signals). While I initially thought that named pipes might be the appropriate channel for this, I'm wondering if if might make more sense (for portability) to use a loca

Re: Interface with GUI agent, was: Re: [Openvpn-devel] [Patch] revoke scripts were broken

2004-07-03 Thread James Yonan
On Saturday 03 July 2004 16:40, Mathias Sundman wrote: > On Sat, 3 Jul 2004, James Yonan wrote: > > On Saturday 03 July 2004 15:13, Brandon Knitter wrote: > >> Where do I start? Are the namedpipe hooks into the OpenVPN service > >> built? I'm not too familiar with named pipes on Windows (done a bi

Re: Interface with GUI agent, was: Re: [Openvpn-devel] [Patch] revoke scripts were broken

2004-07-03 Thread Mathias Sundman
On Sat, 3 Jul 2004, James Yonan wrote: On Saturday 03 July 2004 15:13, Brandon Knitter wrote: Where do I start? Are the namedpipe hooks into the OpenVPN service built? I'm not too familiar with named pipes on Windows (done a bit on *nix), but I'm sure it can't be too hard. I guess what I'd ne

Re: Interface with GUI agent, was: Re: [Openvpn-devel] [Patch] revoke scripts were broken

2004-07-03 Thread James Yonan
On Saturday 03 July 2004 15:13, Brandon Knitter wrote: > Hey there. James and I had a prior discussion about the systray app > offline, but I thought I'd just poke my head in here. I'm not a strong > Windows application programmer, but I've been doing a lot of C# these days. > > With that in mind

Re: Interface with GUI agent, was: Re: [Openvpn-devel] [Patch] revoke scripts were broken

2004-07-03 Thread Brandon Knitter
Hey there. James and I had a prior discussion about the systray app offline, but I thought I'd just poke my head in here. I'm not a strong Windows application programmer, but I've been doing a lot of C# these days. With that in mind, I was gonna whip together a quickie little systray app in C# w

Re: Interface with GUI agent, was: Re: [Openvpn-devel] [Patch] revoke scripts were broken

2004-06-30 Thread James Yonan
> James, do you put any preferance in what language/environment a gui for > OpenVPN is developed in, if you would distribute it together with the main > application in the future? These are my current thoughts on this: * Preferably, the language development tools and environment are open source,

Re: Interface with GUI agent, was: Re: [Openvpn-devel] [Patch] revoke scripts were broken

2004-06-30 Thread Jan Kiszka
Mathias Sundman wrote: ... No, I'm not used to OO languages, unfortunally. The reasons why I started to write this in C was: 1) I only know how to code in C, VisualBasic and Assembler. Assembler is out of the question, and I'm tired of VBs dependency for a bunch of DLLs. I like beeing able t

Re: Interface with GUI agent, was: Re: [Openvpn-devel] [Patch] revoke scripts were broken

2004-06-30 Thread Mathias Sundman
On Wed, 30 Jun 2004, Jan Kiszka wrote: PS: Has anyone ever thought about some small GUI (taskbar icon with some dialogs) for Windows, KDE, etc. to make the handling of multiple configurations and the status display easier in a roadwarrior scenario? I just started working on such an applicati

Re: [Openvpn-devel] [Patch] revoke scripts were broken

2004-06-30 Thread James Yonan
On Tuesday 29 June 2004 11:06, Jan Kiszka wrote: > Hi all, > > here is a tiny patch to make revoke-crt and make-crl work seamlessly > within the easy-rsa environment. Seems that no one used it before ;) Thanks, I've merged for inclusion in beta8. James

Interface with GUI agent, was: Re: [Openvpn-devel] [Patch] revoke scripts were broken

2004-06-30 Thread James Yonan
> I would furthermore suggest to discuss the required interface between > the GUI and the OpenVPN daemon on this list. Starting and stopping would > be possibly by just running the main binary, but I think a more > sophisticated status and diagnosis interface requires some other > mechanism (e.g. a

Re: [Openvpn-devel] [Patch] revoke scripts were broken

2004-06-30 Thread Jan Kiszka
Mathias Sundman wrote: On Tue, 29 Jun 2004, Jan Kiszka wrote: PS: Has anyone ever thought about some small GUI (taskbar icon with some dialogs) for Windows, KDE, etc. to make the handling of multiple configurations and the status display easier in a roadwarrior scenario? Just a thought, I'm

Re: [Openvpn-devel] [Patch] revoke scripts were broken

2004-06-30 Thread Mathias Sundman
On Tue, 29 Jun 2004, Jan Kiszka wrote: PS: Has anyone ever thought about some small GUI (taskbar icon with some dialogs) for Windows, KDE, etc. to make the handling of multiple configurations and the status display easier in a roadwarrior scenario? Just a thought, I'm not saying I have the tim

[Openvpn-devel] [Patch] revoke scripts were broken

2004-06-29 Thread Jan Kiszka
Hi all, here is a tiny patch to make revoke-crt and make-crl work seamlessly within the easy-rsa environment. Seems that no one used it before ;) Jan PS: Has anyone ever thought about some small GUI (taskbar icon with some dialogs) for Windows, KDE, etc. to make the handling of multiple co