Hey DeepSeek, can you write iRules?
Revisiting my article from 2 years ago, I asked the same question to DeepSeek and gave it the same tasks that I gave ChatGPT back then.
Can you share irule for task 5 :)
very useful to send system to check the servers and not ask security engineer why there block page of asm
thanks
Hi Danielzi,
what should the iRule do? Show different ASM blocking pages based on different host name header?
Or show the violation data / blocking reason too?
KR
Daniel
- DanielziFeb 22, 2025
Altocumulus
Different blocking page for status response code 500+
- Daniel_WolfFeb 27, 2025
MVP
Hi Danielzi,
I'm travelling this week, I can write you such iRule when I'm back home. However, I would be very cautious with 500+ HTTP status code pages. They might give attackers valuable information about the stack and frameworks used in your app. Like PHP version or DB server type.
KR
Daniel- DanielziFeb 27, 2025
Altocumulus
Hi
Yes, you are right, but I don’t want to display the error code. I just want to show a different error page than the custom error page I currently have so that I can immediately notify the system administrators that it’s a server issue and not a blockage due to an illegal request.