Project

General

Profile

Actions

Bug #3221

open

EBPFDeleteKey -- ERRCODE: SC_ERR_SYSCALL(50)

Added by Peter Manev over 4 years ago. Updated over 4 years ago.

Status:
Feedback
Priority:
Normal
Assignee:
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

Getting a good few of these -

[28254] 4/10/2019 -- 19:26:46 - (util-ebpf.c:135) <Warning> (EBPFDeleteKey) -- [ERRCODE: SC_ERR_SYSCALL(50)] - Unable to delete entry: No such file or directory (2)                                              
[28273] 4/10/2019 -- 19:27:02 - (util-ebpf.c:135) <Warning> (EBPFDeleteKey) -- [ERRCODE: SC_ERR_SYSCALL(50)] - Unable to delete entry: No such file or directory (2)

Will confirm back if is related to xdp filter version issue.

Running latest Suri (as of this test) on a Mellanox 40Gbp NIC, using 4.19 kernel- standard Buster with ETPro 5.0 ruleset.

suricata --build-info
This is Suricata version 5.0.0-dev (1e50b2e40 2019-10-04)
Features: 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 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 199901
compiled with _FORTIFY_SOURCE=0
L1 cache line size (CLS)=64
thread local storage method: __thread
compiled with LibHTP v0.5.31, linked against LibHTP v0.5.31

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:                   no
  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.38.0 (625451e37 2019-09-23)
  Cargo path:                              /root/.cargo/bin/cargo
  Cargo version:                           cargo 1.38.0 (23ef9a4ef 2019-08-20)

  Python support:                          yes
  Python path:                             /usr/bin/python3
  Python version:                          Python 3.7.3
  Python distutils                         no
  Python yaml                              no
  Install suricatactl:                     requires distutils
  Install suricatasc:                      requires distutils
  Install suricata-update:                 not bundled

  Profiling enabled:                       no
  Profiling locks enabled:                 no

Development settings:
  Coccinelle / spatch:                     no
  Unit tests enabled:                      no
  Debug output enabled:                    no
  Debug validation enabled:                no

Generic build parameters:
  Installation prefix:                     /usr
  Configuration directory:                 /etc/suricata/
  Log directory:                           /var/log/suricata/

  --prefix                                 /usr
  --sysconfdir                             /etc
  --localstatedir                          /var
  --datarootdir                            /usr/share

  Host:                                    x86_64-pc-linux-gnu
  Compiler:                                clang (exec name) / clang (real)
  GCC Protect enabled:                     no
  GCC march native enabled:                yes
  GCC Profile enabled:                     no
  Position Independent Executable enabled: no
  CFLAGS                                   -g -O2 -march=native -I${srcdir}/../rust/gen/c-headers
  PCAP_CFLAGS                               -I/usr/include
  SECCFLAGS                                

NIC:


  *-network:1
       description: Ethernet interface
       product: MT27800 Family [ConnectX-5]
       vendor: Mellanox Technologies
       physical id: 0.1
       bus info: pci@0000:5e:00.1
       logical name: ens2f1
       version: 00
       serial: ec:0d:9a:d9:04:df
       width: 64 bits
       clock: 33MHz
       capabilities: pciexpress vpd msix pm bus_master cap_list rom ethernet physical fibre autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=mlx5_core driverversion=5.0-0 duplex=full firmware=16.25.1020 (MT_0000000012) latency=0 link=yes multicast=yes port=fibre promiscuous=yes
       resources: irq:227 memory:ba000000-bbffffff memory:b9900000-b99fffff memory:b9000000-b97fffff

Actions #1

Updated by Andreas Herz over 4 years ago

  • Status changed from New to Feedback
  • Assignee set to Peter Manev
  • Target version set to TBD

Do you only get this with mellanox?
Do you see any other log messages on that system?

Actions

Also available in: Atom PDF