Technical Forum
Ask questions. Discover Answers.
cancel
Showing results for 
Search instead for 
Did you mean: 
Custom Alert Banner

ASM Custom Blocking page - Variables

HG
Cirrus
Cirrus

Hi all, I would like to ask you a question regarding ASM blocking page and variables that can be used in order to present a more extensive content.I know that <%TS.request.ID()%> variable can be used in order to present the support ID to the client.Is there any way to include more variables such as source IP address or XFF header on the html response page ? For example:The requested URL was rejected.Your support ID is: <%TS.request.ID()%>. Your IP is :<%TS.remote-ip-address.ID()%>. I'm using version 13.1.0. Any help would be appreciated. Thanks

 

5 REPLIES 5

Patric
Altostratus
Altostratus

Hi,

 

Asking same again. It here other variables to use for TS?

Abed_AL-R
Cirrostratus
Cirrostratus

Asking for the same

it is possible via irule check the beow KB

https://support.f5.com/csp/article/K22017023

I tried this one but got some problems. I created a question regarding this irule:

https://devcentral.f5.com/s/question/0D51T00007ns7EJSAY/asmrequestblocking-not-being-triggered-in-irule?tab=My+Questions&page=1

Rafi1
Cirrus
Cirrus

Hi,

facing same issue, is there away to add to the custom response page the blocking url and source ip ?

 Tried <%TS.remote-ip-address.ID()%> but its not working for me (version 14.1.4)

Regards

Rafi