Hi, Am Sun, 20 Dec 2020 11:54:30 +0100 schrieb Gert Doering <g...@greenie.muc.de>: > I find myself looking for a mechanism by which I could send > informational messages ("your cert expires in two weeks, go refresh!" > - "your openvpn client needs an upgrade") from the openvpn server to > incoming clients. I'm quite late to the party, but something similar like this I asked a few days ago (06.12.2020): https://sourceforge.net/p/openvpn/mailman/message/37170200/
I proposed a generic way to send whatever you like over the control channel. A plugin could be triggerd by hooks which react on this generic push command. The plugins for all different OS and UIs could trigger messages in new windows or network managers. Your wish is to send a message, mine was to send a certificate. A generic push command could achive both, as long the plugin is installed. echo could be a possibility, but fiddling with log files must also be implemented (by a plugin?) Servus Michael > Of course this should work with all connecting clients, that is, "text > clients", windows GUI, Tunnelblick, iOS Connect, Android. > > As far as I am aware, there is no such mechanism today. > > Do we want to make one? > > > From the server / openvpn core side, it could be something totally > trivial: > > push "info-msg hey there!" > > ... and the client would then either print this on the console > (if !management) or dump it to management, where the GUI/Tunnelblick > could pick it up and create a popup window. > > What do you think? > > gert _______________________________________________ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel