- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
03-14-2013 06:01 AM
Hi, use a custom URL category to achieve this
"Objects" tab, > "Custom URL Category" to create it.
You can match entire domains or use wildcards if you need.
03-14-2013 06:28 AM
I need wildcard but dont know how to write it for this case - looking for a word somewhere inside the domain
Thank you for help
03-14-2013 06:41 AM
Well in this case you can create a custom application signature with a simple regex containing any words you like.
For example, you can match the context "http-req-host-header" with the required regex to filter on domain names.
Please also have a look at https://live.paloaltonetworks.com/docs/DOC-1499 if it can help you.
03-14-2013 07:39 AM
I tried to create signature butI cannot commit it because word is shorter than 7 letters. Is there any workaround?
03-14-2013 07:46 AM
Yes, the match engine requires at least 7 consecutive bytes for filters.
What does your filter look like at the moment ?
03-14-2013 07:54 AM
at this moment I only try to solve requirement, I created test rule with signature as you propose. In pattern field I wrote .*(xxxxxx)
(xxxxxx is word I have to block in all web requests)
03-14-2013 12:23 PM
any idea, how to solve it?
many thanks
03-15-2013 01:26 AM
As explained by Mikand here : https://live.paloaltonetworks.com/message/25100#25100
You can add wildcards at the beginning and/or the end of an expression to get past the 7-bytes limitation
03-15-2013 02:44 AM
hmm, I tried to type .*xxxxxx.* into the field pattern but again - Operation failed
-> signature -> test -> and-condition -> And Condition 1 -> or-condition -> Or Condition 5 -> operator -> pattern-match -> pattern '.*xxxxxx.*' is invalid. pattern must be at least 7 bytes
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!