You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
suricata/src
Jeff Lucovsky cd7f7751d5 suricata: bound stack trace formatting in signal handler
The crash handler built its stack trace by advancing a pointer with
the snprintf return value. That value is the length the output would
have had, not what was written, so once the trace filled msg the
pointer moved past the end of the buffer. Every size argument after
that, SC_LOG_MAX_LOG_MSG_LEN - (temp - msg), was negative and
converted to a huge size_t, and snprintf went on writing into the
stack past msg. With a deep enough stack the handler faults before it
can log the crash it exists to report.

The frame name lookup also compared unw_get_proc_name() against
UNW_ENOMEM, but libunwind returns the negated code, so the test
never fired. A lookup that failed with UNW_ENOINFO fell through
to the success branch and printed the name buffer, which
libunwind had not written.

Track space used with offset and use that on each snprintf call. Advance
by MIN(cw, remaining - 1) to prevent overruns.  The loop stops when
the buffer is full and closes the trace with "..." so a clipped message
is not read as a whole stack.

Failed symbol lookups now print "[unknown]:". -UNW_ENOMEM is not one of
them, since libunwind returns a truncated but usable name with it.
name starts as "?" so nothing is printed from it either way.

Ticket: 8846
2 months ago
..
tests conf: uses SCConfGetNonNull 5 months ago
Makefile.am detect: add tcp.session keyword for unified TCP lifecycle matching 2 months ago
action-globals.h
…
alert-debuglog.c
…
alert-debuglog.h
…
alert-fastlog.c
…
alert-fastlog.h
…
alert-syslog.c
…
alert-syslog.h
…
app-layer-detect-proto.c util/mpm: add MpmCtx argument to MpmInitThreadCtx 5 months ago
app-layer-detect-proto.h
…
app-layer-dnp3-objects.c
…
app-layer-dnp3-objects.h
…
app-layer-dnp3.c
…
app-layer-dnp3.h
…
app-layer-events.c
…
app-layer-events.h
…
app-layer-expectation.c ftp/expectation: fix ippair leak 3 months ago
app-layer-expectation.h
…
app-layer-frames.c frames: avoid possible undefined behavior 5 months ago
app-layer-frames.h
…
app-layer-ftp.c ftp: do not create more than max-tx transactions 4 months ago
app-layer-ftp.h ftp: support nlst on the data channel 4 months ago
app-layer-htp-body.c
…
app-layer-htp-body.h
…
app-layer-htp-file.c
…
app-layer-htp-file.h
…
app-layer-htp-mem.c conf: uses SCConfGetNonNull 5 months ago
app-layer-htp-mem.h
…
app-layer-htp-range.c conf: uses SCConfGetNonNull 5 months ago
app-layer-htp-range.h
…
app-layer-htp-xff.c http/xff: harden code against http in detection-only 4 months ago
app-layer-htp-xff.h
…
app-layer-htp.c http1: limit the number of compression bombs per flow 4 months ago
app-layer-htp.h http1: do not re-parse Content-Disposition header 5 months ago
app-layer-http2.c
…
app-layer-http2.h
…
app-layer-ike.c
…
app-layer-ike.h
…
app-layer-imap.c
…
app-layer-imap.h
…
app-layer-modbus.c
…
app-layer-modbus.h
…
app-layer-nfs-tcp.c
…
app-layer-nfs-tcp.h
…
app-layer-nfs-udp.c
…
app-layer-nfs-udp.h
…
app-layer-parser.c app-layer: check if protocol is enabled for sub state callbacks 4 months ago
app-layer-parser.h app-layer: use macro for progress ceiling 4 months ago
app-layer-protos.c app-layer: query raw protocol names 2 months ago
app-layer-protos.h app-layer: query raw protocol names 2 months ago
app-layer-register.c
…
app-layer-register.h
…
app-layer-smb.c
…
app-layer-smb.h
…
app-layer-smtp.c smtp: avoid scan-build false-positive null dereference 2 months ago
app-layer-smtp.h smtp: recover from invalid BDAT command syntax 3 months ago
app-layer-ssh.c conf: uses SCConfGetNonNull 5 months ago
app-layer-ssh.h
…
app-layer-ssl.c tls: improve client/server hello parsing loops 3 months ago
app-layer-ssl.h
…
app-layer-tftp.c
…
app-layer-tftp.h
…
app-layer.c llmnr: implement parser 5 months ago
app-layer.h
…
bindgen.h rust/ffi: bindgen flow storage 2 months ago
capture-hooks.c
…
capture-hooks.h
…
conf-yaml-loader.c
…
conf-yaml-loader.h
…
conf.c conf: assist gcc -fanalyzer 5 months ago
conf.h conf: introduce SCConfGetNonNull 5 months ago
counters.c conf: uses SCConfGetNonNull 5 months ago
counters.h
…
datasets-context-json.c detect/datajson: check json objects are string as expected 4 months ago
datasets-context-json.h
…
datasets-ipv4.c
…
datasets-ipv4.h
…
datasets-ipv6.c
…
datasets-ipv6.h
…
datasets-md5.c
…
datasets-md5.h
…
datasets-reputation.h
…
datasets-sha256.c
…
datasets-sha256.h
…
datasets-string.c
…
datasets-string.h
…
datasets.c conf: uses SCConfGetNonNull 5 months ago
datasets.h
…
decode-arp.c
…
decode-arp.h
…
decode-chdlc.c
…
decode-chdlc.h
…
decode-erspan.c
…
decode-erspan.h
…
decode-esp.c
…
decode-esp.h
…
decode-etag.c
…
decode-etag.h
…
decode-ethernet.c
…
decode-ethernet.h
…
decode-events.c decoder/sctp: extend decoder 5 months ago
decode-events.h decoder/sctp: extend decoder 5 months ago
decode-geneve.c
…
decode-geneve.h
…
decode-gre.c
…
decode-gre.h
…
decode-icmpv4.c
…
decode-icmpv4.h
…
decode-icmpv6.c
…
decode-icmpv6.h
…
decode-igmp.c
…
decode-igmp.h
…
decode-ipv4.c
…
decode-ipv4.h
…
decode-ipv6.c decode/ipv6: bound hop-by-hop option to the option area 3 months ago
decode-ipv6.h
…
decode-mpls.c
…
decode-mpls.h
…
decode-nsh.c
…
decode-nsh.h
…
decode-null.c
…
decode-ppp.c
…
decode-ppp.h
…
decode-pppoe.c pppoe: fix session over-read in DecodePPPOESession 2 months ago
decode-pppoe.h
…
decode-raw.c
…
decode-raw.h
…
decode-sctp.c decode/sctp: chunk_cnt can be a u16 4 months ago
decode-sctp.h decode/sctp: chunk_cnt can be a u16 4 months ago
decode-sll.c
…
decode-sll.h
…
decode-sll2.c
…
decode-sll2.h
…
decode-tcp.c decode/tcp: only set data ptr for valid option lengths 5 months ago
decode-tcp.h
…
decode-template.c
…
decode-template.h
…
decode-teredo.c
…
decode-teredo.h
…
decode-udp.c
…
decode-udp.h
…
decode-vlan.c decode/vlan: implement max layers for IEEE8021ah 5 months ago
decode-vlan.h
…
decode-vntag.c
…
decode-vntag.h
…
decode-vxlan.c
…
decode-vxlan.h
…
decode.c decode: propagate PacketAlertCreate failure instead of crashing 5 months ago
decode.h detect/alert: store sub-state in PacketAlert 4 months ago
defrag-config.c
…
defrag-config.h
…
defrag-hash.c conf: uses SCConfGetNonNull 5 months ago
defrag-hash.h
…
defrag-stack.c
…
defrag-stack.h
…
defrag-timeout.c
…
defrag-timeout.h
…
defrag.c decode: propagate PacketAlertCreate failure instead of crashing 5 months ago
defrag.h defrag: rearrange Frag struct to save 8 bytes 5 months ago
detect-app-layer-event.c detect/app-layer-event: support sub-state progress handling 4 months ago
detect-app-layer-event.h
…
detect-app-layer-protocol.c detect: extend app-layer-protocol to accept a pipe-separated value list 4 months ago
detect-app-layer-protocol.h detect: extend app-layer-protocol to accept a pipe-separated value list 4 months ago
detect-app-layer-state.c detect/app-layer-event: support sub-state progress handling 4 months ago
detect-app-layer-state.h
…
detect-asn1.c
…
detect-asn1.h
…
detect-base64-data.c
…
detect-base64-data.h
…
detect-base64-decode.c
…
detect-base64-decode.h
…
detect-bsize.c
…
detect-bsize.h
…
detect-bypass.c detect/bypass: ban bypass keyword for firewall mode 5 months ago
detect-bypass.h
…
detect-byte-extract.c
…
detect-byte-extract.h
…
detect-byte.c
…
detect-byte.h
…
detect-bytejump.c
…
detect-bytejump.h
…
detect-bytemath.c detect/bytemath: reject literal shift counts of 64 2 months ago
detect-bytemath.h
…
detect-bytetest.c
…
detect-bytetest.h
…
detect-classtype.c
…
detect-classtype.h
…
detect-config.c
…
detect-config.h
…
detect-content.c
…
detect-content.h
…
detect-csum.c
…
detect-csum.h
…
detect-datarep.c
…
detect-datarep.h
…
detect-dataset.c detect/dataset: add match subdomain option 5 months ago
detect-dataset.h detect/dataset: add match subdomain option 5 months ago
detect-depth.c
…
detect-depth.h
…
detect-detection-filter.c
…
detect-detection-filter.h
…
detect-distance.c
…
detect-distance.h
…
detect-dnp3.c
…
detect-dnp3.h
…
detect-dns-name.c detect/dns: register keywords for DOH2 as well 4 months ago
detect-dns-name.h
…
detect-dns-response.c detect/dns: register keywords for DOH2 as well 4 months ago
detect-dns-response.h
…
detect-dsize.c
…
detect-dsize.h
…
detect-email.c smtp: add firewall progress states 4 months ago
detect-email.h
…
detect-engine-address-ipv4.c
…
detect-engine-address-ipv4.h
…
detect-engine-address-ipv6.c
…
detect-engine-address-ipv6.h
…
detect-engine-address.c detect/ipv6: classify ipv6 ranges as like_ip_only 2 months ago
detect-engine-address.h detect/ipv6: classify ipv6 ranges as like_ip_only 2 months ago
detect-engine-alert.c detect/alert: store sub-state in PacketAlert 4 months ago
detect-engine-alert.h detect/alert: store sub-state in PacketAlert 4 months ago
detect-engine-analyzer.c firewall: share the generic app hook name helper 2 months ago
detect-engine-analyzer.h
…
detect-engine-buffer.c
…
detect-engine-buffer.h rust: bindgen detect ThreadCtx keyword functions 4 months ago
detect-engine-build.c detect/ipv6: classify ipv6 ranges as like_ip_only 2 months ago
detect-engine-build.h
…
detect-engine-content-inspection.c
…
detect-engine-content-inspection.h
…
detect-engine-event.c
…
detect-engine-event.h
…
detect-engine-file.c
…
detect-engine-file.h detect: convert tx_progress to uint8_t 4 months ago
detect-engine-frame.c detect/frame: fix assert 2 months ago
detect-engine-frame.h
…
detect-engine-helper.c detect: add debug validation checks 4 months ago
detect-engine-helper.h detect: support per tx sub states 4 months ago
detect-engine-inspect-buffer.c detect/engine: helper to know if a transform happens in-place 5 months ago
detect-engine-inspect-buffer.h detect/engine: helper to know if a transform happens in-place 5 months ago
detect-engine-iponly.c detect/alert: split append func per packet/tx 4 months ago
detect-engine-iponly.h
…
detect-engine-loader.c detect/sigorder: handle allocation failure 5 months ago
detect-engine-loader.h
…
detect-engine-mpm.c detect-engine-mpm: change transforms->cnt to uint8_t 3 months ago
detect-engine-mpm.h detect: support per tx sub states 4 months ago
detect-engine-payload.c
…
detect-engine-payload.h
…
detect-engine-port.c detect/port: workaround cppcheck warning 5 months ago
detect-engine-port.h
…
detect-engine-prefilter-common.c
…
detect-engine-prefilter-common.h
…
detect-engine-prefilter.c detect: sync prefilter and app inspect alproto logic 4 months ago
detect-engine-prefilter.h detect: support per tx sub states 4 months ago
detect-engine-profile.c
…
detect-engine-profile.h
…
detect-engine-proto.c
…
detect-engine-proto.h
…
detect-engine-register.c detect: add tcp.session keyword for unified TCP lifecycle matching 2 months ago
detect-engine-register.h detect: add tcp.session keyword for unified TCP lifecycle matching 2 months ago
detect-engine-siggroup.c
…
detect-engine-siggroup.h
…
detect-engine-sigorder.c detect/sigorder: handle allocation failure 5 months ago
detect-engine-sigorder.h detect/sigorder: handle allocation failure 5 months ago
detect-engine-state.c
…
detect-engine-state.h
…
detect-engine-tag.c
…
detect-engine-tag.h
…
detect-engine-threshold.c conf: uses SCConfGetNonNull 5 months ago
detect-engine-threshold.h threshold: use seed consistently in hashing 5 months ago
detect-engine-uint.c
…
detect-engine-uint.h
…
detect-engine.c app-layer: query raw protocol names 2 months ago
detect-engine.h detect-engine-mpm: change transforms->cnt to uint8_t 3 months ago
detect-entropy.c
…
detect-entropy.h
…
detect-etherhdr.c
…
detect-etherhdr.h
…
detect-fast-pattern.c
…
detect-fast-pattern.h
…
detect-file-data.c detect/file: register http/2 with sub-state 4 months ago
detect-file-data.h detect/file.data: reduce scope for MPM datatype 4 months ago
detect-file-hash-common.c
…
detect-file-hash-common.h
…
detect-filemagic.c detect/file: register http/2 with sub-state 4 months ago
detect-filemagic.h
…
detect-filemd5.c
…
detect-filemd5.h
…
detect-filename.c detect/file: register http/2 with sub-state 4 months ago
detect-filename.h
…
detect-filesha1.c
…
detect-filesha1.h
…
detect-filesha256.c
…
detect-filesha256.h
…
detect-filesize.c detect/file: filesize does not support multi integer 4 months ago
detect-filesize.h
…
detect-filestore.c
…
detect-filestore.h
…
detect-flow-age.c
…
detect-flow-age.h
…
detect-flow-elephant.c
…
detect-flow-elephant.h
…
detect-flow-pkts.c
…
detect-flow-pkts.h
…
detect-flow.c
…
detect-flow.h
…
detect-flowbits.c detect/flowbits: store iid and sid in analyzer 3 months ago
detect-flowbits.h detect/flowbits: store iid and sid in analyzer 3 months ago
detect-flowint.c detect/sigorder: handle allocation failure 5 months ago
detect-flowint.h
…
detect-flowvar.c detect/flowvar: help gcc -fanalyzer 5 months ago
detect-flowvar.h
…
detect-fragbits.c
…
detect-fragbits.h
…
detect-fragoffset.c
…
detect-fragoffset.h
…
detect-frame.c
…
detect-frame.h
…
detect-ftp-command-data.c ftp: mark ftp.command_data as firewall supported 4 months ago
detect-ftp-command-data.h
…
detect-ftp-command.c ftp: mark ftp.command as firewall supported 4 months ago
detect-ftp-command.h
…
detect-ftp-completion-code.c ftp: register ftp.completion_code at response_complete 4 months ago
detect-ftp-completion-code.h
…
detect-ftp-dynamic-port.c ftp: don't match unset ftp.dynamic_port 4 months ago
detect-ftp-dynamic-port.h
…
detect-ftp-mode.c ftp: register ftp.mode at response_complete 4 months ago
detect-ftp-mode.h
…
detect-ftp-reply-received.c ftp: mark ftp.reply_received as firewall supported 4 months ago
detect-ftp-reply-received.h
…
detect-ftp-reply.c ftp: mark ftp.reply as firewall supported 4 months ago
detect-ftp-reply.h
…
detect-ftpbounce.c ftp: mark ftpbounce as firewall supported 4 months ago
detect-ftpbounce.h
…
detect-ftpdata.c ftp: support STOU data transfers 4 months ago
detect-ftpdata.h
…
detect-geoip.c
…
detect-geoip.h
…
detect-gid.c
…
detect-gid.h
…
detect-hostbits.c
…
detect-hostbits.h
…
detect-http-accept-enc.c
…
detect-http-accept-enc.h
…
detect-http-accept-lang.c
…
detect-http-accept-lang.h
…
detect-http-accept.c
…
detect-http-accept.h
…
detect-http-client-body.c detect/http: register keywords for HTTP/2 4 months ago
detect-http-client-body.h
…
detect-http-connection.c
…
detect-http-connection.h
…
detect-http-content-len.c
…
detect-http-content-len.h
…
detect-http-content-type.c
…
detect-http-content-type.h
…
detect-http-cookie.c detect/http: register keywords for HTTP/2 4 months ago
detect-http-cookie.h
…
detect-http-header-common.c rust: bindgen detect ThreadCtx keyword functions 4 months ago
detect-http-header-common.h
…
detect-http-header-names.c detect/http: register keywords for HTTP/2 4 months ago
detect-http-header-names.h
…
detect-http-header.c detect/http: register keywords for HTTP/2 4 months ago
detect-http-header.h
…
detect-http-headers-stub.h detect/http: register keywords for HTTP/2 4 months ago
detect-http-headers.c
…
detect-http-headers.h
…
detect-http-host.c detect/http: register keywords for HTTP/2 4 months ago
detect-http-host.h
…
detect-http-location.c
…
detect-http-location.h
…
detect-http-method.c detect/http: register keywords for HTTP/2 4 months ago
detect-http-method.h
…
detect-http-protocol.c http2: rename state *start to *started 4 months ago
detect-http-protocol.h
…
detect-http-raw-header.c detect/http: register keywords for HTTP/2 4 months ago
detect-http-raw-header.h
…
detect-http-referer.c
…
detect-http-referer.h
…
detect-http-request-line.c detect/http: register keywords for HTTP/2 4 months ago
detect-http-request-line.h
…
detect-http-response-line.c detect/http: register keywords for HTTP/2 4 months ago
detect-http-response-line.h
…
detect-http-server-body.c
…
detect-http-server-body.h
…
detect-http-server.c
…
detect-http-server.h
…
detect-http-start.c rust: bindgen detect ThreadCtx keyword functions 4 months ago
detect-http-start.h
…
detect-http-stat-code.c detect/http: register keywords for HTTP/2 4 months ago
detect-http-stat-code.h
…
detect-http-stat-msg.c http2: rename state *start to *started 4 months ago
detect-http-stat-msg.h
…
detect-http-ua.c detect/http: register keywords for HTTP/2 4 months ago
detect-http-ua.h
…
detect-http-uri.c detect/http: register keywords for HTTP/2 4 months ago
detect-http-uri.h
…
detect-http2.c http2: split transaction state machines 4 months ago
detect-http2.h
…
detect-icmp-id.c
…
detect-icmp-id.h
…
detect-icmp-seq.c
…
detect-icmp-seq.h
…
detect-icmpv4hdr.c
…
detect-icmpv4hdr.h
…
detect-icmpv6-mtu.c
…
detect-icmpv6-mtu.h
…
detect-icmpv6hdr.c
…
detect-icmpv6hdr.h
…
detect-icode.c
…
detect-icode.h
…
detect-id.c
…
detect-id.h
…
detect-igmp-type.c
…
detect-igmp-type.h
…
detect-igmphdr.c
…
detect-igmphdr.h
…
detect-ipaddr.c
…
detect-ipaddr.h
…
detect-ipopts.c
…
detect-ipopts.h
…
detect-ipproto.c detect/ip_proto: clean up parsing function 5 months ago
detect-ipproto.h
…
detect-iprep.c
…
detect-iprep.h
…
detect-ipv4hdr.c
…
detect-ipv4hdr.h
…
detect-ipv6hdr.c
…
detect-ipv6hdr.h
…
detect-isdataat.c
…
detect-isdataat.h
…
detect-itype.c
…
detect-itype.h
…
detect-ja4-hash.c
…
detect-ja4-hash.h
…
detect-l3proto.c
…
detect-l3proto.h
…
detect-lua-extensions.c
…
detect-lua-extensions.h
…
detect-lua.c detect/lua: remove unused macros 5 months ago
detect-lua.h
…
detect-mark.c
…
detect-mark.h
…
detect-metadata.c
…
detect-metadata.h
…
detect-msg.c
…
detect-msg.h
…
detect-noalert.c
…
detect-noalert.h
…
detect-nocase.c
…
detect-nocase.h
…
detect-offset.c
…
detect-offset.h
…
detect-parse.c firewall: validate action scope against the hook class 2 months ago
detect-parse.h firewall: share the generic app hook name helper 2 months ago
detect-pcre.c detect/engine-analyzer: add note for pcre with \X 4 months ago
detect-pcre.h detect/engine-analyzer: add note for pcre with \X 4 months ago
detect-pkt-data.c
…
detect-pkt-data.h
…
detect-pktvar.c
…
detect-pktvar.h
…
detect-prefilter.c detect: extend app-layer-protocol to accept a pipe-separated value list 4 months ago
detect-prefilter.h
…
detect-priority.c
…
detect-priority.h
…
detect-rawbytes.c
…
detect-rawbytes.h
…
detect-reference.c detect/reference: guard SCStrdup calls in DetectReferenceParse 5 months ago
detect-reference.h
…
detect-replace.c detect: ban `replace` keyword for firewall mode 5 months ago
detect-replace.h
…
detect-requires.c
…
detect-requires.h
…
detect-rev.c
…
detect-rev.h
…
detect-rpc.c
…
detect-rpc.h
…
detect-sameip.c
…
detect-sameip.h
…
detect-sctp-chunk-cnt.c decode/sctp: chunk_cnt can be a u16 4 months ago
detect-sctp-chunk-cnt.h detect/sctp: add sctp.chunk_cnt keyword 5 months ago
detect-sctp-chunk-data.c detect/sctp: add sctp.chunk_data sticky buffer 5 months ago
detect-sctp-chunk-data.h detect/sctp: add sctp.chunk_data sticky buffer 5 months ago
detect-sctp-chunk-type.c detect/sctp: sctp.chunk_type does not support multi integer 4 months ago
detect-sctp-chunk-type.h detect/sctp: add sctp.chunk_type keyword 5 months ago
detect-sctp-vtag.c detect/sctp: add sctp.vtag keyword 5 months ago
detect-sctp-vtag.h detect/sctp: add sctp.vtag keyword 5 months ago
detect-sctphdr.c detect/sctp: add sctp.hdr sticky buffer 5 months ago
detect-sctphdr.h detect/sctp: add sctp.hdr sticky buffer 5 months ago
detect-sid.c
…
detect-sid.h
…
detect-sip-method.c
…
detect-sip-method.h
…
detect-sip-uri.c
…
detect-sip-uri.h
…
detect-smtp.c
…
detect-smtp.h
…
detect-ssl-state.c
…
detect-ssl-state.h
…
detect-ssl-version.c
…
detect-ssl-version.h
…
detect-stream_size.c
…
detect-stream_size.h
…
detect-tag.c
…
detect-tag.h
…
detect-target.c
…
detect-target.h
…
detect-tcp-ack.c
…
detect-tcp-ack.h
…
detect-tcp-flags.c
…
detect-tcp-flags.h
…
detect-tcp-seq.c
…
detect-tcp-seq.h
…
detect-tcp-session.c detect: add tcp.session keyword for unified TCP lifecycle matching 2 months ago
detect-tcp-session.h detect: add tcp.session keyword for unified TCP lifecycle matching 2 months ago
detect-tcp-window.c
…
detect-tcp-window.h
…
detect-tcp-wscale.c
…
detect-tcp-wscale.h
…
detect-tcphdr.c
…
detect-tcphdr.h
…
detect-tcpmss.c
…
detect-tcpmss.h
…
detect-template.c
…
detect-template.h
…
detect-threshold.c detect/threshold: fix unittests for storage based cache 5 months ago
detect-threshold.h
…
detect-tls-alpn.c
…
detect-tls-alpn.h
…
detect-tls-cert-fingerprint.c
…
detect-tls-cert-fingerprint.h
…
detect-tls-cert-issuer.c
…
detect-tls-cert-issuer.h
…
detect-tls-cert-serial.c
…
detect-tls-cert-serial.h
…
detect-tls-cert-subject.c
…
detect-tls-cert-subject.h
…
detect-tls-cert-validity.c
…
detect-tls-cert-validity.h
…
detect-tls-certs.c
…
detect-tls-certs.h
…
detect-tls-ja3-hash.c
…
detect-tls-ja3-hash.h
…
detect-tls-ja3-string.c
…
detect-tls-ja3-string.h
…
detect-tls-ja3s-hash.c
…
detect-tls-ja3s-hash.h
…
detect-tls-ja3s-string.c
…
detect-tls-ja3s-string.h
…
detect-tls-random.c
…
detect-tls-random.h
…
detect-tls-sni.c
…
detect-tls-sni.h
…
detect-tls-subjectaltname.c
…
detect-tls-subjectaltname.h
…
detect-tls-version.c
…
detect-tls-version.h
…
detect-tls.c
…
detect-tls.h
…
detect-tos.c
…
detect-tos.h
…
detect-transform-luaxform.c
…
detect-transform-luaxform.h
…
detect-transform-pcrexform.c
…
detect-transform-pcrexform.h
…
detect-ttl.c
…
detect-ttl.h
…
detect-udphdr.c
…
detect-udphdr.h
…
detect-uricontent.c conf: uses SCConfGetNonNull 5 months ago
detect-uricontent.h
…
detect-urilen.c
…
detect-urilen.h
…
detect-vlan.c
…
detect-vlan.h
…
detect-within.c
…
detect-within.h
…
detect-xbits.c
…
detect-xbits.h
…
detect.c flow: include cleanup 2 months ago
detect.h detect/ipv6: classify ipv6 ranges as like_ip_only 2 months ago
device-storage.c
…
device-storage.h
…
feature.c
…
feature.h
…
flow-bindgen.h flow: add accessors for flow addresses 2 months ago
flow-bit.c flowbits: deprecate toggle command 5 months ago
flow-bit.h flowbits: deprecate toggle command 5 months ago
flow-bypass.c
…
flow-bypass.h
…
flow-callbacks.c
…
flow-callbacks.h
…
flow-hash.c flow: check ip family when comparing 4 months ago
flow-hash.h
…
flow-manager.c defrag: fix defrag.memuse counter reporting memcap 3 months ago
flow-manager.h
…
flow-private.h
…
flow-queue.c
…
flow-queue.h
…
flow-spare-pool.c
…
flow-spare-pool.h
…
flow-storage.c flow-storage: include cleanup 2 months ago
flow-storage.h rust/ffi: bindgen flow storage 2 months ago
flow-timeout.c
…
flow-timeout.h
…
flow-util.c
…
flow-util.h
…
flow-var.c
…
flow-var.h
…
flow-worker.c detect: add flow drop by firewall as drop reason 5 months ago
flow-worker.h
…
flow.c flow: add accessors for flow addresses 2 months ago
flow.h flow: include cleanup 2 months ago
host-bit.c
…
host-bit.h
…
host-queue.c
…
host-queue.h
…
host-storage.c
…
host-storage.h
…
host-timeout.c
…
host-timeout.h
…
host.c conf: uses SCConfGetNonNull 5 months ago
host.h
…
interval-tree.h
…
ippair-bit.c
…
ippair-bit.h
…
ippair-queue.c
…
ippair-queue.h
…
ippair-storage.c
…
ippair-storage.h
…
ippair-timeout.c
…
ippair-timeout.h
…
ippair.c ippair: check ip family when comparing 4 months ago
ippair.h
…
log-maintenance.c util/log: rotate log file periodically 5 months ago
log-maintenance.h util/log: rotate log file periodically 5 months ago
log-pcap.c log-pcap: address gcc analyzer warnings 5 months ago
log-pcap.h
…
log-stats.c
…
log-stats.h
…
log-tcp-data.c
…
log-tcp-data.h
…
log-tlsstore.c
…
log-tlsstore.h
…
main.c suricata: add error about missing runmode 5 months ago
output-eve-bindgen.h
…
output-eve-null.c
…
output-eve-null.h
…
output-eve-stream.c
…
output-eve-stream.h
…
output-eve-syslog.c
…
output-eve-syslog.h
…
output-eve.c
…
output-eve.h
…
output-file.c http-log: remove support for http-log 5 months ago
output-file.h
…
output-filedata.c http-log: remove support for http-log 5 months ago
output-filedata.h
…
output-filestore.c output/filestore: refactor file descriptor handling 5 months ago
output-filestore.h
…
output-flow.c http-log: remove support for http-log 5 months ago
output-flow.h
…
output-json-alert.c flow: include cleanup 2 months ago
output-json-alert.h
…
output-json-anomaly.c app-layer: treat pstate as non-NULL 4 months ago
output-json-anomaly.h
…
output-json-arp.c
…
output-json-arp.h
…
output-json-common.c
…
output-json-dcerpc.c
…
output-json-dcerpc.h
…
output-json-dhcp.c
…
output-json-dhcp.h
…
output-json-dnp3-objects.c
…
output-json-dnp3-objects.h
…
output-json-dnp3.c
…
output-json-dnp3.h
…
output-json-dns.c output/tx: allow registering logging at substate 4 months ago
output-json-dns.h
…
output-json-drop.c
…
output-json-drop.h
…
output-json-email-common.c flow: include cleanup 2 months ago
output-json-email-common.h
…
output-json-file.c flow: include cleanup 2 months ago
output-json-file.h
…
output-json-flow.c
…
output-json-flow.h
…
output-json-frame.c
…
output-json-frame.h
…
output-json-ftp.c
…
output-json-ftp.h
…
output-json-http.c
…
output-json-http.h
…
output-json-ike.c
…
output-json-ike.h
…
output-json-llmnr.c llmnr: implement logger 5 months ago
output-json-llmnr.h llmnr: implement logger 5 months ago
output-json-mdns.c
…
output-json-mdns.h
…
output-json-metadata.c
…
output-json-metadata.h
…
output-json-mqtt.c
…
output-json-mqtt.h
…
output-json-netflow.c
…
output-json-netflow.h
…
output-json-nfs.c
…
output-json-nfs.h
…
output-json-pgsql.c
…
output-json-pgsql.h
…
output-json-smb.c
…
output-json-smb.h
…
output-json-smtp.c output-json: avoid freeing caller-owned JSON builder 5 months ago
output-json-smtp.h
…
output-json-stats.c
…
output-json-stats.h
…
output-json-tls.c
…
output-json-tls.h
…
output-json.c output/json: add sctp metadata to alerts 5 months ago
output-json.h
…
output-lua.c
…
output-lua.h
…
output-packet.c debug/validate: remove redundant checks 5 months ago
output-packet.h
…
output-stats.c http-log: remove support for http-log 5 months ago
output-stats.h
…
output-streaming.c http-log: remove support for http-log 5 months ago
output-streaming.h
…
output-tx.c output/tx: allow registering logging at substate 4 months ago
output-tx.h output/tx: allow registering logging at substate 4 months ago
output.c output/tx: allow registering logging at substate 4 months ago
output.h output/tx: allow registering logging at substate 4 months ago
packet-queue.c
…
packet-queue.h
…
packet.c decode: propagate PacketAlertCreate failure instead of crashing 5 months ago
packet.h decode: propagate PacketAlertCreate failure instead of crashing 5 months ago
pkt-var.c
…
pkt-var.h
…
queue.h
…
reputation.c conf: uses SCConfGetNonNull 5 months ago
reputation.h
…
respond-reject-libnet11.c
…
respond-reject-libnet11.h
…
respond-reject.c
…
respond-reject.h
…
runmode-af-packet.c http-log: remove support for http-log 5 months ago
runmode-af-packet.h
…
runmode-af-xdp.c http-log: remove support for http-log 5 months ago
runmode-af-xdp.h
…
runmode-dpdk.c
…
runmode-dpdk.h
…
runmode-erf-dag.c
…
runmode-erf-dag.h
…
runmode-erf-file.c conf: uses SCConfGetNonNull 5 months ago
runmode-erf-file.h
…
runmode-ipfw.c
…
runmode-ipfw.h
…
runmode-lib.c
…
runmode-lib.h
…
runmode-netmap.c
…
runmode-netmap.h
…
runmode-nflog.c
…
runmode-nflog.h
…
runmode-nfq.c
…
runmode-nfq.h
…
runmode-pcap-file.c conf: uses SCConfGetNonNull 5 months ago
runmode-pcap-file.h
…
runmode-pcap.c conf: uses SCConfGetNonNull 5 months ago
runmode-pcap.h
…
runmode-unittests.c util/file: add unit test for inspect window overflow 3 months ago
runmode-unittests.h
…
runmode-unix-socket.c
…
runmode-unix-socket.h
…
runmode-windivert.c
…
runmode-windivert.h
…
runmodes.c output/tx: allow registering logging at substate 4 months ago
runmodes.h
…
rust.h
…
source-af-packet.c af-packet: invert ebpf g_flowv4_ok log flag 4 months ago
source-af-packet.h
…
source-af-xdp.c
…
source-af-xdp.h
…
source-dpdk.c
…
source-dpdk.h
…
source-erf-dag.c source/erf: Handle ERF META and PAD record types and extension headers 2 months ago
source-erf-dag.h
…
source-erf-file.c source/erf: Handle ERF META and PAD record types and extension headers 2 months ago
source-erf-file.h
…
source-ipfw.c
…
source-ipfw.h
…
source-lib.c
…
source-lib.h
…
source-netmap.c
…
source-netmap.h
…
source-nflog.c
…
source-nflog.h
…
source-nfq-prototypes.h
…
source-nfq.c nfq: suppress gcc analyzer warnings 5 months ago
source-nfq.h
…
source-pcap-file-directory-helper.c util/path: handle missing d_type definitions on Solaris 5 months ago
source-pcap-file-directory-helper.h
…
source-pcap-file-helper.c pcap-file: skip setvbuf on non-seekable streams 5 months ago
source-pcap-file-helper.h
…
source-pcap-file.c pcap-file: skip setvbuf on non-seekable streams 5 months ago
source-pcap-file.h
…
source-pcap.c
…
source-pcap.h
…
source-windivert-prototypes.h
…
source-windivert.c
…
source-windivert.h
…
stream-tcp-cache.c
…
stream-tcp-cache.h
…
stream-tcp-inline.c
…
stream-tcp-inline.h
…
stream-tcp-list.c
…
stream-tcp-list.h
…
stream-tcp-private.h
…
stream-tcp-reassemble.c stream: minor code cleanups 5 months ago
stream-tcp-reassemble.h
…
stream-tcp-sack.c
…
stream-tcp-sack.h
…
stream-tcp-util.c
…
stream-tcp-util.h
…
stream-tcp.c conf: uses SCConfGetNonNull 5 months ago
stream-tcp.h
…
stream.c
…
stream.h
…
suricata-common.h http-log: remove support for http-log 5 months ago
suricata-plugin.h
…
suricata.c suricata: bound stack trace formatting in signal handler 2 months ago
suricata.h suricata: add error about missing runmode 5 months ago
thread-callbacks.c
…
thread-callbacks.h rust/ffi: bindgen thread lifecycle callbacks 5 months ago
thread-storage.c
…
thread-storage.h rust/ffi: bindgen thread storage 5 months ago
threads-debug.h
…
threads-profile.h
…
threads.c
…
threads.h build/solaris: use __sun and Solaris byteorder helpers 5 months ago
threadvars.c threads: add threadvars allocator and free func 5 months ago
threadvars.h threads: add threadvars allocator and free func 5 months ago
tm-modules.c
…
tm-modules.h
…
tm-queuehandlers.c
…
tm-queuehandlers.h
…
tm-queues.c tm/queues: assist gcc -fanalyzer 5 months ago
tm-queues.h
…
tm-threads-common.h
…
tm-threads.c build/solaris: use __sun and Solaris byteorder helpers 5 months ago
tm-threads.h
…
tmqh-flow.c conf: uses SCConfGetNonNull 5 months ago
tmqh-flow.h
…
tmqh-packetpool.c
…
tmqh-packetpool.h
…
tmqh-simple.c
…
tmqh-simple.h
…
tree.h
…
tx-bit.c
…
tx-bit.h
…
unix-manager.c conf: uses SCConfGetNonNull 5 months ago
unix-manager.h
…
util-action.c
…
util-action.h
…
util-affinity.c affinity: handle NULL set name from --set affinity path 2 months ago
util-affinity.h build/solaris: use __sun and Solaris byteorder helpers 5 months ago
util-atomic.c
…
util-atomic.h
…
util-bpf.c conf: uses SCConfGetNonNull 5 months ago
util-bpf.h
…
util-buffer.c
…
util-buffer.h
…
util-byte.c
…
util-byte.h build/solaris: use __sun and Solaris byteorder helpers 5 months ago
util-checksum.c
…
util-checksum.h
…
util-cidr.c
…
util-cidr.h
…
util-classification-config.c conf: uses SCConfGetNonNull 5 months ago
util-classification-config.h
…
util-clock.h
…
util-conf.c conf: uses SCConfGetNonNull 5 months ago
util-conf.h
…
util-config.h
…
util-coredump-config.c
…
util-coredump-config.h
…
util-cpu.c util/cpu: enable SPARC misalignment emulation at startup 5 months ago
util-cpu.h util/cpu: enable SPARC misalignment emulation at startup 5 months ago
util-daemon.c conf: uses SCConfGetNonNull 5 months ago
util-daemon.h
…
util-datalink.c
…
util-datalink.h
…
util-debug-filters.c
…
util-debug-filters.h
…
util-debug.c conf: uses SCConfGetNonNull 5 months ago
util-debug.h
…
util-detect.c
…
util-detect.h
…
util-device-private.h
…
util-device.c
…
util-device.h
…
util-dpdk-bonding.c
…
util-dpdk-bonding.h
…
util-dpdk-common.c
…
util-dpdk-common.h
…
util-dpdk-i40e.c
…
util-dpdk-i40e.h
…
util-dpdk-ice.c
…
util-dpdk-ice.h
…
util-dpdk-ixgbe.c
…
util-dpdk-ixgbe.h
…
util-dpdk-mlx5.c
…
util-dpdk-mlx5.h
…
util-dpdk-rss.c
…
util-dpdk-rss.h
…
util-dpdk.c
…
util-dpdk.h
…
util-ebpf.c ebpf: raise RLIMIT_MEMLOCK only on kernel >= 5.11 4 months ago
util-ebpf.h
…
util-enum.c
…
util-enum.h
…
util-error.c
…
util-error.h
…
util-exception-policy-types.h
…
util-exception-policy.c exceptions: add dedicated flow drop reason 5 months ago
util-exception-policy.h
…
util-file-decompression.c swf: prevents overflow with bad config value 4 months ago
util-file-decompression.h
…
util-file-swf-decompression.c
…
util-file-swf-decompression.h
…
util-file.c util/file: add unit test for inspect window overflow 3 months ago
util-file.h util/file: add unit test for inspect window overflow 3 months ago
util-fix_checksum.c
…
util-fix_checksum.h
…
util-flow-rate.c flow/rate: fix ring flushing 2 months ago
util-flow-rate.h
…
util-fmemopen.c
…
util-fmemopen.h
…
util-hash-lookup3.c
…
util-hash-lookup3.h
…
util-hash-string.c
…
util-hash-string.h
…
util-hash.c hash: allow registing with a seed value 5 months ago
util-hash.h hash: allow registing with a seed value 5 months ago
util-hashlist.c
…
util-hashlist.h
…
util-host-info.c
…
util-host-info.h
…
util-host-os-info.c
…
util-host-os-info.h
…
util-hugepages.c
…
util-hugepages.h
…
util-hyperscan.c
…
util-hyperscan.h
…
util-ioctl.c
…
util-ioctl.h
…
util-ip.c
…
util-ip.h
…
util-ja3.c
…
util-ja3.h
…
util-landlock.c conf: uses SCConfGetNonNull 5 months ago
util-landlock.h
…
util-log-redis.c util/log-redis: guard SCCalloc result for redis stream format 5 months ago
util-log-redis.h
…
util-logopenfile.c logging: prevent double-free multi-threaded logging 2 months ago
util-logopenfile.h util/log: rotate log file periodically 5 months ago
util-lua-base64lib.c
…
util-lua-base64lib.h
…
util-lua-builtins.c
…
util-lua-builtins.h
…
util-lua-bytevarlib.c
…
util-lua-bytevarlib.h
…
util-lua-common.c
…
util-lua-common.h
…
util-lua-config.c
…
util-lua-config.h
…
util-lua-dataset.c
…
util-lua-dataset.h
…
util-lua-dnp3-objects.c
…
util-lua-dnp3-objects.h
…
util-lua-dnp3.c
…
util-lua-dnp3.h
…
util-lua-dns.c
…
util-lua-dns.h
…
util-lua-filelib.c
…
util-lua-filelib.h
…
util-lua-flowintlib.c
…
util-lua-flowintlib.h
…
util-lua-flowlib.c http-log: remove support for http-log 5 months ago
util-lua-flowlib.h
…
util-lua-flowvarlib.c
…
util-lua-flowvarlib.h
…
util-lua-hashlib.c
…
util-lua-hashlib.h
…
util-lua-http.c
…
util-lua-http.h
…
util-lua-ja3.c
…
util-lua-ja3.h
…
util-lua-log.c
…
util-lua-log.h
…
util-lua-ntp.c
…
util-lua-ntp.h
…
util-lua-packetlib.c http-log: remove support for http-log 5 months ago
util-lua-packetlib.h
…
util-lua-rule.c
…
util-lua-rule.h
…
util-lua-sandbox.c
…
util-lua-sandbox.h
…
util-lua-smtp.c
…
util-lua-smtp.h
…
util-lua-ssh.c
…
util-lua-ssh.h
…
util-lua-tls.c
…
util-lua-tls.h
…
util-lua-util.c
…
util-lua-util.h
…
util-lua.c
…
util-lua.h
…
util-macset.c
…
util-macset.h
…
util-magic.c
…
util-magic.h
…
util-mem.c
…
util-mem.h
…
util-memcmp.c
…
util-memcmp.h
…
util-memcpy.h
…
util-memrchr.c
…
util-memrchr.h
…
util-misc.c
…
util-misc.h
…
util-mpm-ac-ks-small.c util/mpm-ac-ks: preallocate on the heap rather than stack 5 months ago
util-mpm-ac-ks.c mpm/ac-ks: fix state index truncation in SCACTileSearchLarge 2 months ago
util-mpm-ac-ks.h
…
util-mpm-ac-queue.c
…
util-mpm-ac-queue.h
…
util-mpm-ac.c mpm/ac: fix PID mask in SCACSearch u32 branch 2 months ago
util-mpm-ac.h
…
util-mpm-hs-cache.c mpm/hs: fix compile warnings 5 months ago
util-mpm-hs-cache.h
…
util-mpm-hs-core.c
…
util-mpm-hs-core.h
…
util-mpm-hs.c mpm/hs: remove useless pointer check 5 months ago
util-mpm-hs.h
…
util-mpm.c util/mpm: add MpmCtx argument to MpmInitThreadCtx 5 months ago
util-mpm.h mpm/ac-ks: fix integer overflow in delta table size calc 2 months ago
util-optimize.h
…
util-pages.c
…
util-pages.h
…
util-path.c util/path: handle missing d_type definitions on Solaris 5 months ago
util-path.h
…
util-pidfile.c
…
util-pidfile.h
…
util-plugin.c
…
util-plugin.h
…
util-pool-thread.c pool: remove InitData argument 5 months ago
util-pool-thread.h pool: remove InitData argument 5 months ago
util-pool.c pool: remove InitData argument 5 months ago
util-pool.h pool: remove InitData argument 5 months ago
util-port-interval-tree.c util/port-interval-tree: suppress cppcheck false positives 5 months ago
util-port-interval-tree.h
…
util-prefilter.c
…
util-prefilter.h detect/prefilter: rewrite loop to assist scan-build 5 months ago
util-print.c
…
util-print.h
…
util-privs.c
…
util-privs.h
…
util-profiling-keywords.c
…
util-profiling-locks.c
…
util-profiling-locks.h
…
util-profiling-prefilter.c
…
util-profiling-rulegroups.c
…
util-profiling-rules.c
…
util-profiling.c http-log: remove support for http-log 5 months ago
util-profiling.h
…
util-proto-name.c
…
util-proto-name.h
…
util-radix-tree-common.h
…
util-radix4-tree.c
…
util-radix4-tree.h
…
util-radix6-tree.c
…
util-radix6-tree.h
…
util-random.c
…
util-random.h
…
util-reference-config.c conf: uses SCConfGetNonNull 5 months ago
util-reference-config.h
…
util-rohash.c
…
util-rohash.h
…
util-rule-vars.c conf: uses SCConfGetNonNull 5 months ago
util-rule-vars.h
…
util-runmodes.c http-log: remove support for http-log 5 months ago
util-runmodes.h
…
util-running-modes.c app-layer: query raw protocol names 2 months ago
util-running-modes.h
…
util-signal.c
…
util-signal.h
…
util-spm-bm.c spm/bm: match suff array to pattern size 5 months ago
util-spm-bm.h
…
util-spm-bs.c
…
util-spm-bs.h
…
util-spm-bs2bm.c
…
util-spm-bs2bm.h
…
util-spm-hs.c
…
util-spm-hs.h
…
util-spm-mm.c util/spm: explicit needle_len is u16 5 months ago
util-spm-mm.h util/spm: explicit needle_len is u16 5 months ago
util-spm.c unittests: convert util-spm tests to FAIL/PASS API 5 months ago
util-spm.h
…
util-storage.c
…
util-storage.h
…
util-streaming-buffer.c
…
util-streaming-buffer.h
…
util-strlcatu.c
…
util-strlcpyu.c
…
util-strptime.c
…
util-sysfs.c
…
util-sysfs.h
…
util-syslog.c util/syslog: guard LOG_FTP for Solaris 5 months ago
util-syslog.h
…
util-systemd.c
…
util-systemd.h
…
util-thash.c conf: uses SCConfGetNonNull 5 months ago
util-thash.h
…
util-threshold-config.c detect/ipv6: classify ipv6 ranges as like_ip_only 2 months ago
util-threshold-config.h
…
util-time.c util/time: avoid tm_gmtoff on Solaris 5 months ago
util-time.h util-time: relocate timestamp format unit test from log-cf-common 5 months ago
util-unittest-helper.c detect/sigorder: handle allocation failure 5 months ago
util-unittest-helper.h fuzz: make more unit test utilities available for fuzzing 5 months ago
util-unittest.c
…
util-unittest.h
…
util-validate.h scan-build: support taint filtering 5 months ago
util-var-name.c util/var-name: help gcc analyzer 5 months ago
util-var-name.h
…
util-var.c
…
util-var.h
…
win32-misc.c
…
win32-misc.h
…
win32-service.c windows: always quote path for windows functions needing it 4 months ago
win32-service.h
…
win32-syscall.c
…
win32-syscall.h
…
win32-syslog.h
…