The configuration logic should clearly be handled by NetworkManager. The result may be exposed to apps through config files, a lib, a local proxy, or dbus events (take your pick) -- Nicolas Mailhot