From: Russell Morris Date: Tue, 06 Mar 2012 11:42:40 -0600 Message-id: <1331055760398534500@...1315...> In-reply-to: References: <4F4CE4FE.3010009@...515...> <1848924920.20120228183103@...449...> <319492303.20120228213418@...449...> <1331052472905814500@...1315...> MIME-version: 1.0 Content-type: multipart/alternative; boundary="===axigen=4586090461220235815383999149195155746659=axigen===" Subject: Re: [Openvpn-devel] OpenVPN Management Interface List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alon Bar-Lev Cc: =?utf-8?Q?Carsten_Kr=C3=BCger?= , openvpn-devel@lists.sourceforge.net This is a MIME message. You may need a MIME compliant mail user agent. --===axigen=4586090461220235815383999149195155746659=axigen=== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, =20 That makes sense - thanks! I'm not a security expert by any means, so the t= hread lost me when it diverged into this area ... :-(. =20 At the risk of asking a stupid question (but that is my specialty ... :-)) = - is there a conclusion of how to deal with this? =20 Thanks again, ... Russell =20 =20 On Tue, 03/06/2012 11:12 AM, Alon Bar-Lev wrote: >=20 This exactly what we discuss at the privilege separation thread... > Currently to change configuration you need to start a process. >=20 > 2012/3/6 Russell Morris : > > Hi, > > > > > > > > Taking off from the thread below - is it possible in Windows to start > > openvpn, but only as a sort of local server (for lack of a better term)= ? I > > would like to start it up, and then be able to initiate connections, te= ar > > them down, change proxy, etc. - all via the mangement interface. > > > > > > > > Is this possible? > > > > > > > > Thanks! > > > > > > > > ... Russell > > > > > > > > > > > > On Tue, 02/28/2012 02:34 PM, Carsten Kr=C3=BCger = wrote: > > > > Hello Alon, > > > >> This is *THE* missing functionality in Windows environment. > >> It seems that nobody interested in developing proper UI using > >> management interface for Windows. > >> Same goes to proper smartcard support. > > > > I found that openvpn management interface works as I'd like it. > > > > Add the following lines to client.ovpn > > -------------------------------- > > management localhost 1000 > > management-query-passwords > > auth-retry interact > > management-hold > > -------------------------------- > > and start the service. > > > > Use putty to connect to localhost port 1000, format RAW > > > > |>INFO:OpenVPN Management Interface Version 1 -- type 'help' for more i= nfo > > |>HOLD:Waiting for hold release > > |hold release > > |SUCCESS: hold release succeeded > > |>PASSWORD:Need 'Auth' username/password > > |username Auth here_comes_my_username > > |SUCCESS: 'Auth' username entered, but not yet verified > > |password Auth here_comes_my_mypassword > > |SUCCESS: 'Auth' password entered, but not yet verified > > > > et voila openvpn connects. > > > > I'd like to cry, how long did this works? > > > > I found this in changelog: > > 2004.11.28 -- Version 2.0-beta18 > > > > * Added management interface. See new --management-* > > options or the full management interface documentation > > in management/management-notes.txt in the tarball. > > > > > > greetings > > Carsten > > > > > > -----------------------------------------------------------------------= ------- > > Keep Your Developer Skills Current with LearnDevNow! > > The most comprehensive online learning library for Microsoft developers > > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > > Metro Style Apps, more. Free future releases when you subscribe now! > > http://p.sf.net/sfu/learndevnow-d2d > > _______________________________________________ > > Openvpn-devel mailing list > > Openvpn-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/openvpn-devel > > > > > > -----------------------------------------------------------------------= ------- > > Keep Your Developer Skills Current with LearnDevNow! > > The most comprehensive online learning library for Microsoft developers > > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > > Metro Style Apps, more. Free future releases when you subscribe now! > > http://p.sf.net/sfu/learndevnow-d2d > > _______________________________________________ > > Openvpn-devel mailing list > > Openvpn-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/openvpn-devel > > >=20= --===axigen=4586090461220235815383999149195155746659=axigen=== Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline

Hi,

 

That makes sense - thanks! I'm not a security expert by any means, so th= e thread lost me when it diverged into this area ... :-(.

 

At the risk of asking a stupid question (but that is my specialty ... :-= )) - is there a conclusion of how to deal with this?

 

Thanks again,

... Russell

 

 


On Tue, 03/06/2012 11:12 AM, Alon Bar-Lev <alon.barlev@= ...277...> wrote:

This exactly what we dis= cuss at the privilege separation thread...
Currently to change configura= tion you need to start a process.

2012/3/6 Russell Morris <openvpn@...1315...>:=
> Hi,
>
>
>
> Taking off from the thread bel= ow - is it possible in Windows to start
> openvpn, but only as a sort= of local server (for lack of a better term)? I
> would like to start= it up, and then be able to initiate connections, tear
> them down, c= hange proxy, etc. - all via the mangement interface.
>
>
>= ;
> Is this possible?
>
>
>
> Thanks!
>=
>
>
> ... Russell
>
>
>
>
>= ;
> On Tue, 02/28/2012 02:34 PM, Carsten Kr=C3=BCger <C.Krueger@...448...> wrote:
>
> Hello Alon,
>
>> This is *THE* = missing functionality in Windows environment.
>> It seems that nob= ody interested in developing proper UI using
>> management interfa= ce for Windows.
>> Same goes to proper smartcard support.
><= BR>> I found that openvpn management interface works as I'd like it.
= >
> Add the following lines to client.ovpn
> ---------------= -----------------
> management localhost 1000
> management-quer= y-passwords
> auth-retry interact
> management-hold
> ---= -----------------------------
> and start the service.
>
>= ; Use putty to connect to localhost port 1000, format RAW
>
> |= >INFO:OpenVPN Management Interface Version 1 -- type 'help' for more inf= o
> |>HOLD:Waiting for hold release
> |hold release
> = |SUCCESS: hold release succeeded
> |>PASSWORD:Need 'Auth' username= /password
> |username Auth here_comes_my_username
> |SUCCESS: '= Auth' username entered, but not yet verified
> |password Auth here_co= mes_my_mypassword
> |SUCCESS: 'Auth' password entered, but not yet ve= rified
>
> et voila openvpn connects.
>
> I'd like = to cry, how long did this works?
>
> I found this in changelog:=
> 2004.11.28 -- Version 2.0-beta18
>
> * Added managemen= t interface. See new --management-*
> options or the full management = interface documentation
> in management/management-notes.txt in the t= arball.
>
>
> greetings
> Carsten
>
>> --------------------------------------------------------------------= ----------
> Keep Your Developer Skills Current with LearnDevNow!
= > The most comprehensive online learning library for Microsoft developer= s
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3= , MVC3,
> Metro Style Apps, more. Free future releases when you subsc= ribe now!
> http://p.sf.net/sfu/learndevnow-d= 2d
> _______________________________________________
> Open= vpn-devel mailing list
> Openvpn-devel@lists.sourceforge.net
&g= t; https://lists.sourceforge.net/lists/listinfo/openvpn-d= evel
>
>
> ------------------------------------------= ------------------------------------
> Keep Your Developer Skills Cur= rent with LearnDevNow!
> The most comprehensive online learning libra= ry for Microsoft developers
> is just $99.99! Visual Studio, SharePoi= nt, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free futu= re releases when you subscribe now!
> http://= p.sf.net/sfu/learndevnow-d2d
> __________________________________= _____________
> Openvpn-devel mailing list
> Openvpn-devel@...1697...= .sourceforge.net
> https://lists.sourceforge.ne= t/lists/listinfo/openvpn-devel
>
= --===axigen=4586090461220235815383999149195155746659=axigen===--