Skip to content

Conversation

@nvenka781
Copy link
Contributor

TCXB8-3707: Parental Controls blocks false positives

Reason for change: Parental control block on access with certain keywords cause false positives. User intended to block websites like matchweed.com, catchherb.co with keyword "thc", "bc". Along with these, any url with substring "thc" also gets blocked.

Change: Keyword search is done on the full string with kmp algorithm. Since no limit is mentioned, the default of 65535 is considered as upper limit of packet payload size for kmp algorithm search. This is restricted to have an upper limit of upto 128 bytes for keyword search. Also, search is limited to the host part of the url for keyword match instead of full url match.

Recommendation to user: Avoid very short generic query keywords for blocking

Test Procedure: Validate IPTV playback

Priority: P1

Risks: None

Signed-off-by: nagalakshmi_venkataraman@comcast.com

Reason for change: Parental control block on access with certain
keywords cause false positives. User intended to block websites
like matchweed.com, catchherb.co with keyword "thc", "bc".
Along with these, any url with substring "thc" also gets blocked.

Change: Keyword search is done on the full string with kmp
algorithm. Since no limit is mentioned, the default of 65535 is
considered as upper limit of packet payload size for kmp
algorithm search. This is restricted to have an upper limit of
upto 128 bytes for keyword search. Also, search is limited to the
host part of the url for keyword match instead of full url match.

Recommendation to user: Avoid very short generic query keywords
for blocking

Test Procedure: Validate IPTV playback

Priority: P1

Risks: None

Signed-off-by: nagalakshmi_venkataraman@comcast.com
@nvenka781 nvenka781 requested review from a team as code owners October 20, 2025 21:14
@rdkcmf-jenkins
Copy link
Contributor

b'## Blackduck scan failure details

Summary: 0 violations, 0 files pending approval, 1 file pending identification.

  • Protex Server Path: /home/blackduck/github/utopia/106/rdkb/components/opensource/ccsp/Utopia

  • Commit: a4881de

Report detail: gist'

@rdkcmf-jenkins
Copy link
Contributor

b'## WARNING: A Blackduck scan failure has been waived

A prior failure has been upvoted

  • Upvote reason: OK

  • Commit: a4881de
    '

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants