Forum Discussion

HG's avatar
HG
Icon for Cirrus rankCirrus
Jun 08, 2018

ASM Custom Blocking page - Variables

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

  • Hi,

     

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

    • ragunath154's avatar
      ragunath154
      Icon for Cirrostratus rankCirrostratus

      it is possible via irule check the beow KB

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

      • Abed_AL-R's avatar
        Abed_AL-R
        Icon for Cirrostratus rankCirrostratus

        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

  • 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