Forum Discussion
atomicdog_7107
Mar 24, 2012Nimbostratus
Does anyone know why this wouldn't work?
Hey guys I'm trying to create an iRule to log when a specific source port hits a VS... this is what I've created.
when CLIENT_ACCEPTED {
if {[IP::addr[TCP::client_port] equals "...
richard_77048
Mar 25, 2012Nimbostratus
It seems to work for me. I guess I should have asked what version you were using. I'd be surprised if that made a difference here but you never know.
when CLIENT_ACCEPTED {
if { [TCP::client_port] equals "49562" } {
log local0.debug "client: [IP::client_addr]:[TCP::client_port]"
}
}
Mar 25 02:08:12 local/tmm debug tmm[7030]: Rule TEST-source-port-RULE : client: xx.xx.xxx.xx:49562
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