Bug #5015
closed
http-ipv6: s-v test fails with false positives
Added by Juliana Fajardini Reichow almost 3 years ago.
Updated over 2 years ago.
Description
Currently, when I run s-v (master) with master (running on Ubuntu 20.04), I get:
===> http-ipv6: Sub test #1: FAIL : expected 0 matches; got 2 for filter {'count': 0, 'match': {'event_type': 'anomaly'}}
===> http-ipv6: Sub test #2: FAIL : expected 0 matches; got 1 for filter {'count': 0, 'match': {'event_type': 'alert'}}
--build-info output
This is Suricata version 7.0.0-dev (dff7e7d34 2022-01-25)
Features: PCAP_SET_BUFF AF_PACKET HAVE_PACKET_FANOUT LIBCAP_NG LIBNET1.1 HAVE_HTP_URI_NORMALIZE_HOOK PCRE_JIT HAVE_NSS HTTP2_DECOMPRESSION HAVE_LIBJANSSON TLS TLS_C11 MAGIC RUST
SIMD support: SSE_4_2 SSE_4_1 SSE_3
Atomic intrinsics: 1 2 4 8 16 byte(s)
64-bits, Little-endian architecture
GCC version 9.3.0, C version 201112
compiled with -fstack-protector-all
compiled with _FORTIFY_SOURCE=0
L1 cache line size (CLS)=64
thread local storage method: _Thread_local
compiled with LibHTP v0.5.36, linked against LibHTP v0.5.36
Suricata Configuration:
AF_PACKET support: yes
DPDK support: no
eBPF support: no
XDP support: no
PF_RING support: no
NFQueue support: no
NFLOG support: no
IPFW support: no
Netmap support: no
DAG enabled: no
Napatech enabled: no
WinDivert enabled: no
Unix socket enabled: yes
Detection enabled: yes
Libmagic support: yes
libjansson support: yes
hiredis support: no
hiredis async with libevent: no
PCRE jit: yes
LUA support: no
libluajit: no
GeoIP2 support: no
Non-bundled htp: no
Hyperscan support: no
Libnet support: yes
liblz4 support: yes
Rust support: yes
Rust strict mode: no
Rust compiler path: /home/jufajardini/.cargo/bin/rustc
Rust compiler version: rustc 1.57.0 (f1edd0429 2021-11-29)
Cargo path: /home/jufajardini/.cargo/bin/cargo
Cargo version: cargo 1.57.0 (b2e52d7ca 2021-10-21)
Cargo vendor: yes
Python support: yes
Python path: /usr/bin/python3
Python distutils yes
Python yaml yes
Install suricatactl: yes
Install suricatasc: yes
Install suricata-update: yes
Profiling enabled: no
Profiling locks enabled: no
Plugin support (experimental): yes
Development settings:
Coccinelle / spatch: no
Unit tests enabled: no
Debug output enabled: no
Debug validation enabled: no
Generic build parameters:
Installation prefix: /usr/local
Configuration directory: /usr/local/etc/suricata/
Log directory: /usr/local/var/log/suricata/
--prefix /usr/local
--sysconfdir /usr/local/etc
--localstatedir /usr/local/var
--datarootdir /usr/local/share
Host: x86_64-pc-linux-gnu
Compiler: ccache gcc (exec name) / g++ (real)
GCC Protect enabled: no
GCC march native enabled: yes
GCC Profile enabled: no
Position Independent Executable enabled: no
CFLAGS -fno-common -O0 -ggdb3 -Werror -Wchar-subscripts -fsanitize=address -fno-strict-aliasing -fstack-protector-all -fno-omit-frame-pointer -Wshadow -fPIC -std=c11 -march=native -I${srcdir}/../rust/gen -I${srcdir}/../rust/dist
PCAP_CFLAGS -I/usr/include
SECCFLAGS
- Status changed from New to Closed
According to Philippe, This seems to be a failure that happens when the local libhtp version isn't up-to-date.
Updating libhtp should get the tests back to passing.
Also available in: Atom
PDF