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 Applications in Flow

The following example determines whether an application is in an application path.

function Flow_HasApplication (dpiMsg, ruleEngine) require 'LOG' -- Application Path example: /tcp/http/skype local application = 'http' if (HasApplication(dpiMsg, application)) then local content = GetContent(dpiMsg, application) if (content ~= '') then EZINFO('Http Content Found: ' .. content) end endend