Skip to main content
Skip table of contents

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)
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.