c8217638be7e39161fa31bfe240a64a563690dbf |
|
30-Sep-2009 |
Hung-ying Tyan <tyanh@google.com> |
Fix stopping all vpn daemons before connect and more. * move DaemonHelper out from VpnService to VpnDaemons for better managing native daemons. * check connectivity and dns less frequently to save battery.
/frameworks/base/packages/VpnServices/src/com/android/server/vpn/L2tpIpsecService.java
|
6ee4e59c1d10a80d0b873a1e93108b85c283323a |
|
22-Sep-2009 |
Chia-chi Yeh <chiachi@android.com> |
VpnService: use Credentials instead of CertTool.
/frameworks/base/packages/VpnServices/src/com/android/server/vpn/L2tpIpsecService.java
|
fe8e48cdd5e621905b8c07325dbe77bffffdb4bb |
|
30-Jul-2009 |
Hung-ying Tyan <tyanh@google.com> |
Add state saving mechanism to support proc restart Also... + stop daemons before getting server IP; + remove setForeground(); + add the DBG flag for Log.d calls. PatchSet 3: + add CHALLENGE_ERROR and REMOTE_HUNG_UP to VpnManager + broadcast new error codes in VpnService + check local IP change instead of dns change + move removeStates() to VpnService.onFinalCleanUp() PatchSet 7: + add encryption flag to PptpProfile + PptpService and MtpdHelper are revised accordingly
/frameworks/base/packages/VpnServices/src/com/android/server/vpn/L2tpIpsecService.java
|
21bd4af88a24d0df020f68683f7c60698ebcc76a |
|
23-Jul-2009 |
Hung-ying Tyan <tyanh@google.com> |
Simplify the VPN service implementation. + Remove NormalProcessProxy and ProcessProxy as they are not used anymore. + Rename AndroidServiceProxy to DaemonProxy and simplify its implementation as it does not extend to ProcessProxy anymore. + Execute connect() in VpnService in one thread, which simplifies socket and error handling. + Modify service subclasses accordingly. + Execute connect() and disconnect() in VpnServiceBinder so that the operations do not block the UI thread. Mark service as foreground only upon connecting.
/frameworks/base/packages/VpnServices/src/com/android/server/vpn/L2tpIpsecService.java
|
c22ce6a738bbd757c71f8778defb015ea81ab33c |
|
13-Jul-2009 |
Hung-ying Tyan <tyanh@google.com> |
Remove host IP from related VPN classes. ...since the daemon (racoon) gets the information by itself.
/frameworks/base/packages/VpnServices/src/com/android/server/vpn/L2tpIpsecService.java
|
7d22e15e1b0d64d38928a927189df5a1e4f1c590 |
|
06-Jul-2009 |
Hung-ying Tyan <tyanh@google.com> |
Migrate to new keystore with the CertTool lib.
/frameworks/base/packages/VpnServices/src/com/android/server/vpn/L2tpIpsecService.java
|
2b04d2980aca13c47211e857fc95787122c0fe91 |
|
27-Jun-2009 |
Hung-ying Tyan <tyanh@google.com> |
Revise VpnService to use new vpn.* properties. * Changes + Make VpnService get dns info from vpn.dns1/dns2 and set net.dns1/dns2. + Make VpnService wait on vpn.up instead of monitoring on ip-up-vpn. + Change commands sent to racoon. + Remove original sendCommand() from AndroidServiceProxy and rename sendCommand2() to sendCommand(). + Add L2tpIpsecPskService.java. + Add short stop after sending ipsec command.
/frameworks/base/packages/VpnServices/src/com/android/server/vpn/L2tpIpsecService.java
|
d3aba7f7b67c758b2b325276538da6e1350cce69 |
|
19-Jun-2009 |
Hung-ying Tyan <tyanh@google.com> |
Add PPTP, L2TP/IPSec preshared key and other fixes. * Changes + Add PptpProfile.java, PptpService.java. + Add L2tpIpsecPskProfile.java + Add PPTP and L2TP_IPSEC_PSK entries in VpnType.java. + Add the secret option to L2tpProfile.java and have L2tpIpsecProfile extend it. + Add MtpdHelper to send common PPP options. + Add getGatewayIp() to VpnService(). + Revise VpnService.reallyGetHostIp(). Patch Set 6, 7, 8: + Add L2TP secret flag in L2tpProfile. Patch Set 9: + Add description to VpnType. Patch Set 11: + Pass ipparam to mtpd. Patch Set 12: + Add L2TP secret support + Fix string constants
/frameworks/base/packages/VpnServices/src/com/android/server/vpn/L2tpIpsecService.java
|
68fdd3d4cd709d858fd5d5f2a050e71d02fbd821 |
|
17-Jun-2009 |
Chung-yih Wang <cywang@google.com> |
Use the new keystore API in vpn service.
/frameworks/base/packages/VpnServices/src/com/android/server/vpn/L2tpIpsecService.java
|
f94b6444a3d4dc6d904754f80b2f940be90e432b |
|
08-Jun-2009 |
Hung-ying Tyan <tyanh@google.com> |
Add the VPN services package, VPN service base classes and L2tpIpsecService. Also add android.security.Keystore. This is a quick solution. Will be evolved to a more mature implementation. PATCH SET 2: + Add VpnServiceBinder to hide VpnService and its subclasses. + Add sendCommand2() to AndroidServiceProxy to work with the latest mtpd. PATCH SET 3: + Rebase to catch up with new commits; no changes made. PATCH SET 4: + Remove/comment out @Override on interface methods to be compilable for Java 1.5. PATCH SET 5: + Add L2tpService.java. + Make VpnService to work on SingleServerProfile; add serverIp to connect(); set system property "net.vpn.server_ip"; and move getPppOptionFilePath() from L2tpIpsecService to VpnService + Revise VpnManager to start VpnService without worrying about which type (as the type info is in VpnProfile) + Remove installation stuff from VpnManager PATCH SET 6: + Fix PATCH SET 5 (the patch was messed up). Please ignore PATCH SET 5. PATCH SET 7: + Fix styles. PATCH SET 8: + Add CANCELLED to VpnState. PATCH SET 9: + Make VpnProfile serializable (in order to save them to persistent storage) PATCH SET 10: + Remove Keystore.java as it's added in another CL.
/frameworks/base/packages/VpnServices/src/com/android/server/vpn/L2tpIpsecService.java
|