Hi, v4 - VPN config files are now in VPN_STORAGEDIR which is by default /var/lib/connman-vpn
v3: - rebase against current head v2: - Split the patchset into smaller chunks as requested by Wagi - Use the new functions in inotify.c - Documentation clarifications in patch 7 - Added TODO entry to remove the compatibility functions in L2TP and PPTP VPN plugins v1: This patchset adds support for provisioning VPN services from a .config file. The VPN provisioining works the same way as the wifi service provisioning. User can create a config file in /var/lib/connman/vpn directory and information in that file is used to create a provider in connman-vpnd. The VPN config is only read by connman-vpnd process. Cheers, Jukka Jukka Rissanen (16): config: Remove obsolete definition config: Read only wifi config l2tp: Fixed the nodeflate pppd option name l2tp: Added rx and tx bps pppd options l2tp: Use PPPD prefix for pppd specific options pptp: Use PPPD prefix for pppd specific options doc: VPN config file specification storage: Add function to load provider configuration file vpn-provider: Initial .config file support vpn-config: Provision providers from .config file vpn-provider: Type string in provider needs to be in lower case vpn-provider: Remove unprovisioned providers at startup vpn-provider: Add route support in vpn config file vpn-provider: Add extra whitespace TODO: Add note about removal of L2TP and PPTP prefix for PPP options main: Create VPN_STORAGEDIR when starting up Makefile.am | 7 +- TODO | 10 + doc/vpn-config-format.txt | 215 +++++++++++++++++ include/provision.h | 2 +- plugins/wifi.c | 2 +- src/config.c | 8 +- src/connman.h | 1 + src/storage.c | 16 ++ vpn/main.c | 14 ++ vpn/plugins/l2tp.c | 70 ++++-- vpn/plugins/pptp.c | 62 +++-- vpn/vpn-config.c | 598 ++++++++++++++++++++++++++++++++++++++++++++++ vpn/vpn-provider.c | 312 ++++++++++++++++++++++-- vpn/vpn.h | 11 +- 14 files changed, 1258 insertions(+), 70 deletions(-) create mode 100644 doc/vpn-config-format.txt create mode 100644 vpn/vpn-config.c -- 1.7.11.4 _______________________________________________ connman mailing list connman@connman.net http://lists.connman.net/listinfo/connman