Forum Discussion
Multiple Dos Profiles to single virtual server
dears
i need a way to choose multi dos profiles to single virtual server according to user agent
as ex: if user agent mobile dos profile if
when HTTP_REQUEST {
if {[set ua [string tolower [HTTP::header User-Agent]]] contains "iphone" || $ua contains "ipad" || $ua contains "android"} {
#This client is an iPhone, iPad or an Android device
choose dos profile with specific configuration
and if browser choose another dos profile with specific configuration
how can i create this one
Hi mohamedhussien,
iRule:
when HTTP_REQUEST { switch -glob [string tolower [HTTP::header User-Agent]] { "*iphone*" - "*ipad* " - "*android* " { DOSL7::enable dospolicy1 } default { DOSL7::enable dospolicy2 } } }
https://clouddocs.f5.com/api/irules/DOSL7__enable.html
LTM Policy:
- DanielziAltostratus
Hi
i have configure L7dos 2 profile for each geo location and it's working fine but when I attached rule with l7dos attack in to create log its not working
only when only one dos profile attached without ltm policy
I need also the irule for record the ip of suspicious ip from other geo location and send to hsl remote syslog because in geo location only with irule its showed the ip of the country trigger
the irule trigger feature in dos profiles enabled
If there is any solution for this combination
thanks
- mohamedhussienNimbostratus
hello thanks for your reply you mean that i can use only irule or using only ltm policy or both if available can you give me ltm policy detailed
mohamedhussien - If your post was solved it would be helpful to the community to select *Accept As Solution*.
Thanks for being part of our community.
Recent Discussions
Related Content
* 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