On Wednesday 28 April 2010 16:45:47 Alon Bar-Lev wrote: > On Wed, Apr 28, 2010 at 5:38 PM, Heiko Hund <hh...@astaro.com> wrote: > > On Wednesday 28 April 2010 16:24:31 Alon Bar-Lev wrote: > >> The IE API is user specific. > >> As OpenVPN runs as a service using own user or system account, IE API > >> is not suitable. > > > > Sadly I haven't found the WinHttpGetProxyForUrl API in MinGW W32API. So, > > use of this might rather be a long-term goal as it takes a while to get > > it included. > > No problem to add simple prototypes and perform GetProcAddress().
Not pretty, but yes. > > If the service is started by the GUI it still makes sense to use user > > specific proxy settings, doesn't it? One could consider auto-proxy for > > auto-started VPNs a misconfiguration, as well. Or am I mislead? > > If this is a service that is started, it cannot access your proxy > without more tweaks. Currently not that's true, but the service interface needs to be extended to pass data between the GUI and openvpn in the future anyways. Heiko -- Heiko Hund | Software Engineer | Phone +49-721-25516-237 | Fax -200 Astaro GmbH & Co. KG | An der RaumFabrik 33a | 76227 Karlsruhe | Germany Astaro GmbH & Co. KG Commercial Register: Mannheim HRA 702710 Headquarter Location: Karlsruhe Represented by the General Partner Astaro Verwaltungs GmbH An der RaumFabrik 33a | 76227 Karlsruhe | Germany Commercial Register: Mannheim HRB 708248 Executive Board: Gert Hansen, Markus Hennig, Jan Hichert, Günter Junk, Dr. Frank Nellissen