Closed Bug 1096744 Opened 10 years ago Closed 7 years ago

Support PPTP VPN

Categories

(Firefox OS Graveyard :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: chucklee, Assigned: vchang)

References

Details

(Whiteboard: [vpn])

Attachments

(4 files, 6 obsolete files)

3.23 KB, patch
Details | Diff | Splinter Review
16.09 KB, patch
Details | Diff | Splinter Review
9.03 KB, patch
Details | Diff | Splinter Review
6.70 KB, patch
Details | Diff | Splinter Review
Support PPTP VPN in Firefox OS
The planed implementation have same layer as wifi manager, from top to down: 1. webidl API (only support PPTP part) > enum VpnType { > "PPTP", > "L2TP-IPSEC-PSK", > "L2TP-IPSEC-RSA", > "IPSEC-XAUTH-PSK", > "IPSEC-XAUTH-RSA", > "IPSEC-HYBRID-PSK" > }; > > dictionary MozVpnConfig { > VpnType type; > DOMString server; > DOMString username; > DOMString password; > DOMString? l2tpSecret; > DOMString? ipsecPskIdentitier; > DOMString? ipsecPskSecret; > DOMString? ipsecRsaCaCert; > DOMString? ipsecRsaServerCert; > DOMString? ipsecRsaUserCert; > }; > > interface MozVpnManager { > DOMRequest startVpn(MozVpnConfig config); > DOMRequest stopVpn(); > > attribute EventHandler onstatuschange; > }; 2. JS-implemented content object - DOMVpnManager 3. JS-implemented chrome object - VpnWorker 4. C++-implemented daemon controller - VpnProxy 5. Native daemons - mtpd and pppd
Assignee: nobody → chulee
mtpd is started using MozVpnManager.startVpn(), but failed to configure it through socket.
VpnService now is capable of start/stop PPTP VPN connection.
Attachment #8522880 - Attachment is obsolete: true
Attached patch (WIP) 0003. Add VpnWorker. (obsolete) — Splinter Review
Rebase
Attachment #8522881 - Attachment is obsolete: true
Add new error code.
Attachment #8522879 - Attachment is obsolete: true
Support status change event.
Attachment #8524238 - Attachment is obsolete: true
Support status change event.
Attachment #8522882 - Attachment is obsolete: true
Assignee: chuckli0706 → vchang
Do we really want to support an insecure protocol?
Whiteboard: [vpn]
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: