[PATCH v2 00/15] VPN provisioning support

Jukka Rissanen jukka.rissanen at linux.intel.com
Tue Nov 27 06:10:10 PST 2012


- 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

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.


Jukka Rissanen (15):
  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

 Makefile.am               |   3 +-
 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                |   4 +
 vpn/plugins/l2tp.c        |  70 ++++--
 vpn/plugins/pptp.c        |  62 +++--
 vpn/vpn-config.c          | 602 ++++++++++++++++++++++++++++++++++++++++++++++
 vpn/vpn-provider.c        | 312 ++++++++++++++++++++++--
 vpn/vpn.h                 |  11 +-
 14 files changed, 1248 insertions(+), 70 deletions(-)
 create mode 100644 doc/vpn-config-format.txt
 create mode 100644 vpn/vpn-config.c


More information about the connman mailing list