VALIDATE::protocol

Description

This command allows you to validate payload (traffic) to match given classification application. Returns TRUE in case of match, FALSE otherwise.
Note: the APM / AFM / PEM license is required for functionality to work.

Syntax

VALIDATE::protocol CLASSIFY_APP_NAME ANY_CHARS

Examples

when CLIENT_ACCEPTED {
  TCP::collect 32
}

when CLIENT_DATA {
  if { [VALIDATE::protocol http [TCP::payload 32] ] } {
     pool web_servers
  } else {
     pool xyz_servers
  }
  TCP::release
}