Forum Discussion
Ernest_Engstrom
Nimbostratus
Oct 11, 2013Irule question - Finally sunsetting our v4 LTM
I need help rewriting this logging irule (from our v4 LTM). NOTE: the new LTM is currently running 10.0.4.
if (client_addr == 0.0.0.0 netmask 255.255.255.0) { discard } else { log local0.info "TCP connection from: [${client_addr}]:[${client_port}]" log local0.info " to [${server_addr}]:[${server_port}]" use pool dss_int_a }
Thanks in advance.
1 Reply
- Kevin_Stewart
Employee
This should probably work for you:
when CLIENT_ACCEPTED { if { [IP::addr [IP::client_addr] equals "0.0.0.0/24"] } { discard } else { log local0.info "TCP connection from: [IP::client_addr]:[TCP::client_port]" log local0.info " to [IP::server_addr]:[TCP::server_port]" pool dss_int_a } }
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