[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: [Openvpn-devel] Patch: Admin interface shows server IP when connected


  • Subject: Re: [Openvpn-devel] Patch: Admin interface shows server IP when connected
  • From: James Yonan <jim@xxxxxxxxx>
  • Date: Sun, 2 Oct 2005 17:24:54 -0600 (MDT)

On Sun, 2 Oct 2005, Rolf Fokkens wrote:

> Hi,
> 
> I created an OpenVPN admin interface, which I want to show the actual 
> connected server of a client. The normal "state" command in the admin 
> interface does not provide the information. The attached patch adds an 
> extra argument to the "state" result which shows the server's IP. Like this:
> 
>     [root@VPN00059 ~]# echo state | nc 0.0.0.0 5000
>      >INFO:OpenVPN Management Interface Version 1 -- type 'help' for
>     more info
>     1128286300,CONNECTED,SUCCESS,,145.66.1.1
>     END
>     [root@VPN00059 ~]#
> 
> James Yonan once told me that this actualy changes the admin API, so it 
> may break some admin interfaces. For those however who can use it I 
> attached the patch.
> 
> Rolf

Rolf,

Thanks for the patch -- I see this as being a 2.1 thing, mostly so as not 
to change the the management API mid-stream in 2.0.x.

What I would like to do is collect all of the managment interface changes 
which affect the API and release them simultaneously as "Management 
Interface Version 2".

James

____________________________________________
Openvpn-devel mailing list
Openvpn-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-devel