OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 18.1 Legacy Series »
  • 18.1.12 suricata crash
« previous next »
  • Print
Pages: 1 [2] 3

Author Topic: 18.1.12 suricata crash  (Read 26696 times)

mimugmail

  • Hero Member
  • *****
  • Posts: 6767
  • Karma: 494
    • View Profile
Re: 18.1.12 suricata crash
« Reply #15 on: July 18, 2018, 05:49:55 pm »
System : Firmware : Packages

There's a reinstall button for every pkg
Logged
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

JohnnyBeee

  • Jr. Member
  • **
  • Posts: 68
  • Karma: 0
    • View Profile
Re: 18.1.12 suricata crash
« Reply #16 on: July 18, 2018, 06:13:29 pm »
Quote from: mimugmail on July 18, 2018, 05:49:55 pm
System : Firmware : Packages

There's a reinstall button for every pkg

Thank you.
I reinstalled Suricata but the problem persists.

The messages I still get are:
Jul 18 17:34:29    kernel: pid 52626 (suricata), uid 0: exited on signal 6 (core dumped)
Jul 18 17:29:46    kernel: -> pid: 52293 ppid: 49789 p_pax: 0x850<SEGVGUARD,ASLR,NODISALLOWMAP32BIT>
Jul 18 17:29:46    kernel: [HBSD SEGVGUARD] [/usr/local/bin/suricata (52293)] Suspension expired.
Logged

ruggerio

  • Sr. Member
  • ****
  • Posts: 295
  • Karma: 11
    • View Profile
Re: 18.1.12 suricata crash
« Reply #17 on: July 18, 2018, 10:00:24 pm »
Just click System->Firmware->Packages

Search for Suricata and click on the symbol, which looks like a recycling-sign (Reinstall Suricata) :)

Afterwards go to Suricata and download the rules again, but without url-haus.

Roger
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17703
  • Karma: 1616
    • View Profile
Re: 18.1.12 suricata crash
« Reply #18 on: July 18, 2018, 10:08:51 pm »
Suricata 4.0.5 was released today. Not sure if the crashes are related to the CVEs...

https://suricata-ids.org/2018/07/18/suricata-4-0-5-available/

You can install for amd64/OpenSSL:

# pkg add -f https://pkg.opnsense.org/FreeBSD:11:amd64/18.7/MINT/18.7.r2/OpenSSL/All/suricata-4.0.5.txz

or amd64/LibreSSL:

# pkg add -f https://pkg.opnsense.org/FreeBSD:11:amd64/18.7/MINT/18.7.r2/LibreSSL/All/suricata-4.0.5.txz

to see if that helps.

Reinstall/revert to the current version using:

# opnsense-revert suricata


Cheers,
Franco
Logged

crt333

  • Jr. Member
  • **
  • Posts: 56
  • Karma: 0
    • View Profile
Re: 18.1.12 suricata crash
« Reply #19 on: July 18, 2018, 10:52:46 pm »
- I downloaded all the rules and restarted -> crash
- I reinstalled suricata -> crash
- I switched from hypersan to aho-corasick -> running
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6767
  • Karma: 494
    • View Profile
Re: 18.1.12 suricata crash
« Reply #20 on: July 18, 2018, 10:58:02 pm »
Does you CPU support SSS3?
Logged
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

crt333

  • Jr. Member
  • **
  • Posts: 56
  • Karma: 0
    • View Profile
Re: 18.1.12 suricata crash
« Reply #21 on: July 19, 2018, 12:56:16 am »
My CPU is an I5 5250U, SSE 4.1, 4.2, AVX2....
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6767
  • Karma: 494
    • View Profile
Re: 18.1.12 suricata crash
« Reply #22 on: July 19, 2018, 06:02:21 am »
Strange. Have you checked latest Update from Franco?
Logged
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

JohnnyBeee

  • Jr. Member
  • **
  • Posts: 68
  • Karma: 0
    • View Profile
Re: 18.1.12 suricata crash
« Reply #23 on: July 19, 2018, 06:17:29 am »
Quote from: franco on July 18, 2018, 10:08:51 pm
Suricata 4.0.5 was released today. Not sure if the crashes are related to the CVEs...

https://suricata-ids.org/2018/07/18/suricata-4-0-5-available/

You can install for amd64/OpenSSL:

# pkg add -f https://pkg.opnsense.org/FreeBSD:11:amd64/18.7/MINT/18.7.r2/OpenSSL/All/suricata-4.0.5.txz

or amd64/LibreSSL:

# pkg add -f https://pkg.opnsense.org/FreeBSD:11:amd64/18.7/MINT/18.7.r2/LibreSSL/All/suricata-4.0.5.txz

to see if that helps.

Reinstall/revert to the current version using:

# opnsense-revert suricata


Cheers,
Franco

It works for me :)
Logged

ruggerio

  • Sr. Member
  • ****
  • Posts: 295
  • Karma: 11
    • View Profile
Re: 18.1.12 suricata crash
« Reply #24 on: July 19, 2018, 07:14:54 am »
cool, so whats the difference, why it is working for me?

Hardware:  apu2
Scanengine: hyperscan

Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17703
  • Karma: 1616
    • View Profile
Re: 18.1.12 suricata crash
« Reply #25 on: July 19, 2018, 09:44:33 am »
My guess is different rules and different local traffic. It's hard to pin down without looking at the specifics of the 4.0.5 update if that indeed magically solves it.


Cheers,
Franco
Logged

crt333

  • Jr. Member
  • **
  • Posts: 56
  • Karma: 0
    • View Profile
Re: 18.1.12 suricata crash
« Reply #26 on: July 19, 2018, 03:56:44 pm »
I updated to 4.0.5, and switched to hyperscan, and after a few minutes suricata crashed again.

Reverted to current and switched to aho-corasick and it is working again.
Logged

milkywaygoodfellas

  • Newbie
  • *
  • Posts: 49
  • Karma: 4
    • View Profile
Re: 18.1.12 suricata crash
« Reply #27 on: July 24, 2018, 05:02:56 pm »
For me this was definitely due to the abuse.ch\urlhaus rule set.  Once I disabled that and re-downloaded/reloaded the rules, Suricata stopped crashing.

It seems they have an issue with this rule set currently.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17703
  • Karma: 1616
    • View Profile
Re: 18.1.12 suricata crash
« Reply #28 on: July 24, 2018, 06:13:16 pm »
This may be relevant. https://twitter.com/abuse_ch/status/1020172320378417154


Cheers,
Franco
Logged

milkywaygoodfellas

  • Newbie
  • *
  • Posts: 49
  • Karma: 4
    • View Profile
Re: 18.1.12 suricata crash
« Reply #29 on: July 25, 2018, 02:36:10 am »
Quote from: franco on July 24, 2018, 06:13:16 pm
This may be relevant. https://twitter.com/abuse_ch/status/1020172320378417154


Cheers,
Franco

Well, it wasn't fixed... Re-enabling the abuse.ch\urlhaus rules on 18.1.12 resulted in Suricata crashing again until I disabled the rule set.

After updating to 18.1.13 I am now experiencing the same issue with memory usage growing until Suricata crashes, then going back to normal.  This only seems to occur if the abuse.ch\urlhaus rule set is enabled.  Disabling it again seems to have stopped the issue for now.
Logged

  • Print
Pages: 1 [2] 3
« previous next »
  • OPNsense Forum »
  • Archive »
  • 18.1 Legacy Series »
  • 18.1.12 suricata crash
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2