Hi,

On Fri, Aug 16, 2013 at 02:28:37PM +0400, Dmitry Melekhov wrote:
> >On Fri, Aug 16, 2013 at 08:46:38AM +0400, Dmitry Melekhov wrote:
> >>I'd like to have an ability to push "push-peer-info" from server's ccd,
> >You can't.
> >
> >[..]
> Yes, I know, but hope this will be changed sometime :-)

No, this is actually not possible, because push-peer-info is transmitted
in the very initial handshake, so the server knows what sort of stuff it
can push back, like "hey, I can do 'snappy' compression!" -> 
"push 'compress snappy'".

> >>And, what is more interesting, I'd like to get OS version ...
> >OS Version is not transmitted today.  Only the OS type.
> the same as above.

"Someone needs to code it, and the developers need to agree that this
is a useful feature" -> send a patch to openvpn-devel and see what happens :-)

[..]
> >This needs to go to into "setenv" statements in the client's openvpn
> >config
> >
> >   setenv UV_USER mycroft
> >
> >
> So, this is not what I thought it is...

Yeah, the documentation on this is not perfect.

I think what you'd need is a script that runs before the client starts
connecting and provides this information - but there is no such hook yet,
so you'll need to add it to the command line

  openvpn --setenv UV_USER mycroft --config myprofile.ovpn

to be able to send stuff that depends on the user environment.

gert
-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             g...@greenie.muc.de
fax: +49-89-35655025                        g...@net.informatik.tu-muenchen.de

Attachment: pgpbrvi1eBm08.pgp
Description: PGP signature

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to