15.08.2013 16:17, Gert Doering пишет: > Hi, > > On Thu, Aug 15, 2013 at 03:46:38PM +0400, Dmitry Melekhov wrote: >> Could you ( or someone else) tell me which openvpn version supports >> >> push-peer-info ? > Should be available on anything from 2.0 up - no idea when that was > introduced, but it was "a long time ago". So far, only OpenVPN AS did > use it on the server side, but support has been extended to show the > information in the environment (etc). > >> Do I need development version on clients too? > No. > > Hello!
Thank you! Just compiled and tested this. Result is promising, but not completely what I want. Here are some problems: I'd like to have an ability to push "push-peer-info" from server's ccd, I tried, but it doesn't work. Then, manual says that IV_HWADDR=<mac address> -- the MAC address of clients default gateway but , and this is far better, this is mac of client's ethernet card, client using for connection: dm 2.2.1 linux 00:24:1d:c4:da:a4 dm@dm:~$ ifconfig eth0 Link encap:Ethernet HWaddr 00:24:1d:c4:da:a4 And, what is more interesting, I'd like to get OS version ... May be this is possible to get it from UV_<name>=<value> -- client environment variables whose names start with "UV_" but I tried to export export UV_USER=SUPER echo $UV_USER SUPER but on server side echo $UV_HWADDR >>/tmp/test returns nothing. May be I'm using this in wrong way? Thank you! ------------------------------------------------------------------------------ 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