osquery-1/specs/routes.table

16 lines
656 B
Plaintext
Raw Normal View History

table_name("routes")
2015-03-24 20:31:25 +00:00
description("The active route table for the host system.")
schema([
Column("destination", TEXT, "Destination IP address"),
Column("netmask", TEXT, "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"),
])
attributes(cachable=True)
implementation("networking/routes@genRoutes")