Project

General

Profile

Actions

Bug #2091

open

nonexistent/misspelled custom fields accepted during parsing of suricata.yaml

Added by Peter Manev over 8 years ago. Updated 2 days ago.

Status:
New
Priority:
Normal
Assignee:
Target version:
Affected Versions:
Effort:
Difficulty:
Label:
Beginner, C, Good First Issue

Description

This is Suricata version 4.0dev (rev 9ff8882)

If there is misspelled or nonexistent custom field in eve.json's section Suricata would not error out/warn on start - example:


        - http:
            custom: [accept, accept-charset, accept-encoding, accept-language,
            proxy-authenticate, referrer, refresh, retry-after, server,
            set-cookie, trailer, transfer-encoding, upgrade, vary, warning,
            www-authenticate, mychemicalromance]
        - smtp:
            custom: [received, sensitivity, organization, content-md5, date, mychemicalromance]


Related issues 2 (1 open1 closed)

Related to Suricata - Optimization #7189: http/conf: warn or error on invalid value in custom headers loggingRejectedCommunity TicketActions
Related to Suricata - Bug #4330: file hash parameter in yaml accepts non valid valuesNewPooja GadigeActions
Actions

Also available in: Atom PDF