History log of /system/connectivity/shill/vpn/l2tp_ipsec_driver.cc
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
3a62e235646ec19bee71e8dbee5208282dcd13b5 20-Jan-2016 Alex Vakulenko <avakulenko@google.com> shill: Update libchrome APIs to r369476

The new libchrome has been ported from Chromium and some APIs have
changed. Make necessary changes at call sites.

Change-Id: Ib4c4b5438a2e249777c9c1b6509f085ad5d00049
/system/connectivity/shill/vpn/l2tp_ipsec_driver.cc
289a5a5e18bb1a676b3dfce111af4c2c00c7776e 21-Sep-2015 Samuel Tan <samueltan@google.com> shill: use different service_constants.h path for Android builds

Use the service_constants.h file from the external/cros/system_api/dbus
instead of chromeos/dbus/service_constants.h, since this header file
is installed into different directories when building shill for Android
and Chrome OS.

BUG: 22956441
Change-Id: I7e6ea46b4893588d2862792cf43aa83fdf7c30b4
TEST: shill still compiles using emerge.
/system/connectivity/shill/vpn/l2tp_ipsec_driver.cc
c0beca55d290fe0b1c96d78cbbcf94b05c23f5a5 03-Sep-2015 Peter Qiu <zqiu@google.com> License shill to Apache2

This patch automatically replaced the license on all text files from
Chromium OS (BSD style) to AOSP (Apache2), keeping the original year as
a reference.

The license header was added to .gyp and .gypi, the NOTICE was added with a copy
of the Apache2 license and MODULE_LICENSE_* file was added.

BUG=23587594
TEST=grep 'Chromium OS Authors' doesn't find anything.

Change-Id: If41ede586c2465f5831fb7fee270ff41dbfdb596
/system/connectivity/shill/vpn/l2tp_ipsec_driver.cc
a24480aaca4d392d6d08cebdc508ee49615839d3 12-Aug-2015 Peter Qiu <zqiu@chromium.org> shill: ExternalTask: use ProcessManager to manage processes

This removes glib dependency for spawning/monitoring processes
for external tasks.

This is a part of series CLs that convert shill over to MessageLoopForIO
and chromeos dbus.

BUG=chromium:516841
TEST=unittests

Change-Id: I6cec2326671bf0da09cd8ec7731b5c510cbed0ed
Reviewed-on: https://chromium-review.googlesource.com/292982
Commit-Ready: Zeping Qiu <zqiu@chromium.org>
Tested-by: Zeping Qiu <zqiu@chromium.org>
Reviewed-by: Zeping Qiu <zqiu@chromium.org>
/system/connectivity/shill/vpn/l2tp_ipsec_driver.cc
e42d186ab3383b4a6bb267f490770af5932588b8 16-Jun-2015 Paul Stewart <pstew@chromium.org> shill: vpn: Switch pointer/ref spacing

Switch to Chrome style spacing.

BUG=chromium:501026
TEST=Unit tests

Change-Id: I7e196947d4d006a5ecc33d1a6bf03e0f4d4b1aa4
Reviewed-on: https://chromium-review.googlesource.com/278080
Reviewed-by: Rebecca Silberstein <silberst@chromium.org>
Commit-Queue: Paul Stewart <pstew@chromium.org>
Tested-by: Paul Stewart <pstew@chromium.org>
/system/connectivity/shill/vpn/l2tp_ipsec_driver.cc
c062538b3440f566120e302aac70e527e1cf5b07 26-Mar-2015 Paul Stewart <pstew@chromium.org> shill: vpn: Accept LCPEchoDisabled flag

Accept a service property which disables the LCP echo mechanism
for monitoring connectivity.

CQ-DEPEND=CL:262482
BUG=chromium:463602
TEST=Unit tests + network_VPNConnect.l2tpipsec_psk + manual:
Ensure by default that "LCP EchoReq" appears by default in
/var/log/net.log when connecting to L2TP/IPSec hosts.

set-service-property <vpn-service> L2TPIPsec.LCPEchoDisabled "true"

On re-connect no more "LCP EchoReq" messages appear, but the
connection should continue to be successful.

Change-Id: Ic2c094f4cfa7222dea753b5e61471516e9e77027
Reviewed-on: https://chromium-review.googlesource.com/262520
Reviewed-by: Ben Chan <benchan@chromium.org>
Commit-Queue: Paul Stewart <pstew@chromium.org>
Tested-by: Paul Stewart <pstew@chromium.org>
/system/connectivity/shill/vpn/l2tp_ipsec_driver.cc
1e8414cbca190baa946388ede87a0b417c1f3d95 30-Jan-2015 Garret Kelly <gdk@chromium.org> shill: add new startup options to PPPDaemon

Add the use_pppoe_plugin and debug options to the PPPDaemon::Options
structure. The use_pppoe_plugin option inserts the rp-pppoe.so plugin
into the startup options, allowing for PPPoE connectivity using pppd.
The debug option causes pppd to generate verbose log messages while
establishing a connection.

BUG=chrome-os-partner:32173
TEST=FEATURES=test USE=vpn emerge-x86-generic shill

Change-Id: I297e87a762359f8aff108872d26fea2a09390c7a
Reviewed-on: https://chromium-review.googlesource.com/244671
Reviewed-by: Ben Chan <benchan@chromium.org>
Tested-by: Garret Kelly <gdk@chromium.org>
Commit-Queue: Garret Kelly <gdk@chromium.org>
/system/connectivity/shill/vpn/l2tp_ipsec_driver.cc
34628593c4c51e8f1d393d6a03e3ebf06e4d9979 26-Jan-2015 Paul Stewart <pstew@chromium.org> shill: L2TPIPsecDriver: Specify smaller MTU

L2TP packets have additional header information that count
against the available link MTU. Although this MTU information
isn't passed down as a parameter from the VPN client, we should
account for this by using a failsafe value.

BUG=chromium:450759
TEST=Unit tests, Upcoming test network_DhcpMTU (CL:243315)

Change-Id: Ica22f148679cea908a7761c6b6ba7b619355a22f
Reviewed-on: https://chromium-review.googlesource.com/243371
Reviewed-by: Prabhu Kaliamoorthi <kaliamoorthi@chromium.org>
Reviewed-by: Paul Stewart <pstew@chromium.org>
Tested-by: Paul Stewart <pstew@chromium.org>
Commit-Queue: Paul Stewart <pstew@chromium.org>
/system/connectivity/shill/vpn/l2tp_ipsec_driver.cc
cb832e8df5f61b223de86a9d4204c86f1e7d9c36 14-Jan-2015 Garret Kelly <gdk@chromium.org> shill: refactor pppd handling into a new class

Wrap pppd options so that callers don't need to know their details in
order to spawn a new instance. Add new unit tests to ensure that the
commandline is being constructed properly.

BUG=none
TEST=all unit tests, with USE=vpn

Change-Id: If06b7fec3ffdf384eff542d324ef4d125d546765
Reviewed-on: https://chromium-review.googlesource.com/241199
Reviewed-by: Garret Kelly <gdk@chromium.org>
Commit-Queue: Garret Kelly <gdk@chromium.org>
Tested-by: Garret Kelly <gdk@chromium.org>
/system/connectivity/shill/vpn/l2tp_ipsec_driver.cc
34f424e672439bdf237a755f85245ebd7b66e8e2 17-Jan-2015 Paul Stewart <pstew@chromium.org> shill: Error: Attribute source from PopulateAndLog

Have callers pass the source file/line of PopulateAndLog calls so
the log message can disambiguate the ultimate source of the error.

BUG=chromium:449528
TEST=Unit tests + manual: restart shill and "grep error.cc /var/log/net.log"

Change-Id: I7bb54e966b047025a3ec7ef18acce5b8bed3d031
Reviewed-on: https://chromium-review.googlesource.com/241522
Reviewed-by: Paul Stewart <pstew@chromium.org>
Commit-Queue: Paul Stewart <pstew@chromium.org>
Tested-by: Paul Stewart <pstew@chromium.org>
/system/connectivity/shill/vpn/l2tp_ipsec_driver.cc
2240e8c03451c6b6f21eb8944d8a1c0747ac10b3 06-Nov-2014 Ben Chan <benchan@chromium.org> shill: vpn: Move vpn code to its own sub-directory.

This CL is part of a series of CLs, which aim to reorganzie shill's flat
source code structure into a more modular form by moving technology
specific code into their own sub-directories.

BUG=chromium:433419
TEST=`USE='vpn' FEATURES=test emerge-$BOARD shill`
TEST=`USE='vpn clang asan' FEATURES=test emerge-$BOARD shill`

Change-Id: I02d23511a80655098d50e248321c77d23f8caaa9
Reviewed-on: https://chromium-review.googlesource.com/229870
Reviewed-by: Paul Stewart <pstew@chromium.org>
Commit-Queue: Ben Chan <benchan@chromium.org>
Tested-by: Ben Chan <benchan@chromium.org>
/system/connectivity/shill/vpn/l2tp_ipsec_driver.cc