1. 11 Dec, 2014 1 commit
    • Adam Langley's avatar
      Sync to upstream head. · 1286c078
      Adam Langley authored
      This change syncs external/ppp with upstream. Specifically it's based on
      upstream's 6e8eaa7a78b31cdab2edf140a9c8afdb02ffaca5.
      
      In order to do this without blowing away the Android-specific changes, I
      ran a script to try and find a matching revision in upstream's git tree
      to the initial commit in external/ppp.
      
      Based on the contents of *.c and *.h files in pppd/, upstream's
      f8583676904957554c5a8bd14ede415688835f6c matches with the local revision
      82c907af.
      
      I diffed upstream's f8583676 with upstream's HEAD and removed chunks
      from the result that applied to files that aren't present in Android. In
      some places, the diff didn't apply cleanly because of Android-specific
      changes:
      
        1) Local change 8ad0dd2a added two "return UPAP_AUTHNAK;" statements
           in "#if 1" blocks in auth.c. They have been reflected into
           session.c/session_start by always returning SESSION_FAILED.
           (Additionally, new code to query the local password db has been
           disabled via #if !defined(__ANDROID__).)
      
        2) Upstream now always defines INET6 for Linux so I've pulled IPv6
           support in. (Otherwise sys-linux.c has compile errors.)
      
        3) linux/ipv6_route.h needed to be included explicitly.
      
        4) I defined HAVE_LOGWTMP to avoid calling some wtmp functions that
           aren't implemented in Android. A dummy logwtmp is defined.
      
      All the above changes are in __ANDROID__ tags to highlight them.
      Additionally I've ensured that all the pre-existing changes are also now
      in __ANDROID__ tags.
      
      Change-Id: Ia5abe677d6ba4d5e9f4fbcd4fa03d8911b8bed12
      1286c078
  2. 17 Dec, 2013 1 commit
  3. 12 Nov, 2013 1 commit
  4. 24 Jul, 2013 1 commit
  5. 10 Apr, 2013 1 commit
    • Ying Wang's avatar
      Add liblog · 45a0ef39
      Ying Wang authored
      Bug: 8580410
      Change-Id: I89a92f329d721a07a2ae1410b4b86894d4eb9537
      45a0ef39
  6. 16 Nov, 2012 2 commits
    • Nick Kralevich's avatar
      Get rid of strlcat / strlcpy · d415ebef
      Nick Kralevich authored
      Android already has a version of strlcat / strlcpy. There's
      no need for pppd to duplicate it.
      
      Change-Id: Ie094cccc2d2b8553cf3c6629c6a79bf3b8db9d06
      d415ebef
    • Nick Kralevich's avatar
      Get rid of strlcat / strlcpy · 8527dca8
      Nick Kralevich authored
      Android already has a version of strlcat / strlcpy. There's
      no need for pppd to duplicate it.
      
      Change-Id: Ie094cccc2d2b8553cf3c6629c6a79bf3b8db9d06
      8527dca8
  7. 11 Mar, 2012 1 commit
  8. 19 Oct, 2010 1 commit
    • David Deephanphongs's avatar
      Add and correct NOTICE files. · 43a588f9
      David Deephanphongs authored
      Add NOTICE file for ip-up-vpn.
      Remove GPLed code from pppd (wasn't being compiled in), and
      fix up pppd/NOTICE to reflect.
      
      Change-Id: I44b7b2680f65013f96f0043e40e8deeebabe2ec4
      43a588f9
  9. 16 Jul, 2010 1 commit
  10. 08 Apr, 2010 1 commit
    • Peter Enderborg's avatar
      Added proper handling of pty-names for pipe usage. · 11088bb1
      Peter Enderborg authored
      This fixes running ppp through adb as sockets, that are connected
      to a pipe with the help of nc. Further, the path construction now
      corresponds to other versions of pppd.
      
      Change-Id: Ib810dc69cbdf08b58cde65210b31cd7bd1427721
      11088bb1
  11. 12 Jan, 2010 1 commit
  12. 15 Dec, 2009 1 commit
  13. 30 Jun, 2009 1 commit
  14. 19 Jun, 2009 1 commit
    • Chia-chi Yeh's avatar
      Few changes to pppd for VPN. · 12f72b25
      Chia-chi Yeh authored
      1. Remove TARGET_OUT_OPTIONAL_EXECUTABLES from Android.mk
         since pppd is now required by VPN, no longer optinoal.
      2. Avoid creating pid files.
      3. Use linkname as a suffix of program names which allows
         different users to run different set of scripts. E.g.
         if linkname is "vpn", "/etc/ppp/ip-up-vpn" is executed.
      12f72b25
  15. 16 Jun, 2009 1 commit
    • Chia-chi Yeh's avatar
      Fix few minor things in pppd. · 821c6079
      Chia-chi Yeh authored
      1. Undo some changes about running scripts.
      2. Move android logging from logit() to log_write().
      3. Remove all syslog() related calls.
      821c6079
  16. 15 Jun, 2009 1 commit
  17. 12 Jun, 2009 1 commit
  18. 06 Jun, 2009 1 commit
  19. 07 May, 2009 2 commits
  20. 21 Apr, 2009 1 commit
    • Chung-yih Wang's avatar
      This change is for enabling the pppd for vpn authentication and setup. · e7f221f1
      Chung-yih Wang authored
      It includes:
        1. Enable the CHAPMS authentication for talking to MS vpn server.
        2. Reuse the message digest/hashing functions in openssl instead of
           the md4, md5 and sha1 functions in the package to save the space.
        3. Enable the execution the ip-up/ip-down script on Android.
      
      Update: add comment and replace tab with spaces.
      e7f221f1
  21. 04 Mar, 2009 2 commits
  22. 21 Oct, 2008 1 commit