[PATCH 00/11] VPN provisioning support

Jukka Rissanen jukka.rissanen at linux.intel.com
Wed Nov 21 06:30:56 PST 2012


Hi,

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.

I noticed some issues in VPN implementation when creating
this patchset so some of the patches (1, 3 and 11) are
not really related to .config support but fix some general
VPN issue.


Cheers,
Jukka


Jukka Rissanen (11):
  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
  vpn-config: Provision VPN by using .config file
  vpn-provider: Remove unprovisioned providers at startup
  vpn-provider: Add route support in vpn config file
  vpn-provider: Add extra whitespace

 Makefile.am               |   3 +-
 doc/vpn-config-format.txt | 213 ++++++++++++++
 include/provision.h       |   2 +-
 plugins/wifi.c            |   2 +-
 src/config.c              |   8 +-
 src/connman.h             |   1 +
 src/storage.c             |  16 ++
 vpn/main.c                |   2 +
 vpn/plugins/l2tp.c        |  70 +++--
 vpn/plugins/pptp.c        |  62 ++--
 vpn/vpn-config.c          | 703 ++++++++++++++++++++++++++++++++++++++++++++++
 vpn/vpn-provider.c        | 312 ++++++++++++++++++--
 vpn/vpn.h                 |  11 +-
 13 files changed, 1335 insertions(+), 70 deletions(-)
 create mode 100644 doc/vpn-config-format.txt
 create mode 100644 vpn/vpn-config.c

-- 
1.7.11.4




More information about the connman mailing list