Forum Discussion
Bill_Baker
Nimbostratus
Jun 28, 2016iRule with Performance (layer 4) and protocols set to "all"
So I have an LDAP VIP set as Performance (layer 4) and protocols set to "all" listening on all ports.
I've been asked for stats on client IP addresses. I've done request logging in iRules befor...
bwolmarans_1284
Jun 28, 2016Historic F5 Account
yes, I think so.
irule:
when CLIENT_ACCEPTED {
log [IP::client_addr]
}
config:
ltm virtual /Common/l4_devcentral_test {
destination /Common/10.10.20.174:0
mask 255.255.255.255
pool /Common/http_pool
profiles {
/Common/fastL4 { }
}
rules {
/Common/l4_devcentral_test
}
source 0.0.0.0/0
source-address-translation {
type automap
}
translate-address enabled
translate-port disabled
}
Bill_Baker
Nimbostratus
Jul 06, 2016Thanks. I'm actually looking for server side data as well. Which port is the client hitting as well. That's the part I'm not so sure about. If I'm looking for a port, I'm pretty sure I have to either look for TCP::local_port, or UDP::local_port.
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