Am 03.09.14 22:36, schrieb 張 世杰: > Hi Gert, > > Thanks for your reply, it's my mistake > Now my question is how to record the client id every time when a client > connected > Is there a hook in server which will be triggered when a new client connect? > > Currently in my application, I parse the result of status 2 to get the > IP:port for killing > But the client id is not a part of status 2 result > Is there a better way to do this? > Newer OpenVPN versions (I don't recall if -master or 2.3.x) have this information in the status report. For older version you have to record the ID when a client is connected.
Arne