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

Reply via email to