cancel
Showing results for 
Search instead for 
Did you mean: 

Regexp in Stingray Traffic Manager (Web application firewall module)

SOLVED
Highlighted
Occasional Contributor

Regexp in Stingray Traffic Manager (Web application firewall module)

Hi ALL,

does somebody have info about what type of regexp are using in this product (Stingray Traffic Manager (Web application firewall module))?

Need to perform multiline matching in whitelist exceptions.

Thanks in advance

6 REPLIES
New Contributor

Re: Regexp in Stingray Traffic Manager (Web application firewall module)

Hallo Mykola.

The SAF module uses Python regex'.


Can you explain in more detail, what you want to match on?

Thank you

Best regards

Christian

Occasional Contributor

Re: Regexp in Stingray Traffic Manager (Web application firewall module)

Hi Chris,

need to perform matching using whitelist handler in WAF (Traffic Manager).

Value of one of form fields has multiline format, aka

^Value=dfsfgfdasfasdf

asfasdfdas

asdfdasfdfadsf

afasdfadsfadsfas=&

Need to match this pattern but verify for presence of correct symbols A-Z0-9 etc.

For example:

^Value=[A-Z0-9+]+$

Occasional Contributor

Re: Regexp in Stingray Traffic Manager (Web application firewall module)

Already have found

(?m)^Value=[a-zA-Z0-9+\n]{n,m}$

Moderator

Re: Regexp in Stingray Traffic Manager (Web application firewall module)

Mykola,

     It would be great if you added your regex to this document here: Useful Regular Expressions.  I am happy to add it if you are happy for me to.

--

Aidan.

Occasional Contributor

Re: Regexp in Stingray Traffic Manager (Web application firewall module)

Aidan,

please. i think i haven't sufficient rights to add this to proposed post: Useful Regular Expressions.

Thanks

Moderator

Re: Regexp in Stingray Traffic Manager (Web application firewall module)

Mykola,

     I have added you to the document so you should now be able to edit it.

This has raised a larger question about document editing.  I am trying to find out how to make documents openly editable..

--

A.