[Oisf-users] Problem with luajit under FreeBSD

C. L. Martinez carlopmart at gmail.com
Fri Dec 29 18:24:19 UTC 2017


Hi all,

 This is an ancient problem: https://marc.info/?l=oisf-users&m=145311210230113&w=2. I have tried to modify flow settings without luck. Host is FreeBSD 11.1 fully patched and error is:

29/12/2017 -- 18:21:09 - <Info> - CPUs/cores online: 2
29/12/2017 -- 18:21:09 - <Error> - [ERRCODE: SC_ERR_POOL_INIT(66)] - alloc error
29/12/2017 -- 18:21:09 - <Error> - [ERRCODE: SC_ERR_LUA_ERROR(212)] - luastate pool init failed, lua/luajit keywords won't work

 Build info:

This is Suricata version 4.0.3 RELEASE
Features: IPFW PCAP_SET_BUFF NETMAP HAVE_PACKET_FANOUT LIBNET1.1 HAVE_HTP_URI_NORMALIZE_HOOK PCRE_JIT HAVE_NSS HAVE_LUA HAVE_LUAJIT HAVE_LIBJANSSON PROFILING TLS MAGIC 
SIMD support: none
Atomic intrisics: 1 2 4 8 byte(s)
64-bits, Little-endian architecture
GCC version 4.2.1 Compatible FreeBSD Clang 5.0.0 (tags/RELEASE_500/final 312559), C version 199901
compiled with _FORTIFY_SOURCE=0
L1 cache line size (CLS)=64
thread local storage method: __thread
compiled with LibHTP v0.5.25, linked against LibHTP v0.5.25

Suricata Configuration:
  AF_PACKET support:                       no
  PF_RING support:                         no
  NFQueue support:                         no
  NFLOG support:                           no
  IPFW support:                            yes
  Netmap support:                          yes
  DAG enabled:                             no
  Napatech 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
  libgeoip:                                yes
  Non-bundled htp:                         yes
  Old barnyard2 support:                   no
  CUDA enabled:                            no
  Hyperscan support:                       no
  Libnet support:                          yes

  Rust support (experimental):             no
  Experimental Rust parsers:               no
  Rust strict mode:                        no

  Suricatasc install:                      yes

  Profiling enabled:                       yes
  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:                     /opt/suricata
  Configuration directory:                 /etc/suricata/
  Log directory:                           /var/log/suricata/

  --prefix                                 /opt/suricata
  --sysconfdir                             /etc
  --localstatedir                          /var

  Host:                                    x86_64-unknown-freebsd11.1
  Compiler:                                cc (exec name) / clang (real)
  GCC Protect enabled:                     no
  GCC march native enabled:                no
  GCC Profile enabled:                     no
  Position Independent Executable enabled: yes
  CFLAGS                                   -g -O2 -DOS_FREEBSD
  PCAP_CFLAGS                              
  SECCFLAGS

 Any idea where is the problem?

Thanks
-- 
Greetings,
C. L. Martinez


More information about the Oisf-users mailing list