Specify detection criteria in advanced detectors

Upload a custom .lua file to specify detection criteria for advanced custom application detectors.

Caution
  • Advanced custom detectors are complex and require outside knowledge to construct valid .lua files. Incorrectly configured detectors could have a negative impact on performance or detection capability.

  • Do not upload .lua files from untrusted sources.

Custom .lua files contain your custom application detector settings. Creating custom .lua files requires advanced knowledge of the lua programming language and experience with Cisco's C-lua API. Cisco strongly recommends you use these references to prepare .lua files:

Note

The system does not support .lua files that reference system calls or file I/O.

Before you begin

  • Begin configuring your custom application protocol detector as described in Configure custom application detectors.

  • Prepare to create a valid .lua file by downloading and studying the .lua files for comparable detectors. For more information about downloading detector files, refer to View or download detector details.

  • Create a valid .lua file that contains your custom application detector settings.

Follow these steps to specify detection criteria in advanced detectors:

Procedure


Step 1

On the Create Detector page for an advanced custom application detector, in the Detection Criteria section, click Add.

Step 2

Click Browse... to navigate to the .lua file and upload it.

Step 3

Click OK.


The .lua file is uploaded and the detection criteria are specified for your advanced custom application detector.

What to do next

Continue configuring your custom application protocol detector as described in Configure custom application detectors. You must save and activate the detector before the system can use it to analyze traffic.