- CheckMates
- :
- Products
- :
- Quantum
- :
- Management
- :
- Re: Regex Policy Installation Issue
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Are you a member of CheckMates?
×- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Regex Policy Installation Issue
I have an R80.10 installation and I'm attempting to allow access to opendns. Given that at times there is a name pre-pended to the url of opendns I created the following Regex: [\w:\/\/][\w][-]opendns\.com
When I have this regex defined, used in policy or not, I cannot install policy (error below):
Gateway:
Policy: Standard
Status: Failed
- Policy installation failed on gateway. If the problem persists contact Check Point support (Error code: 0-2000178).
--------------------------------------------------------------------------------
I remove the regex and things function as expected.
Is there a strict regex format necessary for constructing these??
- Labels:
-
Policy Installation
-
SmartConsole
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try this format:
(.*\.|)opendns.com
This allows matching of any text in the third, fourth, fifth etc level of the name like:
-Jason
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Either try this regex: .*opendns\.com.*
or this without regex: *opendns.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tried both those and doesn't match.
Sent from my iPhone
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try this format:
(.*\.|)opendns.com
This allows matching of any text in the third, fourth, fifth etc level of the name like:
-Jason
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Kudos to you Jason - that worked like a charm!!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can refer the sk121802, you may have to change the url "[\w:\/\/][\w][-]opendns\.com" and use
"[\w:\/\/][\w][\-]opendns\.com" for this to work.
@Jason, Thanks for the format.
