Forum Discussion
Ryo_30997
Jan 19, 2012Nimbostratus
OneConnect with iRule
I am currently trying to set up OneConnect with iRules.
In case not want to apply OneConnect, which commands should be used as follows?
- detach enable
- deta...
hooleylist
Jan 23, 2012Cirrostratus
Can you add some debug logging, retest and reply with the logs from /var/log/ltm?
when CLIENT_ACCEPTED {
TCP::collect
}
when CLIENT_DATA {
if {[TCP::payload] contains "XXXX" } {
ONECONNECT::reuse disable
log local0. "[IP::client_addr]:[TCP::client_port]: Disabling OneConnect reuse"
} else {
ONECONNECT::reuse enable
log local0. "[IP::client_addr]:[TCP::client_port]: Enabling OneConnect reuse"
}
TCP::release
}
when LB_SELECTED {
log local0. "[IP::client_addr]:[TCP::client_port]: Selected [LB::server]"
}
when SERVER_CONNECTED {
log local0. "[IP::client_addr]:[TCP::client_port]: New connection to [IP::server_addr]:[TCP::server_port]"
}
when SERVER_CLOSED {
log local0. "[IP::client_addr]:[TCP::client_port]: Closed connection to [IP::server_addr]:[TCP::server_port]"
}
Aaron
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