vADC Forum

Reply
Occasional Contributor
Posts: 5
Registered: ‎03-26-2013
Accepted Solution

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

Moderator
Posts: 31
Registered: ‎01-15-2013

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
Posts: 5
Registered: ‎03-26-2013

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
Posts: 5
Registered: ‎03-26-2013

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

Already have found

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

Brocadian
Posts: 232
Registered: ‎11-29-2012

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
Posts: 5
Registered: ‎03-26-2013

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

Brocadian
Posts: 232
Registered: ‎11-29-2012

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.

Join the Community

Get quick and easy access to valuable resource designed to help you manage your Brocade Network.

Download FREE NVMe eBook