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/L2tpIpsecPskService.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/L2tpIpsecPskService.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/L2tpIpsecPskService.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/L2tpIpsecPskService.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/L2tpIpsecPskService.java
|