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/rust/src
Giuseppe Longo ba5e850264 sip: make pattern matching more robust
SIP and SSDP share method names like NOTIFY and SUBSCRIBE,
causing SSDP traffic to be misidentified as SIP.
Add a probing parser callback that checks for "SIP/" in the
payload before accepting a pattern match.

Example of a misidentified flow before the fix:
{"timestamp":"2014-02-27T19:44:43.164211+0100","flow_id":986757542077835,"event_type":"flow","src_ip":"192.168.1.1","src_port":9489,"dest_ip":"239.255.255.250
","dest_port":1900,"ip_v":4,"proto":"UDP","app_proto":"sip","flow":{"..."}}

After the fix:
{"timestamp":"2014-02-27T19:44:43.164211+0100","flow_id":986757542077835,"event_type":"flow","src_ip":"192.168.1.1","src_port":9489,"dest_ip":"239.255.255.250
","dest_port":1900,"ip_v":4,"proto":"UDP","app_proto":"failed","flow":{"..."}}

Ticket #8355
3 months ago
..
applayertemplate rust: format applayertemplate files 4 months ago
asn1 rust: format asn1 files 4 months ago
bittorrent_dht rust: format bittorrent_dht files 4 months ago
dcerpc detect/dcerpc: avoids FP on dcerpc.iface keyword 4 months ago
detect detect/transforms: dotprefix can be chained 4 months ago
dhcp dhcp: support option 52 overload 3 months ago
dnp3 detect: dnp3.func is now a generic integer 10 months ago
dns llmnr: implement parser 3 months ago
enip rust: format enip files 4 months ago
ffi rust: format ffi files 4 months ago
ftp rust: format ftp files 4 months ago
http2 http2: replace state todrop with a dedicated boolean 3 months ago
ike rust: format ike files 4 months ago
krb detect: helper for buffer register requires progress 5 months ago
ldap rust: format ldap files 4 months ago
llmnr llmnr: implement logger 3 months ago
mdns rust: use snake case for applayer_register_protocol_detection 9 months ago
mime rust: format mime files 4 months ago
modbus rust: format modbus files 4 months ago
mqtt rust: format mqtt files 4 months ago
nfs rust: format nfs files 4 months ago
ntp rust: format ntp files 4 months ago
pgsql rust: format pgsql files 4 months ago
pop3 rust: move AppLayerTxData definition to C 7 months ago
quic rust: format quic files 4 months ago
rdp rust: format rdp files 3 months ago
rfb rust: format rfb files 4 months ago
sctp detect/sctp: add sctp.chunk_type keyword 3 months ago
sdp rust: format sdp files 3 months ago
sip sip: make pattern matching more robust 3 months ago
smb rust: replace helper with built-in 3 months ago
snmp rust: format snmp files 3 months ago
ssh rust: format ssh files 4 months ago
telnet rust: format telnet files 3 months ago
tftp rust: format tftp files 3 months ago
utils rust: format utils files 4 months ago
websocket rust: format websocket files 4 months ago
x509 rust: format x509 files 3 months ago
applayer.rs rust/ffi: move AppLayerTxData to ffi 4 months ago
common.rs rust: remove unused function 4 months ago
conf.rs rust/ffi: move conf_get_bool helper to ffi crate 5 months ago
core.rs rust/ffi: move txdata flags to ffi 4 months ago
debug.rs rust/ffi: move debug validations macros to ffi 4 months ago
encryption.rs rust: from_str implementation for EncryptionHandling 8 months ago
feature.rs rust: bindgen functions neede for features 10 months ago
filecontainer.rs rust: bindgen more file functions 10 months ago
filetracker.rs rust/doc: add docstring to rust module files. 3 years ago
flow.rs flow: turn flags field into uint64_t 7 months ago
frames.rs rust: move StreamSlice definition to C 7 months ago
handshake.rs output/tls: Allow logging of sv-handshake params 1 year ago
ja4.rs tls: Integrate ALPNs into HandshakeParams object 1 year ago
jsonbuilder.rs rust/ffi: move debug validations macros to ffi 4 months ago
kerberos.rs rust: fix compiler warning for confusing lifetimes 1 year ago
lib.rs detect/sctp: add sctp.chunk_type keyword 3 months ago
lua.rs rust/lua: add method for pushing bytes 4 months ago
lzma.rs rust/doc: add docstring to rust module files. 3 years ago
tls_version.rs tls: Move tls-versions to rust 1 year ago
util.rs misc: time unit parsing function 8 months ago