Forum Discussion
player_72606
Nimbostratus
Apr 15, 2008FilterURI to Source IP
Hi,
I need to config an "Access-list" to permit a specific source-address to a specific uri for web-application management.
Other traffic to this uri from other source address shou...
Nicolas_Menant
Employee
Apr 15, 2008First some parse error message would be welcome ^^
You can find those in /var/log/ltm
Then your braces, brackets are not places properly
when HTTP_REQUEST {
if {[HTTP::uri] contains "GIBWeb/Screens/manage/mlogin.aspx"} {
if {[matchclass [IP::client_addr] equals $::web_mng]} {
log local0.info "Allowed client to uri: [IP::client_addr] requesting: [HTTP::uri]"
} else {
log local0. "Invalid client IP: [IP::client_addr] - discarding"
discard
}
}
}
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