shill: routing_table: SLOG all events on interesting routes

Prior to this change, RoutingTable::RouteMsgHandler only SLOG'd events
regarding the addition of "interesting" routes (primarily default
routes). This change modifies this so that the removal or querying of
interesting routes is also SLOG'd, which could facilitate future
debugging.

BUG=chromium:992786
TEST=Manual testing with `ff_debug +route --level -2`.

Change-Id: Ica67450a5f1513ba3fb42dd18e29eef6c6116128
Reviewed-on: https://chromium-review.googlesource.com/1752583
Tested-by: Alex Khouderchah <akhouderchah@chromium.org>
Commit-Ready: Alex Khouderchah <akhouderchah@chromium.org>
Legacy-Commit-Queue: Commit Bot <commit-bot@chromium.org>
Reviewed-by: Eric Caruso <ejcaruso@chromium.org>
3 files changed
tree: efd7b327c969de4be9999d16c9e607833dd7ae1c
  1. .clang-format
  2. .gitignore
  3. .gn
  4. COMMIT-QUEUE.ini
  5. CPPLINT.cfg
  6. LICENSE
  7. OWNERS
  8. PRESUBMIT.cfg
  9. PRESUBMIT.py
  10. README.md
  11. arc/
  12. attestation/
  13. authpolicy/
  14. avtest_label_detect/
  15. biod/
  16. bluetooth/
  17. bootstat/
  18. buffet/
  19. camera/
  20. chaps/
  21. chromeos-common-script/
  22. chromeos-config/
  23. chromeos-dbus-bindings/
  24. codelab/
  25. common-mk/
  26. crash-reporter/
  27. cros-disks/
  28. cros-fuzz/
  29. cros_component/
  30. crosdns/
  31. crosh/
  32. cryptohome/
  33. cups_proxy/
  34. debugd/
  35. dev-install/
  36. diagnostics/
  37. disk_updater/
  38. dlcservice/
  39. easy-unlock/
  40. feedback/
  41. fitpicker/
  42. glib-bridge/
  43. goldfishd/
  44. hammerd/
  45. hardware_verifier/
  46. hermes/
  47. image-burner/
  48. imageloader/
  49. init/
  50. installer/
  51. ippusb_manager/
  52. kerberos/
  53. libbrillo/
  54. libchromeos-rs/
  55. libchromeos-ui/
  56. libcontainer/
  57. libhwsec/
  58. libipp/
  59. libmems/
  60. libpasswordprovider/
  61. libtpmcrypto/
  62. login_manager/
  63. lorgnette/
  64. media_perception/
  65. mems_setup/
  66. metrics/
  67. midis/
  68. mist/
  69. ml/
  70. modem-utilities/
  71. modemfwd/
  72. mtpd/
  73. oobe_config/
  74. p2p/
  75. peerd/
  76. permission_broker/
  77. policy_proto/
  78. policy_utils/
  79. portier/
  80. power_manager/
  81. qmi2cpp/
  82. regions/
  83. rendernodehost/
  84. run_oci/
  85. runtime_probe/
  86. salsa/
  87. screenshot/
  88. sealed_storage/
  89. secure-wipe/
  90. secure_erase_file/
  91. sepolicy/
  92. shill/
  93. smbfs/
  94. smbprovider/
  95. smogcheck/
  96. st_flash/
  97. storage_info/
  98. system_api/
  99. thd/
  100. timberslide/
  101. touch_firmware_calibration/
  102. touch_keyboard/
  103. tpm2-simulator/
  104. tpm_manager/
  105. tpm_softclear_utils/
  106. trace_events/
  107. trim/
  108. trunks/
  109. u2fd/
  110. usb_bouncer/
  111. userfeedback/
  112. userspace_touchpad/
  113. virtual_file_provider/
  114. vm_tools/
  115. vpn-manager/
  116. webserver/
  117. wifi-testbed/
README.md

The Chromium OS Platform

This repo holds (most) of the custom code that makes up the Chromium OS platform. That largely covers daemons, programs, and libraries that were written specifically for Chromium OS.

We moved from multiple separate repos in platform/ to a single repo in platform2/ for a number of reasons:

  • Make it easier to work across multiple projects simultaneously
  • Increase code re-use (via common libs) rather than duplicate utility functions multiple items over
  • Share the same build system

While most projects were merged, not all of them were. Some projects were standalone already (such as vboot), or never got around to being folded in (such as imageloader). Some day those extra projects might get merged in.

Similarly, some projects that were merged in, were then merged back out. This was due to the evolution of the Brillo project and collaboration with Android. That means the AOSP repos are the upstream and Chromium OS carries copies.

Local Project Directory

ProjectDescription
arcTools/deamons/init-scripts to run ARC
attestationDaemon and client for managing remote attestation
authpolicyDaemon for integrating with Microsoft Active Directory (AD) domains
avtest_label_detectTest tool for OCRing device labels
biodBiometrics daemon
bluetoothBluetooth Service and tools
bootstatTools for tracking points in the overall boot process (for metrics)
buffetDaemon for reacting to cloud messages
cameraChrome OS Camera daemon
chapsPKCS #11 implementation for TPM 1 devices
chromeos-common-scriptShared scripts for partitions and basic disk information
chromeos-configCrOS unified build runtime config manager
chromeos-dbus-bindingsSimplifies the implementation of D-Bus daemons and proxies
codelabCodelab exercise
common-mkCommon build & test logic for platform2 projects
crash-reporterThe system crash handler & reporter
cros-disksDaemon for mounting removable media (e.g. USB sticks and SD cards)
cros-fuzzSupport crate for fuzzing rust code
cros_component
crosdnsHostname resolution service for Chrome OS
croshThe Chromium OS shell
cryptohomeDaemon and tools for managing encrypted /home and /var directories
cups_proxyDaemon for proxying CUPS printing request
debugdCentralized debug daemon for random tools
dev-installTools & settings for managing the developer environment on the device
diagnosticsDevice telemetry and diagnostics daemons
disk_updaterUtility for updating root disk firmware (e.g. SSDs and eMMC)
dlcserviceDownloadable Content (DLC) Service daemon
easy-unlockDaemon for handling Easy Unlock requests (e.g. unlocking Chromebooks with an Android device)
feedbackDaemon for headless systems that want to gather feedback (normally Chrome manages it)
fitpicker
glib-bridgelibrary for libchrome-glib message loop interoperation
goldfishdAndroid Emulator Daemon
hammerdFirmware updater utility for hammer hardware
hardware_verifierHardware verifier tool
hermesChrome OS LPA implementation for eSIM hardware support
image-burnerDaemon for writing disk images (e.g. recovery) to USB sticks & SD cards
imageloaderDaemon for mounting signed disk images
initCrOS common startup init scripts and boot time helpers
installerCrOS installer utility (for AU/recovery/etc...)
ippusb_manager“Service” for ipp-over-usb printing
kerberosDaemon for managing Kerberos tickets
libbrilloCommon platform utility library
libchromeos-rsCommon platform utility library for Rust
libchromeos-ui
libcontainer
libhwsecLibrary for the utility functions of all TPM related daemons
libippLibrary for building and parsing IPP (Internet Printing Protocol) frames
libmemsUtility library to configure, manage and retrieve events from IIO sensors
libpasswordproviderPassword Provider library for securely managing credentials with system services
libtpmcryptoLibrary for AES256-GCM encryption with TPM sealed keys
login_managerSession manager for handling the life cycle of the main session (e.g. Chrome)
lorgnetteDaemon for managing attached USB scanners via SANE
media_perceptionMedia perception service for select platforms
memdDaemon that logs memory-related data and events
mems_setupBoot-time initializer tool for sensors
metricsClient side user metrics collection
midisMIDI service
mistModem USB Interface Switching Tool
mlMachine learning service
modem-utilities
modemfwdDaemon for managing modem firmware updaters
mtpdDaemon for handling Media Transfer Protocol (MTP) with devices (e.g. phones)
oobe_configUtilities for saving and restoring OOBE config state
p2pService for sharing files between CrOS devices (e.g. updates)
peerdDaemon for communicating with local peers
permission_broker
policy_protoBuild file to compile policy proto file
policy_utilsTools and related library to set or override device policies
portierMulti-Network Neighbor Discovery Proxy service for Chrome OS
power_managerUserspace power management daemon and associated tools
qmi2cppChrome OS QMI IDL Compiler
regions
rendernodehostRender node forward library
run_ociMinimalistic container runtime
runtime_probeRuntime probe tool for ChromeOS
salsaTouchpad experimentation framework
screenshotTiny command to take a screenshot
sealed_storageLibrary for sealing data to device identity and state
secure-wipeSecure disk wipe
secure_erase_fileHelper tools for securely erasing files from storage (e.g. keys and PII data)
sepolicySELinux policy for Chrome OS
shillChrome OS Connection Manager
smbfsFUSE-based filesystem for accessing Samba / Windows networking shares
smbproviderDaemon for connecting Samba / Windows networking shares to the Files.app
smogcheckDeveloper library for working with raw I2C devices
st_flash
storage_infoHelper shell functions for retrieving disk information)
system_apiHeaders and .proto files etc. to be shared with chromium
thdThermal daemon to help keep systems running cool
timberslideTool for working with EC crashes for reporting purposes
touch_firmware_calibration
touch_keyboardUtilities for a touch based virtual keyboard
tpm2-simulatorA software TPM 2.0 implementation (for testing/debugging)
tpm_managerDaemon and client for managing TPM setup and operations
tpm_softclear_utilsUtilities that soft-clear TPM (for testing only)
trace_eventsA framework for adding trace events to your Rust code.
trimService to manage filesystem trim operations in the background
trunksMiddleware and resource manager for interfacing with TPM 2.0 hardware
u2fdU2FHID emulation daemon for systems with secure elements (not TPMs)
usb_bouncerTools for managing USBGuard white-lists and configuration on Chrome OS
userfeedbackVarious utilities to gather extended data for user feedback reports
userspace_touchpad
virtual_file_provider
vm_toolsUtilities for Virtual Machine (VM) orchestration
vpn-manager
webserverSmall web server with D-Bus client backends
wifi-testbedTools for creating a WiFi testbed image

AOSP Project Directory

These projects can be found here: https://chromium.googlesource.com/aosp/platform/