[PATCH 0/4] VPN agent support
jukka.rissanen at linux.intel.com
Fri Nov 2 01:50:27 PDT 2012
attached is the initial VPN agent support. This means that
VPN plugin is able to ask necessary questions from agent which
will ask the information from the user.
The VPN agent API is documented in patch 1.
As the user supplied information is asked during the VPN connect
phase, the VPN connect API in plugin needs to be async. This
support is added in patch 2.
This initial support allows OpenConnect VPN plugin to
ask the used cookie from the agent. Agent should then fetch
the HTML page from the VPN gateway, show the page to the user,
post the page to VPN gateway and get the returned cookie.
This cookie can then be returned to connman-vpnd. This is
implemented in patch 3.
The patch 4 fixes a bug where we were trying to access already
- add username/password query to l2tp and pptp plugins
Jukka Rissanen (4):
doc: Describe VPN agent API
vpn: Add initial support for async connect
openconnect: Add asking cookie from agent
openconnect: Domain pointer was used incorrectly
doc/vpn-agent-api.txt | 137 ++++++++++++++++++++
test/simple-agent | 87 ++++++++++++-
vpn/plugins/l2tp.c | 27 ++--
vpn/plugins/openconnect.c | 310 ++++++++++++++++++++++++++++++++++++++++++----
vpn/plugins/openvpn.c | 14 ++-
vpn/plugins/pptp.c | 24 ++--
vpn/plugins/vpn.c | 7 +-
vpn/plugins/vpn.h | 3 +-
vpn/plugins/vpnc.c | 18 ++-
vpn/vpn-provider.c | 49 +++++++-
vpn/vpn-provider.h | 14 ++-
vpn/vpn.h | 2 +-
12 files changed, 634 insertions(+), 58 deletions(-)
create mode 100644 doc/vpn-agent-api.txt
More information about the connman