Forum Discussion
F5_Jeff
Nov 28, 2018Cirrus
irule for SMTP
Hi Everyone,
we have an ongoing testing and this is the irule that we currently have.
when CLIENT_ACCEPTED {
log local0. "Client_ACCEPTED_HIT: IP address:[IP::client_addr]"
TCP::respond...
F5_Jeff
Nov 29, 2018Cirrus
for better viewing of the iRule:
when CLIENT_ACCEPTED {
log local0. "Client_ACCEPTED_HIT: IP address:[IP::client_addr]"
TCP::respond "220\r\n"
TCP::collect
}
when CLIENT_DATA {
log local0. "Client_DATA_HIT: IP address:[IP::client_addr] Data: [TCP::payload]"
if { [TCP::payload] contains "gmail.com" } {
pool testtesttest
log local0. "cdata_FOUND: IP address:[IP::client_addr] Dest IP:[server_addr]:[server_port] Data: [TCP::payload]"
}
TCP::release
TCP::collect
}
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