History log of /external/mtpd/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ccbf67d1286770e6cbfd2de9d2c7c2e14836dd30 15-May-2012 Elliott Hughes <enh@google.com> Remove obsolete ThirdPartyProject.prop file.

Change-Id: I0da5666cb14b3ed8b0879d1a373913bcaec86b1e
hirdPartyProject.prop
c7a6056e3ac5111238ed1061d0c2a18f3febcd53 04-May-2012 Chia-chi Yeh <chiachi@android.com> am 15b085f8: Merge "Fix issue that VPN connection fail when L2TP secret enable"

* commit '15b085f8d06b2b579e0cf30f8a57f9d15d50f2b9':
Fix issue that VPN connection fail when L2TP secret enable
15b085f8d06b2b579e0cf30f8a57f9d15d50f2b9 04-May-2012 Chia-chi Yeh <chiachi@android.com> Merge "Fix issue that VPN connection fail when L2TP secret enable"
440221128bf7a17d788be5caeefb0e7e1c89e95a 21-Feb-2012 shimizu.junichi <shimizu.junichi@sharp.co.jp> Fix issue that VPN connection fail when L2TP secret enable

Possibly, this patch may fix issue #4111 and #8943.

l2tp.c

>line#432:"answer_challenge();"
This function add message "CHALLENGE RESPONSE"
to the end of structure"outgoing".

>line#433:"set_message(0, SCCCN);"
This function set basic message "SCCCN" to structure "outgoing".
Then, the member variable "outgoing.length" is initialized.
Therefore, the message "CHALLENGE RESPONSE" is disabled.

Usually, set up basic message by "set_message()" at first,
and add message by "add_attribute_XXX".(ex. line#450-452)

Replacing these two lines each other, normal message is generated.
After we applied this patch, and testing it, we were able to be
connected normally.

Change-Id: I5f79a6272aa0c7eeac0f4264eb360b5623cc034b
Signed-off-by: shimizu.junichi <shimizu.junichi@sharp.co.jp>
2tp.c
fba8fdc6c588873aa944d7aa79b2f12ade78566a 27-Dec-2011 Chia-chi Yeh <chiachi@android.com> mtpd: keep checking if any lower VPN layer dies.

Change-Id: Idd4dfa813a2db16d9b95f71fefb67509804261a0
tpd.c
35c31502e9811c7ecd430a89f2b3ae03ca7d277a 09-Dec-2011 Chia-chi Yeh <chiachi@android.com> mtpd: abort when any lower VPN layer dies.

Before processing any packets, we check the presence of an
"abort" file. If that exists, shut down our VPN layers. The
performance impact is negligible as control packets are rare.

Bug: 5714296
Change-Id: I076cc1afd7c7ef173bc93a6c4c105d08f8cc7686
tpd.c
0269612ac00a0700997dda333faf0a3c33a388b8 22-Aug-2011 Chia-chi Yeh <chiachi@android.com> mtpd: update control protocol.

Now closing the control socket becomes a signal of termination.
Thus it is no longer closed after getting the arguments.

Change-Id: Ic84f332e0990b78939498c5dc315fc4a4c770410
tpd.c
0f725857a9901b62b20c96b2ee70372660d13f46 18-Jul-2011 Chia-chi Yeh <chiachi@android.com> VPN: remove the workaround for driver ID changes.

Change-Id: I1ae33e065c293969fe8abe6e370cd9cb29a44ee2
2tp.c
ptp.c
ec2b0392adedaa2707b627b842f3f9f355d844d5 14-Jul-2011 Chia-chi Yeh <chiachi@android.com> mtpd: update control protocol.

Change-Id: I38f6c524ed66a4ba1e5eb5d4cd6a6712e6e91e65
tpd.c
ea299e6828421f15b1d23256527f2cd3668b9915 14-Jul-2011 Chia-chi Yeh <chiachi@android.com> mtpd: unify the coding style.

Change-Id: Ie0ebbc2511d61ad0102777aa5db0b134a95de237
2tp.c
ptp.c
3afd73f3f230f9ea8ddce7ad354a537ade3c3030 14-Jul-2011 Chia-chi Yeh <chiachi@android.com> mtpd: bind to network interface explicitly.

Change-Id: Ief9e5e5e8b868769e48155d9a19b29a28aa7a8e0
tpd.c
cbb0d719b0511b9d4e4b4eb6b529d22929790053 12-Jul-2011 Jeff Brown <jeffbrown@google.com> Remove the simulator target from all makefiles.
Bug: 5010576

Change-Id: If718764a46cd2e74f0ed722a3f4940c5f68d94df
ndroid.mk
27058db4ba99b9ea675f967032fbf7e1c3afa3da 02-Jul-2011 Chia-chi Yeh <chiachi@android.com> mtpd: remove the feedback protocol.

In the future, we might implement a new protocol and
get rid of the system properties.

Change-Id: I99ca612c45512002b5b34d1a94d71fa188841bef
tpd.c
41ab620e220cfcb168f8b299e274e67d0cd37698 29-Jun-2011 Chia-chi Yeh <chiachi@android.com> mtpd: switch to use the new control protocol.

Now L2TP secret is passed via control socket,
so mtpd no longer depends on keystore.

Change-Id: I7a353ce9dc3f69778534a61a209e62a590425c34
ndroid.mk
tpd.c
7b66d20359dd1c5586ecb1594d3ee929c5b42624 29-Jun-2011 Chia-chi Yeh <chiachi@android.com> mtpd: get rid of the separator of pppd arguments.

Change-Id: I0ebcac6f051dae63531afacdd62d7520a94f18d1
2tp.c
tpd.c
tpd.h
ptp.c
04d2aa78ee05ee0183392f8b4b0771f3749a3ca0 28-Jun-2011 Chia-chi Yeh <chiachi@android.com> VPN: temporary workaround for driver ID changes.

Change-Id: I0b520357027fc1b81db7a37220ed49e327ce50c9
2tp.c
ptp.c
fccbc17685cd8bd43cf1c1e533c4d02f6f79d667 16-Jul-2010 The Android Open Source Project <initial-contribution@android.com> add meta-files about 3rd party projects

Change-Id: Ie55153190bce6e2a74d4eb0415708112ac37cb8f
hirdPartyProject.prop
7d4f656f92c2c846741c81facf13958d40570b0f 09-Mar-2010 Jean-Baptiste Queru <jbq@google.com> Add an empty CleanSpec.mk

Change-Id: Ia60813bcf58b44c11e4e8bd864007196a3d8bd28
leanSpec.mk
e01c97926d16201d90f2a0f1998c1276be459e5c 08-Mar-2010 Chia-chi Yeh <chiachi@android.com> modify according to the change of keystore interface.

Change-Id: I391dae3fff391f4c67bb34b512f2e9e60182e809
tpd.c
003eefd3dc011a04a29f12c505726b63144650f7 05-Feb-2010 The Android Open Source Project <initial-contribution@android.com> am 5d911d77: am a37baf0a: reconcile main tree with open-source eclair

Merge commit '5d911d775a8467c383583edfbda280c122137ead'

* commit '5d911d775a8467c383583edfbda280c122137ead':
android-2.1_r1 snapshot
5d911d775a8467c383583edfbda280c122137ead 05-Feb-2010 The Android Open Source Project <initial-contribution@android.com> am a37baf0a: reconcile main tree with open-source eclair

Merge commit 'a37baf0a47b15211bd5c8e0acbd9a9f090587f82' into eclair-plus-aosp

* commit 'a37baf0a47b15211bd5c8e0acbd9a9f090587f82':
android-2.1_r1 snapshot
a37baf0a47b15211bd5c8e0acbd9a9f090587f82 05-Feb-2010 The Android Open Source Project <initial-contribution@android.com> reconcile main tree with open-source eclair
43826ba8fdccb696d7778e22ddb0d3b9063f65fd 29-Jan-2010 The Android Open Source Project <initial-contribution@android.com> reconcile android-2.1_r1 snapshot
7ef1f3046962c56f08e12bbc3c90e51464bb7935 13-Jan-2010 The Android Open Source Project <initial-contribution@android.com> android-2.1_r1 snapshot
tpd.c
14801bf7f1702e3cfe08c1867126a904af032f7c 16-Dec-2009 Chia-chi Yeh <chiachi@android.com> am 68e09c63: am 4a721df1: Use environment variables to pass information to pppd.

Merge commit '68e09c63eb03e729183e98b840e0ee4910f60ede'

* commit '68e09c63eb03e729183e98b840e0ee4910f60ede':
Use environment variables to pass information to pppd.
68e09c63eb03e729183e98b840e0ee4910f60ede 15-Dec-2009 Chia-chi Yeh <chiachi@android.com> am 4a721df1: Use environment variables to pass information to pppd.

Merge commit '4a721df13a07ca36daafbb3785653979e3d1d393' into eclair-plus-aosp

* commit '4a721df13a07ca36daafbb3785653979e3d1d393':
Use environment variables to pass information to pppd.
4a721df13a07ca36daafbb3785653979e3d1d393 14-Dec-2009 Chia-chi Yeh <chiachi@android.com> Use environment variables to pass information to pppd.

Bug: 2325838
Change-Id: Ibc8b85ebd855270f39c7b7724fd0735528f80622
tpd.c
3671831b0dc26c07ead9b4b347b68ad344c8ba66 15-Nov-2009 Jean-Baptiste Queru <jbq@google.com> merge from open-source master
7488a0afce8c685d752dbbc1eb27cc0782fc921a 15-Nov-2009 Jean-Baptiste Queru <jbq@google.com> merge from open-source master

Merge commit 'goog/stage-korg-master' into HEAD
326aed4d218c75815abf7038bc4e6c349d899bae 15-Nov-2009 Jean-Baptiste Queru <jbq@google.com> merge from eclair
78c0fc9f82ef48ac90c3c717b0fecdb21643047c 13-Nov-2009 Jean-Baptiste Queru <jbq@google.com> eclair snapshot
2tp.c
tpd.c
905c2d0116da949bbbee4caed9958e774f00e0d3 13-Oct-2009 Chia-chi Yeh <chiachi@android.com> mtpd: handle hidden attributes correctly.
2tp.c
58c35fd8e8d71912c64cb55d6e27df50dde65f76 18-Sep-2009 Chia-chi Yeh <chiachi@android.com> mtpd: switch to multi-user keystore.
tpd.c
9ee8a52fa30e46001e45df1cb5a37b658df49991 02-Sep-2009 Chia-chi Yeh <chiachi@android.com> mtpd: remove a TODO which was already done two months ago.
2tp.c
a86466860fb5fec2fe93e280e05c523f3157540f 13-Aug-2009 Jean-Baptiste Queru <jbq@google.com> Add license-related files

BUG=1573996
ODULE_LICENSE_APACHE2
OTICE
fa04c31da4ef8765c2c8967fe548bcb55d0523d9 10-Jul-2009 Chia-chi Yeh <chiachi@android.com> mtpd: Fix a minor bug which did not exit just after connect() failed.
tpd.c
f102920925b71379dc47cead612b4374d712278a 06-Jul-2009 Chia-chi Yeh <chiachi@android.com> mtpd: Get L2TP secret from keystore.
ndroid.mk
tpd.c
2d24765a7c081b35288838acf2a18724652fae43 23-Jun-2009 Chia-chi Yeh <chiachi@android.com> mtpd: Set FD_CLOEXEC on signal pipe.
tpd.c
f096f5babf211732dbf00c16f22fdfde82dfd43e 21-Jun-2009 Chia-chi Yeh <chiachi@android.com> mtpd: Some minor improvements.

This reduces few bytes in both memory usage and binary size.
2tp.c
e859c5e118db1c1cf219df1d0f0887ff46826bfb 19-Jun-2009 Chia-chi Yeh <chiachi@android.com> mtpd: Build L2TP challenge from /dev/urandom to improve the security.

Also make it return CHALLENGE_FAILED when the response is incorrect.
2tp.c
a7776544bd4d487667b3e55896432d255209c789 19-Jun-2009 Chia-chi Yeh <chiachi@android.com> mtpd: Install signal handlers after the socket is connected.

Connect() automatically restarts after a signal is received.
If the signal handler does not terminate the process, it might
get blocked for few minutes while the remote server is unreachable.
Delaying the installation of signal handlers fixes this problem
since the default handlers do terminate the process.
tpd.c
6c0e6ee6cf1cd6dda611adbc61766b2405416107 17-Jun-2009 Chia-chi Yeh <chiachi@android.com> Add support for L2TP secrets in mtpd.
ndroid.mk
2tp.c
063bb92976a72c53044c1c147fb4d1feec9716ee 15-Jun-2009 Chia-chi Yeh <chiachi@android.com> Add PPTP support in mtpd.

If control socket does not exist, parse arguments from command line.
ndroid.mk
tpd.c
ptp.c
84e3195dffa22e8d1568ef9d70aea4bcbba71a72 08-Jun-2009 Chia-chi Yeh <chiachi@android.com> Integrate mtpd to Android platform.

1. Adapt logging to liblog.
2. Use control socket to get arguments.
3. Add Android.mk.
ndroid.mk
tpd.c
79e6232ffa3765d3352e01e2b7887b6425c7c655 02-Jun-2009 Chia-chi Yeh <chiachi@android.com> First version of Multiple Tunneling Protocol Daemon (mtpd) for Android.
Currently it only supports L2TP without secrets.
2tp.c
tpd.c
tpd.h
1ae589ec5894465943a76ec403d122159740f349 08-May-2009 The Android Open Source Project <initial-contribution@android.com> new project, first commit