From 0a9a98bc6b956b6e5829fd6c7ce40252a8ed21ac Mon Sep 17 00:00:00 2001 From: "Kadiyala, Jayasri" Date: Mon, 11 May 2026 20:02:25 -0700 Subject: [PATCH] docs: add FlushConntrackTable parameter to reference documentation Updated tr181-matrix.md, api-reference.md, and feature-catalog.md to include the new FlushConntrackTable TR-181 parameter added in PR #76. Relates to #75 --- docs/reference/api-reference.md | 1 + docs/reference/feature-catalog.md | 2 +- docs/reference/tr181-matrix.md | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/reference/api-reference.md b/docs/reference/api-reference.md index 161a61a..d7158a3 100644 --- a/docs/reference/api-reference.md +++ b/docs/reference/api-reference.md @@ -169,6 +169,7 @@ All follow the pattern: persist to syscfg → check DeviceFingerPrint active → | `CosaRabidSetMacCacheSize(value)` | Set Rabid MAC cache (max: 32768) | | `CosaRabidSetDNSCacheSize(value)` | Set Rabid DNS cache (max: 32768) | | `CosaAdvSecFetchSbConfig(param, ...)` | Fetch SafeBrowsing config from `/tmp/safebro.json` | +| `CosaAdvSecFlushConntrackTable()` | Flush connection tracking table via `conntrack -F` | ## 6. Syscfg Utility APIs diff --git a/docs/reference/feature-catalog.md b/docs/reference/feature-catalog.md index 3b2426d..90914d6 100644 --- a/docs/reference/feature-catalog.md +++ b/docs/reference/feature-catalog.md @@ -24,7 +24,7 @@ This catalog documents all security feature modules, their RFC toggle dependenci ### Identity - **TR-181**: `Device.DeviceInfo.X_RDKCENTRAL-COM_DeviceFingerPrint` -- **Parameters**: `Enable` (bool), `LoggingPeriod` (uint), `EndpointURL` (string), `LogLevel` (uint) +- **Parameters**: `Enable` (bool), `LoggingPeriod` (uint), `EndpointURL` (string), `LogLevel` (uint), `FlushConntrackTable` (bool, trigger) - **syscfg**: `Advsecurity_DeviceFingerPrint` - **Init/DeInit**: `CosaAdvSecInit()` / `CosaAdvSecDeInit()` - **Script**: `start_adv_security.sh -enable` / `-disable` diff --git a/docs/reference/tr181-matrix.md b/docs/reference/tr181-matrix.md index 031bef9..ad16d09 100644 --- a/docs/reference/tr181-matrix.md +++ b/docs/reference/tr181-matrix.md @@ -18,6 +18,7 @@ This matrix maps all `Device.DeviceInfo.X_RDKCENTRAL-COM_*` ownership areas to i | `X_RDKCENTRAL-COM_DeviceFingerPrint.LoggingPeriod` | Telemetry logging interval (seconds) | `DeviceFingerPrint_SetParamUlongValue` | `CosaAdvSecSetLoggingPeriod()` | `Advsecurity_LoggingPeriod` | — | | `X_RDKCENTRAL-COM_DeviceFingerPrint.EndpointURL` | Cloud endpoint URL (HTTPS only) | `DeviceFingerPrint_SetParamStringValue` | URL validated by `isValidUrl()` | `Advsecurity_CustomEndpointURL` | — | | `X_RDKCENTRAL-COM_DeviceFingerPrint.LogLevel` | Agent log level | `DeviceFingerPrint_SetParamUlongValue` | `CosaAdvSecSetLogLevel()` | `Advsecurity_LogLevel` | — | +| `X_RDKCENTRAL-COM_DeviceFingerPrint.FlushConntrackTable` | Trigger to flush connection tracking table (always reads FALSE) | `DeviceFingerPrint_SetParamBoolValue` | `CosaAdvSecFlushConntrackTable()` | — (trigger, no persistence) | — | ### AdvancedSecurity.SafeBrowsing Parameters