Hi David, > I need to provide a libproxy plugin which obtains proxy configuration > from ConnMan. (http://bugs.meego.com/show_bug.cgi?id=3792) > > I can see the proxy information if I run the 'list-services' test tool, > although it seems to be wrong for my wired network; the DHCP server > _does_ provide a proxy, and ConnMan seems to say 'Method=direct'.
that is a bug. It should point to the PAC file information. > But the active connection to my VPN service isn't listed under > 'list-services'. What is a 'service' anyway? That is something we still need to fix. Every VPN provider also needs to get a service entry assigned with its connection. A service can be Ethernet, a WiFi access point, a Bluetooth PAN service and all these things. The idea of services are more virtual. So for WiFi for example it re-present a set of AP with same SSID and security settings. In addition a service is something that is shown 1:1 by the UI and that a user can "click" on to connect. > How can I obtain the proxy information for the connection which is > currently the default route? The first service in the list has always the default route (if in READY or ONLINE state). > I'm tempted to suggest that we add a method to ConnMan where it can be > given a URL (or hostname) and it will return the proxy (or PAC script) > to use -- because then we can make it properly handle split-routing, > split-DNS configurations, returning the _correct_ proxy for the URL > being requested. We should get our DNS settings sorted out first. There are couple of details that have to work first. However the PAC file should be always unique on a per service level. Regards Marcel _______________________________________________ connman mailing list [email protected] http://lists.connman.net/listinfo/connman
