Forum Discussion
vikas_goel_1813
Nimbostratus
May 09, 2018How to block embedded IP in http header
I have virtual server which is getting lot of traffic from malicious IP. We are doing X-forwarder on that virtual server. IP is embedded into http header . I need to block embedded IP and continue se...
vikas_goel_1813
Nimbostratus
May 10, 2018I have figured the irule from another post and its working fine
when HTTP_REQUEST { foreach axff [HTTP::header values X-MS-Forwarded-Client-IP] { foreach anip [split [string map {" " ""} $axff] ","] { if { [class match -- $anip equals DG-Group-NAME] } { log local0. "$anip is rejected" reject return } } } }
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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