Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Amir_Rehman
Contributor

Custom Application Control (Check Point Signature Tool)

Hello There,

I am trying to create a custom app to block keywords  based on HTML page content. I have created the one (below screenshot) to block a keyword "Momo" in the body. 

It works for http sites  and as well as Https sites with https inspection enabled.

The problem is that it produces a lot of false positives. It blocks almost every site with https inspection enabled. Does anybody know if the app needs more fields or customization in http scenario (screen shot 2 ).

0 Kudos
1 Reply
G_W_Albrecht
Legend
Legend

That is rather easy - you are using the regular expression [momo] that will match every single little m character in source html! You can see that here: Online regex tester and debugger: PHP, PCRE, Python, Golang and JavaScript 

Look at my tests:

RegEx is RegEx - has been discussed here already, e.g. URL Filtering Policy

CCSE CCTE CCSM SMB Specialist
0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    Tue 23 Apr 2024 @ 11:00 AM (EDT)

    East US: What's New in R82

    Thu 25 Apr 2024 @ 11:00 AM (SGT)

    APAC: CPX 2024 Recap

    Tue 30 Apr 2024 @ 03:00 PM (CDT)

    EMEA: CPX 2024 Recap

    Thu 02 May 2024 @ 11:00 AM (SGT)

    APAC: What's new in R82

    Tue 23 Apr 2024 @ 11:00 AM (EDT)

    East US: What's New in R82

    Thu 25 Apr 2024 @ 11:00 AM (SGT)

    APAC: CPX 2024 Recap

    Tue 30 Apr 2024 @ 03:00 PM (CDT)

    EMEA: CPX 2024 Recap

    Thu 02 May 2024 @ 11:00 AM (SGT)

    APAC: What's new in R82
    CheckMates Events