20-Jun-2023 21:51
Hi;
I have implemented a https virtual server with adapt request profile for icap scanning purposes.
My intention is to return a custom response page upon finding a virus and my understandig also that this can be done using an i-rule attached to the https virtual server.
My question is there an i-rule for this purpose that you can share with me. The intention is to have it include HTML that I will modify myself.
Kindly
Wasfi
Solved! Go to Solution.
21-Jun-2023 00:54 - edited 21-Jun-2023 00:57
Hi @Wasfi_Bounni ,
I think irules in the below links may help you:
Niels_van_Sluis's one
https://community.f5.com/t5/technical-forum/icap-with-irule-response-page-without-asm/td-p/221613
If it doesn't work with you , use this even (when ICAP_RESPONSE)
instead of when ADAPT_REQUEST_RESULT
and use if condition , to match on any string or data coming from ICAP server after Virus detected.
Or Navigate this discussion as well :
https://community.f5.com/t5/technical-forum/is-it-possible-to-insert-http-payload-in-an-icap-reply-o...
Like these irules much tricky 😃
21-Jun-2023 00:54 - edited 21-Jun-2023 00:57
Hi @Wasfi_Bounni ,
I think irules in the below links may help you:
Niels_van_Sluis's one
https://community.f5.com/t5/technical-forum/icap-with-irule-response-page-without-asm/td-p/221613
If it doesn't work with you , use this even (when ICAP_RESPONSE)
instead of when ADAPT_REQUEST_RESULT
and use if condition , to match on any string or data coming from ICAP server after Virus detected.
Or Navigate this discussion as well :
https://community.f5.com/t5/technical-forum/is-it-possible-to-insert-http-payload-in-an-icap-reply-o...
Like these irules much tricky 😃
23-Jun-2023 04:28
Thank you Mohamed.
23-Jun-2023 04:32
you're most welcome @Wasfi_Bounni 🙂