Project

General

Profile

Bug #3995

Updated by Victor Julien about 4 years ago

This run is specific to tls only(443) and ssh (23) 

 <pre> 
 Thread 1 (Thread 0x7f4cdd9e7700 (LWP 95418)): 
 #0    __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50 
 #1    0x00007f4d3ccbc535 in __GI_abort () at abort.c:79 
 #2    0x00007f4d3ccbc40f in __assert_fail_base (fmt=0x7f4d3ce1eee0 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0xffbfc0 <.str.11> "!((delta > 10000000ULL && delta > stream->window))",  
     file=0xffb920 <.str.1> "stream-tcp-reassemble.c", line=1057, function=<optimized out>) at assert.c:92 
 #3    0x00007f4d3ccca102 in __GI___assert_fail (assertion=0xffbfc0 <.str.11> "!((delta > 10000000ULL && delta > stream->window))", file=0xffb920 <.str.1> "stream-tcp-reassemble.c", line=1057,  
     function=0xffc020 <__PRETTY_FUNCTION__.AdjustToAcked> "uint32_t AdjustToAcked(const Packet *, const TcpSession *, const TcpStream *, const uint64_t, const uint32_t)") at assert.c:101 
 #4    0x0000000000b6bcde in AdjustToAcked (p=0x61e0ada0cc80, ssn=0x612062ffa4c0, stream=0x612062ffa550, app_progress=295, data_len=0) at stream-tcp-reassemble.c:1057 
 #5    0x0000000000b62ed4 in ReassembleUpdateAppLayer (tv=0x61200361ce40, ra_ctx=0x603019ea7890, ssn=0x612062ffa4c0, stream=0x7f4cdd9e39e0, p=0x61e0ada0cc80, dir=UPDATE_DIR_OPPOSING) at stream-tcp-reassemble.c:1100 
 #6    0x0000000000b6261c in StreamTcpReassembleAppLayer (tv=0x61200361ce40, ra_ctx=0x603019ea7890, ssn=0x612062ffa4c0, stream=0x612062ffa550, p=0x61e0ada0cc80, dir=UPDATE_DIR_OPPOSING) at stream-tcp-reassemble.c:1231 
 #7    0x0000000000b6a788 in StreamTcpReassembleHandleSegmentUpdateACK (tv=0x61200361ce40, ra_ctx=0x603019ea7890, ssn=0x612062ffa4c0, stream=0x612062ffa550, p=0x61e0ada0cc80) at stream-tcp-reassemble.c:1802 
 #8    0x0000000000b6a40a in StreamTcpReassembleHandleSegment (tv=0x61200361ce40, ra_ctx=0x603019ea7890, ssn=0x612062ffa4c0, stream=0x612062ffa4d0, p=0x61e0ada0cc80, pq=0x60600039c988) at stream-tcp-reassemble.c:1845 
 #9    0x0000000000b3ed3c in HandleEstablishedPacketToClient (tv=0x61200361ce40, ssn=0x612062ffa4c0, p=0x61e0ada0cc80, stt=0x60600039c980, pq=0x60600039c988) at stream-tcp.c:2445 
 #10 0x0000000000b00a3a in StreamTcpPacketStateEstablished (tv=0x61200361ce40, p=0x61e0ada0cc80, stt=0x60600039c980, ssn=0x612062ffa4c0, pq=0x60600039c988) at stream-tcp.c:2678 
 #11 0x0000000000ae3b2a in StreamTcpStateDispatch (tv=0x61200361ce40, p=0x61e0ada0cc80, stt=0x60600039c980, ssn=0x612062ffa4c0, pq=0x60600039c988, state=4 '\004') at stream-tcp.c:4672 
 #12 0x0000000000ada228 in StreamTcpPacket (tv=0x61200361ce40, p=0x61e0ada0cc80, stt=0x60600039c980, pq=0x60d0001fb960) at stream-tcp.c:4858 
 #13 0x0000000000ae4d2d in StreamTcp (tv=0x61200361ce40, p=0x61e0ada0cc80, data=0x60600039c980, pq=0x60d0001fb960) at stream-tcp.c:5194 
 #14 0x000000000098aa58 in FlowWorkerStreamTCPUpdate (tv=0x61200361ce40, fw=0x60d0001fb930, p=0x61e0ada0cc80, detect_thread=0x617000c94b00) at flow-worker.c:364 
 #15 0x00000000009897f6 in FlowWorker (tv=0x61200361ce40, p=0x61e0ada0cc80, data=0x60d0001fb930) at flow-worker.c:524 
 #16 0x0000000000b9545f in TmThreadsSlotVarRun (tv=0x61200361ce40, p=0x61e0ada0cc80, slot=0x6060013b85a0) at tm-threads.c:117 
 #17 0x0000000000ab54a3 in TmThreadsSlotProcessPkt (tv=0x61200361ce40, s=0x6060013b85a0, p=0x61e0ada0cc80) at ./tm-threads.h:192 
 #18 0x0000000000aae391 in AFPParsePacketV3 (ptv=0x61205e770040, pbd=0x7f4b1ba3f000, ppd=0x7f4b1ba5ea80) at source-af-packet.c:1113 
 #19 0x0000000000aaca08 in AFPWalkBlock (ptv=0x61205e770040, pbd=0x7f4b1ba3f000) at source-af-packet.c:1128 
 #20 0x0000000000aa4331 in AFPReadFromRingV3 (ptv=0x61205e770040) at source-af-packet.c:1178 
 #21 0x0000000000aa1f08 in ReceiveAFPLoop (tv=0x61200361ce40, data=0x61205e770040, slot=0x6060013b98c0) at source-af-packet.c:1571 
 #22 0x0000000000ba2d70 in TmThreadsSlotPktAcqLoop (td=0x61200361ce40) at tm-threads.c:312 
 #23 0x00007f4d3de3ffa3 in start_thread (arg=<optimized out>) at pthread_create.c:486 
 #24 0x00007f4d3cd934cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 
 </pre> 

 Full core information available privately. 
 See attached detailed info. 

 <pre> 
 suricata --build-info 
 This is Suricata version 6.0.0-dev (518e0e66c 2020-09-28) 
 Features: DEBUG_VALIDATION PCAP_SET_BUFF AF_PACKET HAVE_PACKET_FANOUT LIBCAP_NG LIBNET1.1 HAVE_HTP_URI_NORMALIZE_HOOK PCRE_JIT HAVE_NSS HAVE_LUA HAVE_LUAJIT 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 4.2.1 Compatible Clang 7.0.1 (tags/RELEASE_701/final), C version 201112 
 compiled with _FORTIFY_SOURCE=0 
 L1 cache line size (CLS)=64 
 thread local storage method: _Thread_local 
 compiled with LibHTP v0.5.34, linked against LibHTP v0.5.34 

 Suricata Configuration: 
   AF_PACKET support:                         yes 
   eBPF support:                              yes 
   XDP support:                               yes 
   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 
   libnss support:                            yes 
   libnspr support:                           yes 
   libjansson support:                        yes 
   hiredis support:                           no 
   hiredis async with libevent:               no 
   Prelude support:                           no 
   PCRE jit:                                  yes 
   LUA support:                               yes, through luajit 
   libluajit:                                 yes 
   GeoIP2 support:                            yes 
   Non-bundled htp:                           no 
   Old barnyard2 support:                    
   Hyperscan support:                         yes 
   Libnet support:                            yes 
   liblz4 support:                            yes 

   Rust support:                              yes 
   Rust strict mode:                          yes 
   Rust compiler path:                        /root/.cargo/bin/rustc 
   Rust compiler version:                     rustc 1.46.0 (04488afe3 2020-08-24) 
   Cargo path:                                /root/.cargo/bin/cargo 
   Cargo version:                             cargo 1.46.0 (149022b1d 2020-07-17) 
   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:                   not bundled 

   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:                  yes 

 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:                                  clang (exec name) / g++ (real) 
   GCC Protect enabled:                       no 
   GCC march native enabled:                  yes 
   GCC Profile enabled:                       no 
   Position Independent Executable enabled: no 
   CFLAGS                                     -ggdb3 -O0    -Wchar-subscripts -Wshadow -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -fno-strict-aliasing -fstack-protector-all -fsanitize=address -fno-omit-frame-pointer -Wno-unused-parameter -Wno-unused-function -std=c11 -march=native -I${srcdir}/../rust/gen -I${srcdir}/../rust/dist 
   PCAP_CFLAGS                                 -I/usr/include 
   SECCFLAGS       
 </pre>

Back