You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jianglk.darker
7ee447c011
|
4 months ago | |
---|---|---|
.. | ||
include | 4 months ago | |
plugins | 4 months ago | |
Android.bp | 4 months ago | |
MODULE_LICENSE_BSD | 4 months ago | |
Makefile.linux | 4 months ago | |
Makefile.sol2 | 4 months ago | |
NOTICE | 4 months ago | |
README.google | 4 months ago | |
README.pppol2tp | 4 months ago | |
README.pppopptp | 4 months ago | |
auth.c | 4 months ago | |
cbcp.c | 4 months ago | |
cbcp.h | 4 months ago | |
ccp.c | 4 months ago | |
ccp.h | 4 months ago | |
chap-md5.c | 4 months ago | |
chap-md5.h | 4 months ago | |
chap-new.c | 4 months ago | |
chap-new.h | 4 months ago | |
chap_ms.c | 4 months ago | |
chap_ms.h | 4 months ago | |
demand.c | 4 months ago | |
eap.c | 4 months ago | |
eap.h | 4 months ago | |
ecp.c | 4 months ago | |
ecp.h | 4 months ago | |
eui64.c | 4 months ago | |
eui64.h | 4 months ago | |
fsm.c | 4 months ago | |
fsm.h | 4 months ago | |
ipcp.c | 4 months ago | |
ipcp.h | 4 months ago | |
ipv6cp.c | 4 months ago | |
ipv6cp.h | 4 months ago | |
ipxcp.c | 4 months ago | |
ipxcp.h | 4 months ago | |
lcp.c | 4 months ago | |
lcp.h | 4 months ago | |
magic.c | 4 months ago | |
magic.h | 4 months ago | |
main.c | 4 months ago | |
md4.c | 4 months ago | |
md4.h | 4 months ago | |
md5.c | 4 months ago | |
md5.h | 4 months ago | |
mppe.h | 4 months ago | |
openssl-hash.h | 4 months ago | |
options.c | 4 months ago | |
patchlevel.h | 4 months ago | |
pathnames.h | 4 months ago | |
ppp.pam | 4 months ago | |
pppcrypt.c | 4 months ago | |
pppcrypt.h | 4 months ago | |
pppd.8 | 4 months ago | |
pppd.h | 4 months ago | |
pppox.c | 4 months ago | |
session.c | 4 months ago | |
session.h | 4 months ago | |
sha1.c | 4 months ago | |
sha1.h | 4 months ago | |
srp-entry.8 | 4 months ago | |
srp-entry.c | 4 months ago | |
sys-linux.c | 4 months ago | |
sys-solaris.c | 4 months ago | |
tty.c | 4 months ago | |
upap.c | 4 months ago | |
upap.h | 4 months ago | |
utils.c | 4 months ago |
README.pppopptp
PPPoPPTP-Android plugin ======================= This plugin was written for AOSP project from scratch. It has nothing to do with accel-pptp plugin [1]. This plugin adds support for upstream kernel PPTP implementation in pppd daemon. Only PNS (client) part of PPTP is implemented, as we don't use Android devices in PAC mode. In general case, the execution flow for VPN startup on Android devices is: 1. Run PPTP client (mtpd) 2. mtpd obtains remote Call ID on OCRP (Outgoing-Call-Reply) packet 3. mtpd creates PPTP socket 4. mtpd runs pppd, passing PPTP socket as to pppopptp-android (as parameter) 5. pppd dlopen() pppopptp-android plugin (because it received corresponding arguments from mtpd) Main task of this plugin is to obtain PPTP socket FD from mtpd and pass it back to pppd when .connect() callback is executed. All control packets are handled in mtpd. PPP packets (like LCP) are handled in pppd. Data packets are handled by kernel PPTP driver. [1] http://accel-pptp.sourceforge.net/