History log of /external/mtpd/l2tp.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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>
/external/mtpd/l2tp.c
0f725857a9901b62b20c96b2ee70372660d13f46 18-Jul-2011 Chia-chi Yeh <chiachi@android.com> VPN: remove the workaround for driver ID changes.

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

Change-Id: Ie0ebbc2511d61ad0102777aa5db0b134a95de237
/external/mtpd/l2tp.c
7b66d20359dd1c5586ecb1594d3ee929c5b42624 29-Jun-2011 Chia-chi Yeh <chiachi@android.com> mtpd: get rid of the separator of pppd arguments.

Change-Id: I0ebcac6f051dae63531afacdd62d7520a94f18d1
/external/mtpd/l2tp.c
04d2aa78ee05ee0183392f8b4b0771f3749a3ca0 28-Jun-2011 Chia-chi Yeh <chiachi@android.com> VPN: temporary workaround for driver ID changes.

Change-Id: I0b520357027fc1b81db7a37220ed49e327ce50c9
/external/mtpd/l2tp.c
905c2d0116da949bbbee4caed9958e774f00e0d3 13-Oct-2009 Chia-chi Yeh <chiachi@android.com> mtpd: handle hidden attributes correctly.
/external/mtpd/l2tp.c
9ee8a52fa30e46001e45df1cb5a37b658df49991 02-Sep-2009 Chia-chi Yeh <chiachi@android.com> mtpd: remove a TODO which was already done two months ago.
/external/mtpd/l2tp.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.
/external/mtpd/l2tp.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.
/external/mtpd/l2tp.c
6c0e6ee6cf1cd6dda611adbc61766b2405416107 17-Jun-2009 Chia-chi Yeh <chiachi@android.com> Add support for L2TP secrets in mtpd.
/external/mtpd/l2tp.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.
/external/mtpd/l2tp.c