Forum Discussion
Thanushka_Wije1
Nimbostratus
Feb 10, 2018Http header
Hi
There is a requirment to write an iRule for below
To capture HTTP header of each request and only allow them if it has valid DNS header host section
Will below work?
Data-Gro...
Thanushka_Wije1
Nimbostratus
Feb 10, 2018Unfortunately below iRule is not executing and generating TCL errors
when HTTP_REQUEST { if { [class match [HTTP::host] equals $::Valid_DNS] } {
accept } else { drop }
} My requirement is to mitigate host header redirection attacks (HTTP redirection protection), I'm running on 11.6.2 HF1, unfortunately not having ASM licence.
Any idea how can I achieve above using data-group and irule.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects