Forum Discussion
Abraham_126135
Nimbostratus
Nov 13, 2014iRule to block\reject connections from Lync client
We have a VIP intended to for Sharepoint but would like to reject connections that are coming from MS Lync clients. It's causing our Lync clients to re-authenticate over and over due to 2FA that's se...
Cthulhucalling_
Cirrus
Nov 14, 2014That way will work. The switch statement may make things simpler and faster.
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::header "User-Agent"]]
"microsoft lync*" -
"microsoft outlook*" {
log local0.info "Client IP:[IP::client_addr] has been blocked with user agent :[HTTP::header User-Agent]
drop
}
default {
log local0.debug "Client IP:[IP::client_addr] attempt with user agent :[HTTP::header User-Agent] successful"
}
}
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
