mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-07 01:55:20 +00:00
a73ffad3bf
Co-Authored-By: Teddy Reed <teddy@casualhacking.io>
20 lines
760 B
Plaintext
20 lines
760 B
Plaintext
table_name("routes")
|
|
description("The active route table for the host system.")
|
|
schema([
|
|
Column("destination", TEXT, "Destination IP address"),
|
|
Column("netmask", INTEGER, "Netmask length"),
|
|
Column("gateway", TEXT, "Route gateway"),
|
|
Column("source", TEXT, "Route source"),
|
|
Column("flags", INTEGER, "Flags to describe route"),
|
|
Column("interface", TEXT, "Route local interface"),
|
|
Column("mtu", INTEGER, "Maximum Transmission Unit for the route"),
|
|
Column("metric", INTEGER, "Cost of route. Lowest is preferred"),
|
|
Column("type", TEXT, "Type of route", additional=True),
|
|
])
|
|
|
|
extended_schema(POSIX, [
|
|
Column("hopcount", INTEGER, "Max hops expected"),
|
|
])
|
|
attributes(cacheable=True)
|
|
implementation("networking/routes@genRoutes")
|