Hi,

we are developing a damon wich connects to the management interface from a lokal openvpn server. This daemon authenticate clients and starts some tasks like "set routes, firewall etc." in the background. We do this because we can't use client-connect, it locks the openvpn main process for 100-1000ms if you do a lot of stuff there like"SQL query, set routes, set firewall, disconnect clients on other machines. etc."

Our problem right now is, if the server ist running we don't know wich CID are connected and there is no way to query this from status file or via management interface.

In the Changelog of 2.2 and 2.3 is no entry about CID and I want to ask if this feature went into the code or not?

Thanks for any help, Eike.

Example:
[1379691142.394271] 64 bytes from 80.146.164.25: icmp_req=21 ttl=61 time=940 ms

[pid 1929] 1379691140.828976 clone(Process 9597 attached
child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f8f66c8e9d0) = 9597 <0.192637>
[pid 1929] 1379691141.021980 wait4(9597, Process 1929 suspended
<unfinished ...>
[pid 9597] 1379691141.022386 execve("/etc/openvpn/client-connect.sh", ["/etc/openvpn/client-connect.sh", "/tmp/openvpn_cc_2863505f0b808f75"...], [/* 26 vars */]) = 0 <0.021794>

[pid 1929] 1379691142.109748 <... wait4 resumed> [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 9597 <1.087736>



Am 11.04.2013 17:11, schrieb Gert Doering:
Hi,

On Thu, Apr 11, 2013 at 04:03:29PM +0200, David Sommerseth wrote:
Rather have a policy ... if a patch breaks something, fix it within
24-48 hours, if not use git-revert.
works for me.

Usually these are minor issues anyway, like "symbol not available on
particular platforms" (MIN() comes to mind) or "breaks for a certain
combination of compile time options", and those can be fixed quickly
as soon as spotted by buildbot.

gert




------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter


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

Reply via email to