-- " # Define your logging outputs. outputs: - console: enabled: yes - file: enabled: yes filename: {$suricatalogdir}suricata_{$if_real}{$suricata_uuid}/suricata.log - syslog: enabled: {$suricata_use_syslog} facility: {$suricata_use_syslog_facility} format: "[%i] <%d> -- " pcap: - interface: {$if_real} checksum-checks: auto promisc: {$intf_promisc_mode} # For FreeBSD ipfw(8) divert(4) support. # ipfw add 100 divert 8000 ip from any to any # # The 8000 above should be the same number you passed on the command # line, i.e. -d 8000 # #ipfw: default-rule-path: {$suricatacfgdir}/rules rule-files: - {$rules_files} classification-file: {$suricatacfgdir}/classification.config reference-config-file: {$suricatacfgdir}/reference.config # Holds variables that would be used by the engine. vars: # Holds the address group vars that would be passed in a Signature. address-groups: HOME_NET: "[{$home_net}]" EXTERNAL_NET: "{$external_net}" {$addr_vars} # Holds the port group vars that would be passed in a Signature. port-groups: {$port_vars} # Set the order of alerts based on actions action-order: - pass - drop - reject - alert {$iprep_config} # Limit for the maximum number of asn1 frames to decode (default 256) asn1-max-frames: {$asn1_max_frames} engine-analysis: rules-fast-pattern: yes rules: yes #recursion and match limits for PCRE where supported pcre: match-limit: 3500 match-limit-recursion: 1500 # Holds details on the app-layer. The protocols section details each protocol. app-layer: protocols: tls: enabled: {$tls_parser} detection-ports: dp: 443 #no-reassemble: yes dcerpc: enabled: {$dcerpc_parser} ftp: enabled: {$ftp_parser} ssh: enabled: {$ssh_parser} smtp: enabled: {$smtp_parser} imap: enabled: {$imap_parser} msn: enabled: {$msn_parser} smb: enabled: {$smb_parser} detection-ports: dp: 139 dns: global-memcap: {$dns_global_memcap} state-memcap: {$dns_state_memcap} request-flood: {$dns_request_flood_limit} tcp: enabled: {$dns_parser_tcp} detection-ports: dp: 53 udp: enabled: {$dns_parser_udp} detection-ports: dp: 53 http: enabled: {$http_parser} memcap: {$http_parser_memcap} ########################################################################### # Configure libhtp. libhtp: default-config: {$http_hosts_default_policy} {$http_hosts_policy} coredump: max-dump: unlimited EOD; ?>