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
Victor Julien 85760a7044 Flow: fix flow reference cnt issues
FlowReference stores the flow in the destination pointer and increases
the flow reference counter (use_cnt). This should only be called once
per destination pointer. The reference counter is decremented when
FlowDereference is called. Multiple FlowReference calls would lead to
multiple use_cnt bumps, while there would be only one FlowRereference.
This lead to a use_cnt that would never become 0, meaning the flow
would stay in the hash for the entire lifetime of the process.

The fix here is to check if the destination pointer is already set to
the flow. If so, we don't increase the reference counter.

As this is really a bug, this condition will lead to a BUG_ON if the
DEBUG_VALIDATION checking is enabled.
12 years ago
..
Makefile.am Add new function to work on kernel version. 12 years ago
action-globals.h
alert-debuglog.c Alert file formatting clean up. 12 years ago
alert-debuglog.h Alert file formatting clean up. 12 years ago
alert-fastlog.c Add option on Tile-Gx for logging for fast.log alerts over PCIe 12 years ago
alert-fastlog.h Alert file formatting clean up. 12 years ago
alert-pcapinfo.c Add option on Tile-Gx for logging for fast.log alerts over PCIe 12 years ago
alert-pcapinfo.h Alert file formatting clean up. 12 years ago
alert-prelude.c Alert file formatting clean up. 12 years ago
alert-prelude.h Alert file formatting clean up. 12 years ago
alert-syslog.c Add option on Tile-Gx for logging for fast.log alerts over PCIe 12 years ago
alert-syslog.h Alert file formatting clean up. 12 years ago
alert-unified2-alert.c Add option on Tile-Gx for logging for fast.log alerts over PCIe 12 years ago
alert-unified2-alert.h Alert file formatting clean up. 12 years ago
app-layer-dcerpc-common.h
app-layer-dcerpc-udp.c app-layer: parser cleanup 12 years ago
app-layer-dcerpc-udp.h
app-layer-dcerpc.c Update tests to use AppLayerParserThreadCtx ptr instead of void. Fix a few bugs uncovered by this. 12 years ago
app-layer-dcerpc.h
app-layer-detect-proto.c app-layer-proto: speed up 12 years ago
app-layer-detect-proto.h App-layer proto detect cleanups 12 years ago
app-layer-dns-common.c dns: convert dns logger to TX logger API 12 years ago
app-layer-dns-common.h dns: add event for when memcap is reached 12 years ago
app-layer-dns-tcp.c dns: add memcap checking 12 years ago
app-layer-dns-tcp.h DNS TCP and UDP parser and DNS response logger 13 years ago
app-layer-dns-udp.c dns: fix protocol yaml setting 12 years ago
app-layer-dns-udp.h DNS TCP and UDP parser and DNS response logger 13 years ago
app-layer-events.c app-layer-event: refactor 12 years ago
app-layer-events.h app-layer-event: refactor 12 years ago
app-layer-ftp.c Update tests to use AppLayerParserThreadCtx ptr instead of void. Fix a few bugs uncovered by this. 12 years ago
app-layer-ftp.h FTP parser updated to not use the archaic App layer feature of AppLayerParserResultElmt. 12 years ago
app-layer-htp-body.c htp layer: use memcap for HTTP related allocations 12 years ago
app-layer-htp-body.h
app-layer-htp-file.c http: per tx decoder events 12 years ago
app-layer-htp-file.h
app-layer-htp-libhtp.c htp layer: use memcap for HTTP related allocations 12 years ago
app-layer-htp-libhtp.h http: strip 'proxy' part of http_uri 12 years ago
app-layer-htp-mem.c htp layer: add memory cap counter 12 years ago
app-layer-htp-mem.h htp layer: add memory usage counter 12 years ago
app-layer-htp.c radix: update HTP config lookup logic 12 years ago
app-layer-htp.h http: per tx decoder events 12 years ago
app-layer-nbss.h
app-layer-parser.c app-layer: fix AppLayerParserProtocolIsTxEventAware 12 years ago
app-layer-parser.h app-layer: add logger check to API 12 years ago
app-layer-protos.c App layer API rewritten. The main files in question are: 12 years ago
app-layer-protos.h Various style fixes 12 years ago
app-layer-smb.c app layer: void -> AppLayerProtoDetectThreadCtx 12 years ago
app-layer-smb.h
app-layer-smb2.c Update tests to use AppLayerParserThreadCtx ptr instead of void. Fix a few bugs uncovered by this. 12 years ago
app-layer-smb2.h
app-layer-smtp.c Update tests to use AppLayerParserThreadCtx ptr instead of void. Fix a few bugs uncovered by this. 12 years ago
app-layer-smtp.h
app-layer-ssh.c Disabling the ssh parser temporarily, since we are moving away from some 12 years ago
app-layer-ssh.h
app-layer-ssl.c app-layer-ssl: code cleanup 12 years ago
app-layer-ssl.h log-tls: convert to packet logger API 12 years ago
app-layer-tls-handshake.c app-layer-ssl: fix unusual memory leak 12 years ago
app-layer-tls-handshake.h
app-layer.c app-layer-event: refactor 12 years ago
app-layer.h app-layer: update UDP entry function 12 years ago
conf-yaml-loader.c When setting a sequence value, check for an existing node. 12 years ago
conf-yaml-loader.h
conf.c conf: fix potential use-after-free on error 12 years ago
conf.h Function to prune all non-final nodes from a configuration node. 12 years ago
counters.c counters: fix 2 scan-build warnings 12 years ago
counters.h Counters: move perf critical var to the top of the SCPerfContext struct 12 years ago
data-queue.c
data-queue.h Align some structures to cacheline 12 years ago
debug.h
decode-ethernet.c Correct coding style in decode-ethernet.c 12 years ago
decode-ethernet.h
decode-events.c app-layer-event: refactor 12 years ago
decode-events.h ipv4 decoder: set 'invalid' event on icmpv6 12 years ago
decode-gre.c Set packet invalid flag during decoding. 12 years ago
decode-gre.h
decode-icmpv4.c Remove pkt variable from Packet structure. 12 years ago
decode-icmpv4.h Rename checksums to level3_comp_csum and level4_comp_csum. 12 years ago
decode-icmpv6.c Don't alert on valid ICMP6 solicit/advert messages. 12 years ago
decode-icmpv6.h Don't alert on valid ICMP6 solicit/advert messages. 12 years ago
decode-ipv4.c ipv4 decoder: set 'invalid' event on icmpv6 12 years ago
decode-ipv4.h Rename checksums to level3_comp_csum and level4_comp_csum. 12 years ago
decode-ipv6.c Set packet invalid flag during decoding. 12 years ago
decode-ipv6.h
decode-ppp.c Set packet invalid flag during decoding. 12 years ago
decode-ppp.h
decode-pppoe.c Set packet invalid flag during decoding. 12 years ago
decode-pppoe.h
decode-raw.c Set packet invalid flag during decoding. 12 years ago
decode-raw.h
decode-sctp.c Set packet invalid flag during decoding. 12 years ago
decode-sctp.h
decode-sll.c Set packet invalid flag during decoding. 12 years ago
decode-sll.h
decode-tcp.c Set packet invalid flag during decoding. 12 years ago
decode-tcp.h Rename checksums to level3_comp_csum and level4_comp_csum. 12 years ago
decode-teredo.c decode: PacketTunnelPktSetup replaces PacketPseudoPktSetup 12 years ago
decode-teredo.h
decode-udp.c app-layer: update UDP entry function 12 years ago
decode-udp.h Rename checksums to level3_comp_csum and level4_comp_csum. 12 years ago
decode-vlan.c Set packet invalid flag during decoding. 12 years ago
decode-vlan.h
decode.c CUDA: Fix header file resolution issues. 12 years ago
decode.h profiling: conditional rule profiling 12 years ago
defrag-config.c defrag: update radix usage 12 years ago
defrag-config.h feature #417: add support for configuration per host timeout value 12 years ago
defrag-hash.c feature #417: add support for configuration per host timeout value 12 years ago
defrag-hash.h
defrag-queue.c
defrag-queue.h
defrag-timeout.c Coverity 1038095: remove dead code from defrag hash timeout code 12 years ago
defrag-timeout.h
defrag.c More concise API for setting config values that 12 years ago
defrag.h defrag: don't modify packet if defrag fails 12 years ago
detect-ack.c Coverity 1038115: memory leak on 'ack' keyword parsing failure 13 years ago
detect-ack.h
detect-app-layer-event.c Pass ThreadVars ptr to various thread init funcs 12 years ago
detect-app-layer-event.h app layer: uint16_t alproto -> AppProto alproto 12 years ago
detect-app-layer-protocol.c app layer: uint16_t alproto -> AppProto alproto 12 years ago
detect-app-layer-protocol.h app layer: uint16_t alproto -> AppProto alproto 12 years ago
detect-asn1.c
detect-asn1.h
detect-byte-extract.c Add app layer protocol packet event detection support. 12 years ago
detect-byte-extract.h
detect-bytejump.c Content: set up sticky buffers like file_data and dce_stub_data w/o flags, but with a list variable 13 years ago
detect-bytejump.h
detect-bytetest.c Content: set up sticky buffers like file_data and dce_stub_data w/o flags, but with a list variable 13 years ago
detect-bytetest.h
detect-classtype.c Fix small memory leak in classtype parsing 12 years ago
detect-classtype.h
detect-content.c Remove pkt variable from Packet structure. 12 years ago
detect-content.h content: reorder DetectContentData member, shrinking the struct from 64 to 48 bytes. 12 years ago
detect-csum.c Remove pkt variable from Packet structure. 12 years ago
detect-csum.h
detect-dce-iface.c Update tests to use AppLayerParserThreadCtx ptr instead of void. Fix a few bugs uncovered by this. 12 years ago
detect-dce-iface.h
detect-dce-opnum.c Update tests to use AppLayerParserThreadCtx ptr instead of void. Fix a few bugs uncovered by this. 12 years ago
detect-dce-opnum.h
detect-dce-stub-data.c Update tests to use AppLayerParserThreadCtx ptr instead of void. Fix a few bugs uncovered by this. 12 years ago
detect-dce-stub-data.h
detect-depth.c Content: set up sticky buffers like file_data and dce_stub_data w/o flags, but with a list variable 13 years ago
detect-depth.h
detect-detection-filter.c Coverity 1038133 fix 12 years ago
detect-detection-filter.h
detect-distance.c Content: set up sticky buffers like file_data and dce_stub_data w/o flags, but with a list variable 13 years ago
detect-distance.h
detect-dns-query.c app-layer: parser cleanup 12 years ago
detect-dns-query.h DNS: enable mpm/fast_pattern support for dns_query 13 years ago
detect-dsize.c Remove pkt variable from Packet structure. 12 years ago
detect-dsize.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 Fix address parsing issues 12 years ago
detect-engine-address.h
detect-engine-alert.c profiling: add tracking of missing keywords 12 years ago
detect-engine-alert.h Store TX id with alerts 12 years ago
detect-engine-analyzer.c Use a typdef AppProto <-> uint16_t for representing app layer protocol. 12 years ago
detect-engine-analyzer.h
detect-engine-apt-event.c app layer: uint16_t alproto -> AppProto alproto 12 years ago
detect-engine-apt-event.h Introduce a separate inspection engine for app events. 12 years ago
detect-engine-content-inspection.c lua: push correct length back through ScFlowvarGet, work around valgrind warning 12 years ago
detect-engine-content-inspection.h DNS: adding dns_request content modifier 13 years ago
detect-engine-dcepayload.c Update tests to use AppLayerParserThreadCtx ptr instead of void. Fix a few bugs uncovered by this. 12 years ago
detect-engine-dcepayload.h
detect-engine-dns.c DNS: enable mpm/fast_pattern support for dns_query 13 years ago
detect-engine-dns.h DNS: adding dns_request content modifier 13 years ago
detect-engine-event.c Remove pkt variable from Packet structure. 12 years ago
detect-engine-event.h ipv4 decoder: set 'invalid' event on icmpv6 12 years ago
detect-engine-file.c profiling: add tracking of missing keywords 12 years ago
detect-engine-file.h Transaction engine redesigned. 13 years ago
detect-engine-hcbd.c Update tests to use AppLayerParserThreadCtx ptr instead of void. Fix a few bugs uncovered by this. 12 years ago
detect-engine-hcbd.h Transaction engine redesigned. 13 years ago
detect-engine-hcd.c Update tests to use AppLayerParserThreadCtx ptr instead of void. Fix a few bugs uncovered by this. 12 years ago
detect-engine-hcd.h Transaction engine redesigned. 13 years ago
detect-engine-hhd.c Update tests to use AppLayerParserThreadCtx ptr instead of void. Fix a few bugs uncovered by this. 12 years ago
detect-engine-hhd.h Transaction engine redesigned. 13 years ago
detect-engine-hhhd.c Update tests to use AppLayerParserThreadCtx ptr instead of void. Fix a few bugs uncovered by this. 12 years ago
detect-engine-hhhd.h Transaction engine redesigned. 13 years ago
detect-engine-hmd.c Update tests to use AppLayerParserThreadCtx ptr instead of void. Fix a few bugs uncovered by this. 12 years ago
detect-engine-hmd.h Transaction engine redesigned. 13 years ago
detect-engine-hrhd.c Update tests to use AppLayerParserThreadCtx ptr instead of void. Fix a few bugs uncovered by this. 12 years ago
detect-engine-hrhd.h Transaction engine redesigned. 13 years ago
detect-engine-hrhhd.c Update tests to use AppLayerParserThreadCtx ptr instead of void. Fix a few bugs uncovered by this. 12 years ago
detect-engine-hrhhd.h Transaction engine redesigned. 13 years ago
detect-engine-hrud.c Update tests to use AppLayerParserThreadCtx ptr instead of void. Fix a few bugs uncovered by this. 12 years ago
detect-engine-hrud.h Transaction engine redesigned. 13 years ago
detect-engine-hsbd.c Update tests to use AppLayerParserThreadCtx ptr instead of void. Fix a few bugs uncovered by this. 12 years ago
detect-engine-hsbd.h Transaction engine redesigned. 13 years ago
detect-engine-hscd.c Update tests to use AppLayerParserThreadCtx ptr instead of void. Fix a few bugs uncovered by this. 12 years ago
detect-engine-hscd.h Transaction engine redesigned. 13 years ago
detect-engine-hsmd.c Update tests to use AppLayerParserThreadCtx ptr instead of void. Fix a few bugs uncovered by this. 12 years ago
detect-engine-hsmd.h Transaction engine redesigned. 13 years ago
detect-engine-hua.c Update tests to use AppLayerParserThreadCtx ptr instead of void. Fix a few bugs uncovered by this. 12 years ago
detect-engine-hua.h Transaction engine redesigned. 13 years ago
detect-engine-iponly.c detect ip-only: update radix usage 12 years ago
detect-engine-iponly.h
detect-engine-mpm.c stream msg: remove structure 12 years ago
detect-engine-mpm.h remove unused pattern id assignment functions. Goodbye 13 years ago
detect-engine-payload.c Modify handling of negated content. 12 years ago
detect-engine-payload.h
detect-engine-port.c port parsing: improve memory handling 12 years ago
detect-engine-port.h
detect-engine-proto.c Support for feature #983. 12 years ago
detect-engine-proto.h
detect-engine-siggroup.c Fix realloc error handling 12 years ago
detect-engine-siggroup.h
detect-engine-sigorder.c Bug 1061: fix multiple vars per sig in ordering 12 years ago
detect-engine-sigorder.h Improve Signature sorting speed 12 years ago
detect-engine-state.c profiling: conditional rule profiling 12 years ago
detect-engine-state.h app layer: uint16_t alproto -> AppProto alproto 12 years ago
detect-engine-tag.c tag: fix session seconds tracking 12 years ago
detect-engine-tag.h tag: fix session seconds tracking 12 years ago
detect-engine-threshold.c Split Thresholds and Suppression 12 years ago
detect-engine-threshold.h threshold: register threshold host storage. Related to bug #991 12 years ago
detect-engine-uri.c Update tests to use AppLayerParserThreadCtx ptr instead of void. Fix a few bugs uncovered by this. 12 years ago
detect-engine-uri.h Transaction engine redesigned. 13 years ago
detect-engine.c Bug 980: fix HTTP memory cleanup at shutdown 12 years ago
detect-engine.h app layer: uint16_t alproto -> AppProto alproto 12 years ago
detect-fast-pattern.c Minor code cleanup/fixes to fast pattern unittests 12 years ago
detect-fast-pattern.h
detect-file-data.c Content: set up sticky buffers like file_data and dce_stub_data w/o flags, but with a list variable 13 years ago
detect-file-data.h
detect-fileext.c fileext: make case insensitive 12 years ago
detect-fileext.h
detect-filemagic.c
detect-filemagic.h
detect-filemd5.c
detect-filemd5.h
detect-filename.c
detect-filename.h
detect-filesize.c
detect-filesize.h
detect-filestore.c App layer API rewritten. The main files in question are: 12 years ago
detect-filestore.h
detect-flags.c Remove pkt variable from Packet structure. 12 years ago
detect-flags.h
detect-flow.c Convert flow keyword parsing to use pcre_copy_substring 12 years ago
detect-flow.h
detect-flowbits.c Remove pkt variable from Packet structure. 12 years ago
detect-flowbits.h
detect-flowint.c flowint: further setup fixes and cleanups 12 years ago
detect-flowint.h
detect-flowvar.c error checking: add missing alloc error treatment 12 years ago
detect-flowvar.h luajit flowvar support 13 years ago
detect-fragbits.c Pass ThreadVars ptr to various thread init funcs 12 years ago
detect-fragbits.h
detect-fragoffset.c Remove pkt variable from Packet structure. 12 years ago
detect-fragoffset.h
detect-ftpbounce.c Update tests to use AppLayerParserThreadCtx ptr instead of void. Fix a few bugs uncovered by this. 12 years ago
detect-ftpbounce.h
detect-geoip.c geoip: never try to store more locations than possible (Coverity 1038517) 12 years ago
detect-geoip.h
detect-gid.c Generate proper errors if sid,gid,rev values are out of range. Bug #779. 12 years ago
detect-gid.h
detect-http-client-body.c Update tests to use AppLayerParserThreadCtx ptr instead of void. Fix a few bugs uncovered by this. 12 years ago
detect-http-client-body.h
detect-http-cookie.c Update tests to use AppLayerParserThreadCtx ptr instead of void. Fix a few bugs uncovered by this. 12 years ago
detect-http-cookie.h
detect-http-header.c Update tests to use AppLayerParserThreadCtx ptr instead of void. Fix a few bugs uncovered by this. 12 years ago
detect-http-header.h
detect-http-hh.c Update tests to use AppLayerParserThreadCtx ptr instead of void. Fix a few bugs uncovered by this. 12 years ago
detect-http-hh.h
detect-http-hrh.c Update tests to use AppLayerParserThreadCtx ptr instead of void. Fix a few bugs uncovered by this. 12 years ago
detect-http-hrh.h
detect-http-method.c Update tests to use AppLayerParserThreadCtx ptr instead of void. Fix a few bugs uncovered by this. 12 years ago
detect-http-method.h
detect-http-raw-header.c Update tests to use AppLayerParserThreadCtx ptr instead of void. Fix a few bugs uncovered by this. 12 years ago
detect-http-raw-header.h
detect-http-raw-uri.c
detect-http-raw-uri.h
detect-http-server-body.c Update tests to use AppLayerParserThreadCtx ptr instead of void. Fix a few bugs uncovered by this. 12 years ago
detect-http-server-body.h
detect-http-stat-code.c Update tests to use AppLayerParserThreadCtx ptr instead of void. Fix a few bugs uncovered by this. 12 years ago
detect-http-stat-code.h
detect-http-stat-msg.c Update tests to use AppLayerParserThreadCtx ptr instead of void. Fix a few bugs uncovered by this. 12 years ago
detect-http-stat-msg.h
detect-http-ua.c Update tests to use AppLayerParserThreadCtx ptr instead of void. Fix a few bugs uncovered by this. 12 years ago
detect-http-ua.h
detect-http-uri.c
detect-http-uri.h
detect-icmp-id.c icmpv6: fix icmp_id and icmp_seq keywords 12 years ago
detect-icmp-id.h
detect-icmp-seq.c icmpv6: fix icmp_id and icmp_seq keywords 12 years ago
detect-icmp-seq.h
detect-icode.c
detect-icode.h
detect-id.c
detect-id.h
detect-ipopts.c Remove pkt variable from Packet structure. 12 years ago
detect-ipopts.h
detect-ipproto.c Remove pkt variable from Packet structure. 12 years ago
detect-ipproto.h
detect-iprep.c iprep: fix reputation loading and reloading 12 years ago
detect-iprep.h
detect-isdataat.c DNS: convert dns_query to sticky buffer 13 years ago
detect-isdataat.h
detect-itype.c
detect-itype.h
detect-l3proto.c More PacketGetFromMalloc() to allocate packets. 13 years ago
detect-l3proto.h
detect-luajit-extensions.c lua: push correct length back through ScFlowvarGet, work around valgrind warning 12 years ago
detect-luajit-extensions.h luajit flowvar support 13 years ago
detect-luajit.c Update tests to use AppLayerParserThreadCtx ptr instead of void. Fix a few bugs uncovered by this. 12 years ago
detect-luajit.h luajit: pass calling rule's sid,gid,rev to script as SCRuleSid, SCRuleGid, SCRuleRev. 12 years ago
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 Content: set up sticky buffers like file_data and dce_stub_data w/o flags, but with a list variable 13 years ago
detect-nocase.h
detect-offset.c Content: set up sticky buffers like file_data and dce_stub_data w/o flags, but with a list variable 13 years ago
detect-offset.h
detect-parse.c Fix address parsing issues 12 years ago
detect-parse.h app layer: uint16_t alproto -> AppProto alproto 12 years ago
detect-pcre.c Fix compiler warning: 12 years ago
detect-pcre.h pcre: parsing cleanup 12 years ago
detect-pkt-data.c Content: set up sticky buffers like file_data and dce_stub_data w/o flags, but with a list variable 13 years ago
detect-pkt-data.h
detect-pktvar.c
detect-pktvar.h
detect-priority.c
detect-priority.h
detect-rawbytes.c Content: set up sticky buffers like file_data and dce_stub_data w/o flags, but with a list variable 13 years ago
detect-rawbytes.h
detect-reference.c Convert reference keyword to pcre_copy_substring 12 years ago
detect-reference.h
detect-replace.c Pass ThreadVars ptr to various thread init funcs 12 years ago
detect-replace.h
detect-rev.c Generate proper errors if sid,gid,rev values are out of range. Bug #779. 12 years ago
detect-rev.h
detect-rpc.c
detect-rpc.h
detect-sameip.c
detect-sameip.h
detect-seq.c Coverity 1038124: memory leak on 'seq' keyword parsing failure 13 years ago
detect-seq.h
detect-sid.c Generate proper errors if sid,gid,rev values are out of range. Bug #779. 12 years ago
detect-sid.h
detect-simd.c app layer: uint16_t alproto -> AppProto alproto 12 years ago
detect-ssh-proto-version.c Disabling the ssh parser temporarily, since we are moving away from some 12 years ago
detect-ssh-proto-version.h
detect-ssh-software-version.c Disabling the ssh parser temporarily, since we are moving away from some 12 years ago
detect-ssh-software-version.h
detect-ssl-state.c Update tests to use AppLayerParserThreadCtx ptr instead of void. Fix a few bugs uncovered by this. 12 years ago
detect-ssl-state.h
detect-ssl-version.c stream msg: remove structure 12 years ago
detect-ssl-version.h
detect-stream_size.c More PacketGetFromMalloc() to allocate packets. 13 years ago
detect-stream_size.h
detect-tag.c Clean up function syntax 12 years ago
detect-tag.h Clean up function syntax 12 years ago
detect-threshold.c Clean up function syntax 12 years ago
detect-threshold.h Clean up function syntax 12 years ago
detect-tls-version.c stream msg: remove structure 12 years ago
detect-tls-version.h
detect-tls.c tls: fix negated match 12 years ago
detect-tls.h
detect-tos.c
detect-tos.h
detect-ttl.c More PacketGetFromMalloc() to allocate packets. 13 years ago
detect-ttl.h
detect-uricontent.c stream msg: remove structure 12 years ago
detect-uricontent.h Transaction engine redesigned. 13 years ago
detect-urilen.c Update tests to use AppLayerParserThreadCtx ptr instead of void. Fix a few bugs uncovered by this. 12 years ago
detect-urilen.h
detect-window.c
detect-window.h
detect-within.c Content: set up sticky buffers like file_data and dce_stub_data w/o flags, but with a list variable 13 years ago
detect-within.h
detect.c profiling: conditional rule profiling 12 years ago
detect.h app layer: uint16_t alproto -> AppProto alproto 12 years ago
flow-bit.c Formatting and comment updates in flow files 12 years ago
flow-bit.h vars: optimize layout to reduce size requirements of flowbits and other vars 12 years ago
flow-hash.c Add const for Packet * in flow functions. 12 years ago
flow-hash.h Add const for Packet * in flow functions. 12 years ago
flow-manager.c flow-time: handle detect-less case 12 years ago
flow-manager.h Use Spin locks on Tile 12 years ago
flow-private.h Restructured flow_proto mapping enums. 12 years ago
flow-queue.c Formatting change for function call. 12 years ago
flow-queue.h
flow-storage.c Use unlikely in malloc failure test. 12 years ago
flow-storage.h Storage: rename Init to Alloc to reflect actual functioning. Comment updates. 12 years ago
flow-timeout.c flow-time: handle detect-less case 12 years ago
flow-timeout.h flow-time: handle detect-less case 12 years ago
flow-util.c App layer API rewritten. The main files in question are: 12 years ago
flow-util.h App Layer: fix memory leaks 12 years ago
flow-var.c flowvar/flowint: split set functions into normal and NoLock version, where the latter won't lock the flow. 13 years ago
flow-var.h vars: optimize layout to reduce size requirements of flowbits and other vars 12 years ago
flow.c App Layer: cleanup state func naming 12 years ago
flow.h Flow: fix flow reference cnt issues 12 years ago
host-queue.c
host-queue.h
host-storage.c Use unlikely in malloc failure test. 12 years ago
host-storage.h Storage: rename Init to Alloc to reflect actual functioning. Comment updates. 12 years ago
host-timeout.c Coverity 1038101: remove dead code from host hash timeout code 12 years ago
host-timeout.h
host.c Coverity 1038102: remove dead code from host hash 12 years ago
host.h Support for Tile Gx atomic instructions 12 years ago
log-dnslog.c output: add TM_FLAG_LOGAPI_TM thread module flag 12 years ago
log-dnslog.h dns log: cleanups 12 years ago
log-droplog.c output: add TM_FLAG_LOGAPI_TM thread module flag 12 years ago
log-droplog.h
log-file.c output: add TM_FLAG_LOGAPI_TM thread module flag 12 years ago
log-file.h
log-filestore.c output: add TM_FLAG_LOGAPI_TM thread module flag 12 years ago
log-filestore.h
log-httplog.c output: add TM_FLAG_LOGAPI_TM thread module flag 12 years ago
log-httplog.h
log-pcap.c error checking: add missing alloc error treatment 12 years ago
log-pcap.h
log-tlslog.c output: add TM_FLAG_LOGAPI_TM thread module flag 12 years ago
log-tlslog.h log-tls: clean ups 12 years ago
output-file.c profiling: support log api 12 years ago
output-file.h log api: convert all names to const 12 years ago
output-filedata.c profiling: support log api 12 years ago
output-filedata.h log api: convert all names to const 12 years ago
output-json-alert.c output: add TM_FLAG_LOGAPI_TM thread module flag 12 years ago
output-json-alert.h alert-json: make full module out of json alert 12 years ago
output-json-dns.c json dns: fix tx logic 12 years ago
output-json-dns.h json dns: rename output-dnslog -> output-json-dns 12 years ago
output-json-drop.c output: add TM_FLAG_LOGAPI_TM thread module flag 12 years ago
output-json-drop.h json tls log: rename to output-json-tls 12 years ago
output-json-file.c output: add TM_FLAG_LOGAPI_TM thread module flag 12 years ago
output-json-file.h json outputs: cleanups 12 years ago
output-json-http.c output: add TM_FLAG_LOGAPI_TM thread module flag 12 years ago
output-json-http.h json: rename output-httplog -> output-json-http 12 years ago
output-json-tls.c output: add TM_FLAG_LOGAPI_TM thread module flag 12 years ago
output-json-tls.h json tls log: rename to output-json-tls 12 years ago
output-json.c json: add event_type key 12 years ago
output-json.h Add option on Tile-Gx for logging for fast.log alerts over PCIe 12 years ago
output-packet.c profiling: support log api 12 years ago
output-packet.h log api: convert all names to const 12 years ago
output-tx.c profiling: support log api 12 years ago
output-tx.h log api: use AppProto instead of uint16_t 12 years ago
output.c output: check for multiple instances of drop and tls 12 years ago
output.h output: check for multiple instances of drop and tls 12 years ago
packet-queue.c
packet-queue.h
pkt-var.c
pkt-var.h
ptxdump.py
queue.h
reputation.c unused reputation: radix update 12 years ago
reputation.h
respond-reject-libnet11.c Coverity 1100842: add missing return statement 12 years ago
respond-reject-libnet11.h Add reject for IPv6 12 years ago
respond-reject.c reject: try to fail more gracefully 12 years ago
respond-reject.h
runmode-af-packet.c af-packet: init correctly the config structure 12 years ago
runmode-af-packet.h
runmode-erf-dag.c Remove all cuda related code in the engine except for the cuda api wrappers 13 years ago
runmode-erf-dag.h
runmode-erf-file.c update runmodes to handle detect-less 12 years ago
runmode-erf-file.h
runmode-ipfw.c Remove all cuda related code in the engine except for the cuda api wrappers 13 years ago
runmode-ipfw.h
runmode-napatech.c
runmode-napatech.h
runmode-nfq.c Remove all cuda related code in the engine except for the cuda api wrappers 13 years ago
runmode-nfq.h
runmode-pcap-file.c update runmodes to handle detect-less 12 years ago
runmode-pcap-file.h
runmode-pcap.c Remove all cuda related code in the engine except for the cuda api wrappers 13 years ago
runmode-pcap.h
runmode-pfring.c error checking: add missing alloc error treatment 12 years ago
runmode-pfring.h
runmode-tile.c update runmodes to handle detect-less 12 years ago
runmode-tile.h Cleanup Tile build for -Werror 12 years ago
runmode-unittests.c App layer API rewritten. The main files in question are: 12 years ago
runmode-unittests.h Suppress Suri prefix. 12 years ago
runmode-unix-socket.c error checking: add missing alloc error treatment 12 years ago
runmode-unix-socket.h
runmodes.c output: simple name space support for sub modules 12 years ago
runmodes.h engine analysis is a running mode 12 years ago
source-af-packet.c af-packet: no VLAN id from msg header for old kernel 12 years ago
source-af-packet.h
source-erf-dag.c Pass ThreadVars ptr to various thread init funcs 12 years ago
source-erf-dag.h erf-dag: fix typo in header guard 12 years ago
source-erf-file.c Pass ThreadVars ptr to various thread init funcs 12 years ago
source-erf-file.h
source-ipfw.c Pass ThreadVars ptr to various thread init funcs 12 years ago
source-ipfw.h
source-mpipe.c fix size_t printing 12 years ago
source-mpipe.h Add TILE-Gx mPIPE packet processing support. 12 years ago
source-napatech.c Pass ThreadVars ptr to various thread init funcs 12 years ago
source-napatech.h
source-nfq-prototypes.h
source-nfq.c Pass ThreadVars ptr to various thread init funcs 12 years ago
source-nfq.h nfq: be sure to always verdict packets 12 years ago
source-pcap-file.c Pass ThreadVars ptr to various thread init funcs 12 years ago
source-pcap-file.h pcap-file: add checksum-checks configuration variable 12 years ago
source-pcap.c Pass ThreadVars ptr to various thread init funcs 12 years ago
source-pcap.h
source-pfring.c Pass ThreadVars ptr to various thread init funcs 12 years ago
source-pfring.h
stream-tcp-inline.c
stream-tcp-inline.h
stream-tcp-private.h stream: add option to disable raw reassembly 12 years ago
stream-tcp-reassemble.c stream: add performance output for stream pools 12 years ago
stream-tcp-reassemble.h stream: use reassembly.memcap for stream chunks 12 years ago
stream-tcp-sack.c stream: in SACK, always decrease memcap on free 12 years ago
stream-tcp-sack.h
stream-tcp-util.c Pass ThreadVars ptr to various thread init funcs 12 years ago
stream-tcp-util.h
stream-tcp.c stream: silence stream.reassembly.raw message 12 years ago
stream-tcp.h Packet logging API: convert unified2 12 years ago
stream.c stream: add performance output for stream pools 12 years ago
stream.h stream: configurable stream chunk prealloc 12 years ago
suricata-common.h Cygwin: fix compilation 12 years ago
suricata.c Add a --set command line option to set/override a configuration value. 12 years ago
suricata.h Add --disable-detection commandline option 12 years ago
threads-arch-tile.h Cleanup Tile build for -Werror 12 years ago
threads-debug.h locks: clean up locks declarations 12 years ago
threads-profile.h locks: clean up locks declarations 12 years ago
threads.c
threads.h locks: clean up locks declarations 12 years ago
threadvars.h Use Spin locks on Tile 12 years ago
tm-modules.c Add option on Tile-Gx for logging for fast.log alerts over PCIe 12 years ago
tm-modules.h Add option on Tile-Gx for logging for fast.log alerts over PCIe 12 years ago
tm-queuehandlers.c
tm-queuehandlers.h
tm-queues.c Runmode fixes and cleanups 12 years ago
tm-queues.h
tm-threads-common.h Add option on Tile-Gx for logging for fast.log alerts over PCIe 12 years ago
tm-threads.c Fix compilation on systems that use the fallback SC_ATOMIC_ API. 12 years ago
tm-threads.h Runmode fixes and cleanups 12 years ago
tmqh-flow.c Fix realloc error handling 12 years ago
tmqh-flow.h Revert TmqhFlowMode alignment as it breaks on CLANG 12 years ago
tmqh-nfq.c
tmqh-nfq.h
tmqh-packetpool.c profiling: end profiling tunnel packets inside lock 12 years ago
tmqh-packetpool.h Replace ReleaseData function on Packet Structure with ReleasePacket. 12 years ago
tmqh-ringbuffer.c Counters: more unused code removal 12 years ago
tmqh-ringbuffer.h
tmqh-simple.c Counters: more unused code removal 12 years ago
tmqh-simple.h
unix-manager.c Counters: fix unix socket 12 years ago
unix-manager.h Use Spin locks on Tile 12 years ago
util-action.c Formatting change for function call. 12 years ago
util-action.h
util-affinity.c
util-affinity.h Move header thread_affinity declaration to extern to avoid duplicate declarations. 12 years ago
util-atomic.c
util-atomic.h Support for Tile Gx atomic instructions 12 years ago
util-binsearch.c
util-binsearch.h
util-bloomfilter-counting.c
util-bloomfilter-counting.h
util-bloomfilter.c
util-bloomfilter.h
util-buffer.c
util-buffer.h
util-byte.c Introduce BytesToString utility 12 years ago
util-byte.h Introduce BytesToString utility 12 years ago
util-checksum.c Use %u for unsigned ints in checksum warning 12 years ago
util-checksum.h
util-cidr.c
util-cidr.h
util-classification-config.c Don't alloc for hash lookup in SCClassConfGetClasstype 12 years ago
util-classification-config.h
util-clock.h
util-conf.c More concise API for setting config values that 12 years ago
util-conf.h Prefix util-conf function with Config 12 years ago
util-coredump-config.c
util-coredump-config.h
util-cpu.c Formatting change for function call. 12 years ago
util-cpu.h
util-crypt.c
util-crypt.h
util-cuda-buffer.c Fix CUDA test warning. 12 years ago
util-cuda-buffer.h Modified CudaBufferCullCompletedSlices. 13 years ago
util-cuda-handlers.c Fix realloc error handling 12 years ago
util-cuda-handlers.h Version 1 of AC Cuda. 13 years ago
util-cuda-vars.c Minor cosmetic changes to the cuda code. 13 years ago
util-cuda-vars.h Minor cosmetic changes to the cuda code. 13 years ago
util-cuda.c Use unlikely in malloc failure test. 12 years ago
util-cuda.h update cuda API wrappers 13 years ago
util-daemon.c
util-daemon.h
util-debug-filters.c Create SCMUTEX_INITIALIZER to abstract out PTHREAD_MUTEX_INITIALIZER 12 years ago
util-debug-filters.h
util-debug.c Fix util-debug scan-build warnings 12 years ago
util-debug.h suricata: add -v[v] option to increase verbosity 12 years ago
util-decode-asn1.c Formatting change for function call. 12 years ago
util-decode-asn1.h
util-decode-der-get.c
util-decode-der-get.h
util-decode-der.c DER decoding: fix potential memory leak 12 years ago
util-decode-der.h
util-device.c util-device: use safe tailq foreach 12 years ago
util-device.h device list: clean and display stat at exit 12 years ago
util-enum.c
util-enum.h
util-error.c Add option on Tile-Gx for logging for fast.log alerts over PCIe 12 years ago
util-error.h Add option on Tile-Gx for logging for fast.log alerts over PCIe 12 years ago
util-file.c App layer API rewritten. The main files in question are: 12 years ago
util-file.h Transaction engine redesigned. 13 years ago
util-fix_checksum.c
util-fix_checksum.h
util-fmemopen.c
util-fmemopen.h
util-hash-lookup3.c
util-hash-lookup3.h
util-hash.c
util-hash.h
util-hashlist.c
util-hashlist.h
util-host-info.c Add new function to work on kernel version. 12 years ago
util-host-info.h Add new function to work on kernel version. 12 years ago
util-host-os-info.c host-os-info: update radix lookups 12 years ago
util-host-os-info.h
util-ioctl.c util-ioctl: ioctl error should be a warning 12 years ago
util-ioctl.h util-ioctl: add GRO/LRO detection capabilities 12 years ago
util-ip.c Added the new files containing the repeated functions 12 years ago
util-ip.h Added the new files containing the repeated functions 12 years ago
util-logopenfile-tile.c Add option on Tile-Gx for logging for fast.log alerts over PCIe 12 years ago
util-logopenfile-tile.h Add option on Tile-Gx for logging for fast.log alerts over PCIe 12 years ago
util-logopenfile.c Add option on Tile-Gx for logging for fast.log alerts over PCIe 12 years ago
util-logopenfile.h Add option on Tile-Gx for logging for fast.log alerts over PCIe 12 years ago
util-magic.c Fix filemagic unittests on OS_DARWIN 12 years ago
util-magic.h
util-mem.h Remove SCStrndup 12 years ago
util-memcmp.c
util-memcmp.h memcmp: convert all pointer arguments to be const pointers, like memcmp itself uses. 12 years ago
util-memrchr.c Fix valgrind warning on memrchr unittest. 12 years ago
util-memrchr.h Add a fallback memrchr implementation for those platforms that dont support it. Bug #963. 12 years ago
util-misc.c Convert ParseSizeString to use pcre_copy_substring 12 years ago
util-misc.h Change ParseSize api to not leak memory and only setup pcre once. 12 years ago
util-mpm-ac-bs.c App layer API rewritten. The main files in question are: 12 years ago
util-mpm-ac-bs.h
util-mpm-ac-cuda-kernel.cu Version 1 of AC Cuda. 13 years ago
util-mpm-ac-gfbs.c App layer API rewritten. The main files in question are: 12 years ago
util-mpm-ac-gfbs.h
util-mpm-ac-tile-small.c Fix make distcheck for Tile 12 years ago
util-mpm-ac-tile.c Fix PmqSetup() argument removal in ac-tile MPM unit tests. 12 years ago
util-mpm-ac-tile.h Add 8-bit states to ac-tile 12 years ago
util-mpm-ac.c App layer API rewritten. The main files in question are: 12 years ago
util-mpm-ac.h CUDA: Fix header file resolution issues. 12 years ago
util-mpm-b2g.c Code cleanup. 12 years ago
util-mpm-b2g.h
util-mpm-b2gc.c Code cleanup. 12 years ago
util-mpm-b2gc.h
util-mpm-b2gm.c Code cleanup. 12 years ago
util-mpm-b2gm.h
util-mpm-b3g.c Code cleanup. 12 years ago
util-mpm-b3g.h
util-mpm-wumanber.c Code cleanup. 12 years ago
util-mpm-wumanber.h
util-mpm.c App layer API rewritten. The main files in question are: 12 years ago
util-mpm.h App layer API rewritten. The main files in question are: 12 years ago
util-optimize.h cppcheck: don't use likely/unlikely when -DCPPCHECK is passed to the checker 12 years ago
util-path.c
util-path.h
util-pidfile.c
util-pidfile.h
util-pool-thread.c fix size_t printing 12 years ago
util-pool-thread.h pool thread: undo CLS alignment 12 years ago
util-pool.c pool: rename data structure fields to stack 12 years ago
util-pool.h pool: rename data structure fields to stack 12 years ago
util-print.c Reduce time the file lock is held to write an alert to Fast.log 12 years ago
util-print.h Reduce time the file lock is held to write an alert to Fast.log 12 years ago
util-privs.c
util-privs.h
util-profiling-keywords.c profiling: when config is missing, keyword profiling is disabled 12 years ago
util-profiling-locks.c
util-profiling-locks.h
util-profiling-rules.c doxygen: document some functions 12 years ago
util-profiling.c profiling: output log api modules separately 12 years ago
util-profiling.h profiling: conditional rule profiling 12 years ago
util-proto-name.c error checking: add missing alloc error treatment 12 years ago
util-proto-name.h
util-radix-tree.c radix: update tests after API change 12 years ago
util-radix-tree.h radix: don't modify node prefix on lookup 12 years ago
util-random.c
util-random.h
util-reference-config.c
util-reference-config.h
util-ringbuffer.c
util-ringbuffer.h
util-rohash.c
util-rohash.h
util-rule-vars.c Fix address parsing issues 12 years ago
util-rule-vars.h
util-runmodes.c update runmodes to handle detect-less 12 years ago
util-runmodes.h Runmode fixes and cleanups 12 years ago
util-running-modes.c App layer API rewritten. The main files in question are: 12 years ago
util-running-modes.h Suppress Suri prefix. 12 years ago
util-signal.c
util-signal.h
util-spm-bm.c Reduce allocs in boyer moore prepare phase 12 years ago
util-spm-bm.h
util-spm-bs.c
util-spm-bs.h
util-spm-bs2bm.c
util-spm-bs2bm.h
util-spm.c Formatting change for function call. 12 years ago
util-spm.h
util-storage.c Use unlikely in malloc failure test. 12 years ago
util-storage.h Storage: rename Init to Alloc to reflect actual functioning. Comment updates. 12 years ago
util-strlcatu.c
util-strlcpyu.c
util-syslog.c Formatting change for function call. 12 years ago
util-syslog.h
util-threshold-config.c Fix realloc error handling 12 years ago
util-threshold-config.h
util-time.c Suppress compiler warning about comparing signed and unsigned vars 12 years ago
util-time.h Merge multiple copies of CreateTimeString() to one copy. 12 years ago
util-unittest-helper.c Use u8 for ipproto 12 years ago
util-unittest-helper.h Use u8 for ipproto 12 years ago
util-unittest.c
util-unittest.h
util-validate.h debug-validation: fix packet check 12 years ago
util-var-name.c vars: optimize layout to reduce size requirements of flowbits and other vars 12 years ago
util-var-name.h
util-var.c Formatting change for function call. 12 years ago
util-var.h vars: optimize layout to reduce size requirements of flowbits and other vars 12 years ago
util-vector.h
win32-misc.c
win32-misc.h
win32-service.c
win32-service.h
win32-syslog.h