History log of /system/connectivity/shill/pppoe/pppoe_service.cc
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/pppoe/pppoe_service.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/pppoe/pppoe_service.cc
ed02716d7e5b318f024954ad12f5ea9d9628c56e 27-Aug-2015 Timothy Jennison <tjennison@chromium.org> shill: add ipv6 flags for pppd

Add flags to pppd so that it requests an IPv6 address. If the upstream server
doesn't support IPv6, it simply rejects the request.

BUG=chromium:523196
TEST=Manual testing

Change-Id: Id14f47efda2ad836188570d89f4c5469ddb7c4fa
Reviewed-on: https://chromium-review.googlesource.com/297030
Commit-Ready: Timothy Jennison <tjennison@google.com>
Tested-by: Timothy Jennison <tjennison@google.com>
Reviewed-by: Zeping Qiu <zqiu@chromium.org>
/system/connectivity/shill/pppoe/pppoe_service.cc
9b6f8b8cdeb0c9e925fad635cc52a467c82741d0 26-Aug-2015 Peter Qiu <zqiu@google.com> shill: emit "Devices" property change for non-primary connectivity devices

This allows the remote client to get notified whenever a non-primary
connectivity device (e.g. PPP device) gets added/deleted.

BUG=chromium:523416
TEST=USE="asan clang dhcpv6 pppoe" FEATURES=test emerge-$BOARD shill

Change-Id: Ife37ea536e7e73b81c3c7210fe12b8d109efb93d
Reviewed-on: https://chromium-review.googlesource.com/295680
Commit-Ready: Zeping Qiu <zqiu@chromium.org>
Tested-by: Zeping Qiu <zqiu@chromium.org>
Reviewed-by: Zeping Qiu <zqiu@chromium.org>
/system/connectivity/shill/pppoe/pppoe_service.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/pppoe/pppoe_service.cc
8e60d61b13fedf9cb75f1d4f1762605375837d98 21-Aug-2015 Peter Qiu <zqiu@chromium.org> shill: include non-primary devices in the enumerated devices list

The devices are included in the enumerated devices list without being
persist to the profile storage.

This allows remote client to easily retrieve IP configurations for
such devices.

BUG=chromium:523416
TEST=USE=pppoe emerge-$BOARD shill

Change-Id: Ia6b5d225f75a8514102ca43e01f60a6decd293d1
Reviewed-on: https://chromium-review.googlesource.com/295042
Commit-Ready: Zeping Qiu <zqiu@chromium.org>
Tested-by: Zeping Qiu <zqiu@chromium.org>
Reviewed-by: Paul Stewart <pstew@chromium.org>
/system/connectivity/shill/pppoe/pppoe_service.cc
d1d3278b365e866a7381de2a640219b51fe0e27a 21-Aug-2015 Peter Qiu <zqiu@chromium.org> shill: support for DHCPv6 over PPPoE

Start a DHCPv6 configuration client for PPPoE virtual interface
if the interface is enabled for DHCPv6 when PPP connection is
established. Use the generic file name (based on the interface
name) for the acquired lease, so that the lease file will be removed
when PPP connection is terminated.

This allows shill to obtain DHCPv6 configurations such as prefix
delegation ovet PPPoE.

BUG=chromium:523196
TEST=USE="ipv6 dhcpv6 pppoe" FEATURES=test emerge-$BOARD dhcpcd shill
TEST=Manual test by @tjennison

Change-Id: I1eb6b99ce669239b57c02c5b0af9403b4d7d06de
Reviewed-on: https://chromium-review.googlesource.com/294787
Commit-Ready: Zeping Qiu <zqiu@chromium.org>
Tested-by: Zeping Qiu <zqiu@chromium.org>
Reviewed-by: Paul Stewart <pstew@chromium.org>
/system/connectivity/shill/pppoe/pppoe_service.cc
96ca1fbf5b9ccbbad56b44d93040fe1d1100bebe 16-Jun-2015 Paul Stewart <pstew@chromium.org> shill: pppoe: Switch pointer/ref spacing

Switch to Chrome style spacing.

BUG=chromium:501026
TEST=Unit tests

Change-Id: I519765c1945698092f4fb85933f8b2b6a660fc98
Reviewed-on: https://chromium-review.googlesource.com/278076
Reviewed-by: Rebecca Silberstein <silberst@chromium.org>
Commit-Queue: Paul Stewart <pstew@chromium.org>
Tested-by: Paul Stewart <pstew@chromium.org>
/system/connectivity/shill/pppoe/pppoe_service.cc
b84e02c3d496696577bd9365dd134eb14570e050 26-Mar-2015 Garret Kelly <gdk@chromium.org> shill: expose max auth failure property for PPPoE

Allow clients to configure the maximum number of consecutive
authentication failures that are tolerated before giving up on a PPPoE
connection. Set the default to 3.

BUG=chrome-os-partner:38449
TEST=FEATURES=test emerge-amd64-generic shill, ASAN profile
CQ-DEPEND=CL:262720

Change-Id: Idef4d259bcdf040678b2b50e3d6bc614f4cc8801
Reviewed-on: https://chromium-review.googlesource.com/262701
Reviewed-by: Garret Kelly <gdk@chromium.org>
Commit-Queue: Garret Kelly <gdk@chromium.org>
Tested-by: Garret Kelly <gdk@chromium.org>
/system/connectivity/shill/pppoe/pppoe_service.cc
75fba8153398eddb3a8623ba8621b8801fda4087 09-Mar-2015 Garret Kelly <gdk@chromium.org> shill: expose LCP properties of PPPoE connections

Expose the LCP echo interval and LCP echo failure properties on
PPPoEService instances. Adds documentation of these new properties to
doc/, as well as the documentation for a few properties that were
overlooked during implementation.

BUG=chrome-os-partner:37468
TEST=FEATURES=test emerge-amd64-generic shill
CQ-DEPEND=CL:257530

Change-Id: I00eccdd75bab46fcd1893cbd9b2351ab65c564f8
Reviewed-on: https://chromium-review.googlesource.com/257570
Reviewed-by: Garret Kelly <gdk@chromium.org>
Tested-by: Garret Kelly <gdk@chromium.org>
Commit-Queue: Garret Kelly <gdk@chromium.org>
/system/connectivity/shill/pppoe/pppoe_service.cc
dac90aadec34bb7e3b38651718aa15ba2f23aad6 02-Mar-2015 Garret Kelly <gdk@chromium.org> shill: make PPPoEService idle on disconnect

Since PPPoEService is a special case when it comes to being driven by an
underlying Device instance, it needs help to transition into the idle
state when it has been disconnected but has not yet had a PPPDevice
associated with it.

BUG=chrome-os-partner:37234
TEST=added unittest, ran unittests in amd64-generic ASAN profile

Change-Id: I7de2138e570948162612fadbc7a90099e36628b5
Reviewed-on: https://chromium-review.googlesource.com/255252
Reviewed-by: Garret Kelly <gdk@chromium.org>
Commit-Queue: Garret Kelly <gdk@chromium.org>
Tested-by: Garret Kelly <gdk@chromium.org>
/system/connectivity/shill/pppoe/pppoe_service.cc
aab63499fccbd5b94fcfd2fa88e5fda83a8b5da8 20-Feb-2015 Garret Kelly <gdk@chromium.org> shill: make PPPoE an autoconnectable technology

Make PPPoE a primary connectivity technology so that in the absence of
other connections a PPPoE service will be autoconnected if it exists.
This has no impact on platforms for which PPPoE is not enabled, as
PPPoEServices will not be constructed on them.

BUG=chrome-os-partner:36916
TEST=made panther autoconnect over PPPoE

Change-Id: Idcdf231a4d5e9bd80cb603349fb55bece7e293a6
Reviewed-on: https://chromium-review.googlesource.com/251442
Reviewed-by: Paul Stewart <pstew@chromium.org>
Commit-Queue: Garret Kelly <gdk@chromium.org>
Tested-by: Garret Kelly <gdk@chromium.org>
/system/connectivity/shill/pppoe/pppoe_service.cc
2dc218e49e210b64ecf7d83946ec257ef1529171 30-Jan-2015 Garret Kelly <gdk@chromium.org> shill: add PPPoEService to provide PPPoE support

A PPPoEService handles providing PPPoE connectivity for an Ethernet
device. It is designed to be used in place of an EthernetService.

BUG=chrome-os-partner:32173
TEST=FEATURES=test USE="vpn cellular pppoe" emerge-x86-generic shill
CQ-DEPEND=246511

Change-Id: I53df0e6d4387993f900309bf2bdb72a1f5e287e0
Reviewed-on: https://chromium-review.googlesource.com/244762
Reviewed-by: Paul Stewart <pstew@chromium.org>
Commit-Queue: Garret Kelly <gdk@chromium.org>
Tested-by: Garret Kelly <gdk@chromium.org>
/system/connectivity/shill/pppoe/pppoe_service.cc