OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 23.7 Legacy Series »
  • System Crash after enabling Intrusion Prevention System
« previous next »
  • Print
Pages: [1]

Author Topic: System Crash after enabling Intrusion Prevention System  (Read 1298 times)

mattiarainieri

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
    • View Profile
System Crash after enabling Intrusion Prevention System
« on: September 25, 2023, 03:17:36 pm »
Hi everyone,
I'm trying to investigate about a curious problem that make my system crash every times that i enable the IPS. There is no still problem using IDS. The computer has two network cards: the 1Gbit motherboard one, and a 2 x 2.5Gbit Realtek installed on a pci slot. Enabling the IPS when only the motherboard one is installed works fine; when i install the Realtek, after a couple of second, it crash and the computer restarts.

The system reports the attached message.
Logged

maclinuxfree

  • Jr. Member
  • **
  • Posts: 57
  • Karma: 2
    • View Profile
Re: System Crash after enabling Intrusion Prevention System
« Reply #1 on: September 25, 2023, 04:21:36 pm »
very simple solution:

https://i.imgur.com/4RRxC2n.png
Logged

mattiarainieri

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
    • View Profile
Re: System Crash after enabling Intrusion Prevention System
« Reply #2 on: September 25, 2023, 09:08:09 pm »
I've tried to copy your configuration, but the error persists. I've also tried to install the driver through "pkg install realtek-re-kmod" but this create also another problem.
This installation method require to add some lines in /boot/loader.conf file, witch are ofter overwritten.

I've read that os-realtek-re packet is still not needed, but without it Opnsense does not recognise the network card
 ???
Logged

meyergru

  • Hero Member
  • *****
  • Posts: 1757
  • Karma: 171
  • IT Aficionado
    • View Profile
    • congenio
Re: System Crash after enabling Intrusion Prevention System
« Reply #3 on: September 25, 2023, 09:37:45 pm »
Quote from: mattiarainieri on September 25, 2023, 09:08:09 pm
I've tried to copy your configuration, but the error persists. I've also tried to install the driver through "pkg install realtek-re-kmod" but this create also another problem.
This installation method require to add some lines in /boot/loader.conf file, witch are ofter overwritten.

And if you look at the first lines of /boot/loader.conf, there are two options to solve that problem:

Code: [Select]
##############################################################
# This file was auto-generated using the rc.loader facility. #
# In order to deploy a custom change to this installation,   #
# please use /boot/loader.conf.local as it is not rewritten, #
# or better yet use System: Settings: Tunables from the GUI. #
##############################################################
Logged
Intel N100, 4 x I226-V, 16 GByte, 256 GByte NVME, ZTE F6005

1100 down / 440 up, Bufferbloat A+

mattiarainieri

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
    • View Profile
Re: System Crash after enabling Intrusion Prevention System
« Reply #4 on: September 25, 2023, 09:53:41 pm »
I apologize but in my haste I didn't even read the first line
Now i've configure as follow. I'll ask you if it's right, because the documentation is not so detailed.


Logged

meyergru

  • Hero Member
  • *****
  • Posts: 1757
  • Karma: 171
  • IT Aficionado
    • View Profile
    • congenio
Re: System Crash after enabling Intrusion Prevention System
« Reply #5 on: September 25, 2023, 11:07:58 pm »
Yes, but you need another setting for if_re_load="YES".
Logged
Intel N100, 4 x I226-V, 16 GByte, 256 GByte NVME, ZTE F6005

1100 down / 440 up, Bufferbloat A+

mattiarainieri

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
    • View Profile
Re: System Crash after enabling Intrusion Prevention System
« Reply #6 on: September 26, 2023, 07:50:25 am »
Off course, i didn't attach the screenshot because the configuration schema was the same.
But, unfortunately, also with this driver, the problem persists  :-\
Logged

mloichinger

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
Re: System Crash after enabling Intrusion Prevention System
« Reply #7 on: November 08, 2024, 10:05:56 am »
Quote from: mattiarainieri on September 26, 2023, 07:50:25 am
Off course, i didn't attach the screenshot because the configuration schema was the same.
But, unfortunately, also with this driver, the problem persists  :-\
Did you solve it? I have the same issue.
Logged

mattiarainieri

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
    • View Profile
Re: System Crash after enabling Intrusion Prevention System
« Reply #8 on: November 12, 2024, 05:06:08 pm »
Unfortunately not, the physical machine was changed and there the problem did not recur
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 23.7 Legacy Series »
  • System Crash after enabling Intrusion Prevention System
 

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