SonicOS 7.0 Objects

Adding Match Objects

To add a match object

  1. Navigate to the OBJECT | Match Objects > Match Objects.
  2. Click the Add icon.

  3. Enter a descriptive Object Name.
  4. Select a Match Object Type and Match Type from respective drop-down menus. For more information about description of match object type, refer to Supported Match Object Types.

    If the Match Type is Regex Match, you can select one of the predefined regular expressions and click the type to add it to the List. For more information, refer to Regular Expressions.

    You can also type a custom regular expression into the Content field and click Add icon to add it to the List.

  5. Select the Input representation.

    • Alphanumeric to match a text pattern
    • Hexadecimal to match binary content

      You can use a hex editor or a network protocol analyzer like Wireshark to obtain hex format for binary files.

      For more information about these tools, refer to the Wireshark and Hex Editor.

  6. Add the object Content in one of the following ways:

    • Enter a pattern to match in the Content field and click the Add icon.

      The content appears in the List field.

      You can add multiple entries to create a list of Content elements to match. All content that you provide in a match object is case-insensitive for matching purposes.

    • Click Load From File icon and import a list of elements from a text file.

      Each element in the file must be on a line by itself.

    Multiple entries, either from a text file or entered manually, are displayed in the List. List entries are matched using the logical OR, so if any item in the list is matched, the action for the policy is executed.

    A match object can include a total of not more than 8000 characters. If each element within a match object contains approximately 30 characters, you can enter about 260 elements. The maximum element size is 8000 bytes.

  7. Click Save.

    New objectis created and listed on the OBJECT | Match Objects >Match Objects page with an object type of Application List. You can select this object while creating an App Rules policy or an App Based Route policy.

Was This Article Helpful?

Help us to improve our support portal

Techdocs Article Helpful form

  • Hidden
  • Hidden

Techdocs Article NOT Helpful form

  • Still can't find what you're looking for? Try our knowledge base or ask our community for more help.
  • Hidden
  • Hidden