pattern match for less than 7 byte application

Reply
L0 Member

pattern match for less than 7 byte application

Hello all,

 

we are trying to implement user-Agent feature that's exist in MWG proxy. on attched wireshark capture screen shot "wget" user agent has only 4 bytes. do you have work around to make signature equal to 7 bytes. 

I also attached screen shot erro from Palo

L4 Transporter

Re: pattern match for less than 7 byte application

It would be something like this:

 

User-Agent: Wget/[0-9]\.[0-20]\.[0-9]

 

I am not sure how many versions of Wget there are.

User-Agent: Wget/1.13.4 may be the only one you need.

If you have higher versions, use the RegEx listed at the beginning of my message.

 

 

L0 Member

Re: pattern match for less than 7 byte application

I got attached error message. I do not think palo allow backets 

L4 Transporter

Re: pattern match for less than 7 byte application

Brackets are allowed.  We just did not have the 7 bytes yet.

 

I just created this one on my FW

 

User-Agent: Wget/[0-9]\.[0-20]\.[0-9]

 

Give a go and let me know.

 

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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 Live Community as a whole!

The Live Community thanks you for your participation!