Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
gonianiwa
Explorer

Rule to block request if url contains IP address

Hello,

 

I would like to block all request at checkpoint when user will use directly IP address to access websites. As i read about it, it requires to write proper regex for it, i tried to use the following regex, but checkpoint did not accept it.

 

[0-9]+\.[0-9]+\.[0-9]+\.[0-9]

0 Kudos
1 Reply
Nick_Doropoulos
Advisor

Hello,

Please try the following reg instead and advise results:

\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}

It should match any IPv4 address.

I hope this helps.

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

    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