cancel
Showing results for 
Search instead for 
Did you mean: 

Regexp in Stingray Traffic Manager (Web application firewall module)

SOLVED
nicholas_2
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

1 ACCEPTED SOLUTION

Accepted Solutions
nicholas_2
Occasional Contributor

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

Already have found

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

View solution in original post

6 REPLIES 6
christian.treutler
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

nicholas_2
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+]+$

nicholas_2
Occasional Contributor

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

Already have found

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

aclarke
Frequent Contributor

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.

--
Aidan Clarke
Pulse Secure vADC Product Manager
nicholas_2
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

aclarke
Frequent Contributor

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.

--
Aidan Clarke
Pulse Secure vADC Product Manager