Commit Graph

22 Commits

Author SHA1 Message Date
Kenny Root
ca714d8d0c KeyStore: stop using state()
Change-Id: Ia8fc945666c59c0b9a9bd6f890cc2a6b8859e1d4
2013-02-14 12:06:38 -08:00
Robert Greenwalt
88b0140241 Precreate a data structure so it's never null.
Fixes NPE that the fast-fingered monkey sometimes triggers.
bug:7084178

Change-Id: Ibeb5e1ce678f59207de5dd321e06ae88ccc52216
2012-09-27 11:21:12 -07:00
Jeff Sharkey
07d465ddb8 Hide lockdown VPN when IMS auth is required.
Bug: 7069782
Change-Id: I978d89894da17164a1e0122adb5acbfda3586fa1
2012-09-24 12:56:29 -07:00
Jeff Sharkey
f5de1db28a Omit PPTP VPNs from lockdown list.
Bug: 7064069
Change-Id: Ie4261828ef2dc5af32db3b327ca7ec00451e65d9
2012-09-19 11:16:24 -07:00
Jeff Sharkey
9fd7ac1ec7 Always-on VPN.
Adds support for always-on VPN profiles. Users pick an always-on VPN
from list of existing VPN profiles, which must use an IP address for
both VPN server and DNS.  Moved "add" operation into action bar.

Bug: 5756357
Change-Id: I4c7ed7f2a3b027be1baf65c08213336a61f3acfe
2012-08-26 17:01:46 -07:00
Jeff Sharkey
745e6212e7 Migrate legacy VPN arguments to system_server.
Generate the racoon and mtpd daemon arguments in system_server,
instead of accepting them from Settings.

Bug: 5756357
Change-Id: Ied048ca465aab03b2ae1c004388f49b82848b3f7
2012-08-24 11:17:57 -07:00
Jeff Sharkey
c6e84c0959 Migrate VpnProfile definition to framework.
Bug: 5756357
Change-Id: Icf4b2cb10e911216a2165f2afd1eb89152c5f1c0
2012-07-19 17:09:52 -07:00
Amith Yamasani
b0b37ae21c Help menus for several screens.
Bug: 5144896
Change-Id: Ib2f5146f6f62f2a33261bb165c3bf1bf13b22f38
2012-04-23 15:35:36 -07:00
Kenny Root
455a911df3 Switch VPN to use keystore ENGINE
The VPN client will no longer receive the private key material directly
from the caller. Instead it will use the keystore OpenSSL ENGINE to
request that keystore does private key operations on its behalf.

We only pass the keystore key alias to the private key instead of the
private key itself now.

Change-Id: I4ea2abda5ab7dec7d7ef5f451b96fef5bc92d811
2012-03-21 15:00:47 -07:00
Chia-chi Yeh
94cc1bbf32 VpnSettings: show more error messages when VPN fails.
Bug: 6032883
Change-Id: Idc49e1b611fd0c01f199bfde984084a8e4c62e17
2012-02-29 16:12:35 -08:00
Chia-chi Yeh
f5317a151b VpnSettings: add support for server certificates.
Bug: 5714397
Change-Id: I5ce13e244fba554bec31c4935571b09127b9270a
2011-12-06 17:51:01 -08:00
Chia-chi Yeh
6d4334be69 VpnSettings: fix bugs.
1. Support identifier in L2TP/IPSec PSK.
2. Fix profile validation for IPSec Hybrid RSA.
3. Fix crash when the user does not want to initialize keystore.

Change-Id: Id46dbbc84915dfb69f8bab6b540426e7614ab7c6
2011-08-08 14:35:25 -07:00
Chia-chi Yeh
d5a5de4de6 VpnSettings: the field has been renamed.
Change-Id: I1e234e96d0fa4af6f03a5b902073460acffd8e28
2011-08-03 15:44:08 -07:00
Chia-chi Yeh
d68dbe29bb VpnSettings: make more fields available as advanced options.
Now users can manually override DNS search domains, DNS servers,
and forwarding routes for each VPN network.

Change-Id: I10b8e383ac19fd19d23938dff78201a71724d58f
2011-07-27 17:58:26 -07:00
Chia-chi Yeh
d501b5c963 VpnSettings: bind OnPreferenceClickListener later.
Bug: 4999108

Change-Id: Idab3029a30943d1118584e6a1b01db96340858ed
2011-07-15 11:35:54 -07:00
Chia-chi Yeh
f35130dd79 VpnSettings: generate arguments for IPSec XAUTH VPNs.
Change-Id: I70d5e93f0d431d9d6cc64324ce2c37129d1a2a88
2011-07-14 15:16:51 -07:00
Chia-chi Yeh
413b171159 VpnSettings: pass certificates to racoon directly.
Also fix some style issues.

Change-Id: I7ca46d0cc3038f21ef5904d4515e90907a21d613
2011-07-07 14:23:51 -07:00
Chia-chi Yeh
97fd85fd97 VpnSettings: add status report.
Change-Id: Ia050d997524b39868e6acce82d12b0415909ab77
2011-07-04 03:35:39 -07:00
Chia-chi Yeh
5c9e37c295 VpnSettings: rename some variables.
Change-Id: I0550bebc55a42ad11768729d098ff5258442747e
2011-07-03 03:12:46 -07:00
Chia-chi Yeh
d95ec87113 VpnSettings: hook up the legacy VPN with IConnectivityManager.
The status report is not implemented yet.

Change-Id: I266f840371e3698f779124d5e67bafe4d272cd94
2011-07-02 17:26:26 -07:00
Chia-chi Yeh
bbb5094be6 VpnSettings: generate arguments for PPTP and L2TP IPSec VPNs.
Change-Id: Ia58afa2f6f6d4b1b208bf6b893b8b7712154bdbf
2011-06-29 15:29:28 -07:00
Chia-chi Yeh
310d619acb Settings: revise VpnSettings.
Make the style closer to other settings.
Profiles are saved in KeyStore with optional account information.
Not adapt to IConnectivityManager yet.

Change-Id: I9d7a0c14b253a0b355499c5e558b0761fa24ea22
2011-06-26 19:25:59 -07:00