OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 18.7 Legacy Series »
  • "HBSD SEGVGUARD... Suspension expired" - Please explain!
« previous next »
  • Print
Pages: [1]

Author Topic: "HBSD SEGVGUARD... Suspension expired" - Please explain!  (Read 4117 times)

fraenki

  • Full Member
  • ***
  • Posts: 171
  • Karma: 28
    • View Profile
    • GitHub
"HBSD SEGVGUARD... Suspension expired" - Please explain!
« on: December 30, 2018, 09:46:58 pm »
Hi,

I've seen a service crashing (HAProxy) and was wondering: What's the meaning of these HBSD messages?

Code: [Select]
Dec 30 11:08:05 kernel: pid 53076 (haproxy), uid 80: exited on signal 11
Dec 30 11:08:05 kernel: [HBSD SEGVGUARD] [haproxy (53076)] Suspension expired.
Dec 30 11:08:05 kernel: -> pid: 53076 ppid: 1 p_pax: 0x850<SEGVGUARD,ASLR,NODISALLOWMAP32BIT>

Is this crash related to one of these HBSD security features? Is there a way to disable them during runtime?


Thanks
- Frank
Logged

lattera

  • Full Member
  • ***
  • Posts: 200
  • Karma: 80
    • View Profile
Re: "HBSD SEGVGUARD... Suspension expired" - Please explain!
« Reply #1 on: December 31, 2018, 05:50:28 pm »
PaX SEGVGUARD protects against ASLR bruteforce attempts. It slows down execution of a continuously-crashing process in order to make bruteforce attacks take more time.

We should figure out why haproxy is segfaulting.
Logged

fraenki

  • Full Member
  • ***
  • Posts: 171
  • Karma: 28
    • View Profile
    • GitHub
Re: "HBSD SEGVGUARD... Suspension expired" - Please explain!
« Reply #2 on: December 31, 2018, 05:55:45 pm »
Quote from: lattera on December 31, 2018, 05:50:28 pm
We should figure out why haproxy is segfaulting.

Agreed.
Can HSDB security features lead to those crashes?


Regards
- Frank
Logged

lattera

  • Full Member
  • ***
  • Posts: 200
  • Karma: 80
    • View Profile
Re: "HBSD SEGVGUARD... Suspension expired" - Please explain!
« Reply #3 on: December 31, 2018, 05:58:54 pm »
Quote from: fraenki on December 31, 2018, 05:55:45 pm
Quote from: lattera on December 31, 2018, 05:50:28 pm
We should figure out why haproxy is segfaulting.

Agreed.
Can HSDB security features lead to those crashes?


Regards
- Frank

The ones that OPNsense has: nope. There is PaX NOEXEC, which prohibits applications from creating memory mappings that are both writable and executable (and toggling between the two). NOEXEC causes issues with Just-In-Time (JIT) compilers. However, OPNSense does not currently have NOEXEC in its src tree for 18.7. It does for 19.1, but NOEXEC is disabled due to PHP 7 using a JIT.

For more info about HardenedBSD's features, take a look at our wiki: https://github.com/HardenedBSD/hardenedBSD/wiki
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 18.7 Legacy Series »
  • "HBSD SEGVGUARD... Suspension expired" - Please explain!
 

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