5.0.6 5.0.5 5.0.4 5.0.3 5.0.2 5.0.1 5.0.0
5.0.6 5.0.5 5.0.4 5.0.3 5.0.2 5.0.1 5.0.0

Detect TLS Version

The following example triggers alarms when the TLS version is detected for applications that contain SSL in their application path.

function Flow_DetectTlsVersion (dpiMsg, ruleEngine)-- rule content if HasApplication(dpiMsg, "ssl") then local tlsVersion = GetTlsVersion(dpiMsg); if (tlsVersion ~= nil or tlsVersion ~= '') then TriggerUserAlarm(dpiMsg, ruleEngine, "low") end endend