OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • Zenarmor (Sensei) »
  • Sensei on OPNsense - Application based filtering
« previous next »
  • Print
Pages: 1 ... 66 67 [68] 69 70 ... 79

Author Topic: Sensei on OPNsense - Application based filtering  (Read 509677 times)

nines

  • Newbie
  • *
  • Posts: 46
  • Karma: 1
    • View Profile
Sensei on OPNsense - Application based filtering
« Reply #1005 on: August 02, 2020, 09:36:23 am »
Quote from: mb on August 01, 2020, 02:13:31 am
Friends who use OPNsense on ESX:

Which ESX version are you on?  We would like to know about the problematic versions.
Already answerred Matt via mail but here's mine just for reference

6.7.0 update 2 build 13473784


Gesendet von iPhone mit Tapatalk
Logged

scream

  • Jr. Member
  • **
  • Posts: 61
  • Karma: 2
    • View Profile
Re: Sensei on OPNsense - Application based filtering
« Reply #1006 on: August 02, 2020, 11:26:55 am »
Quote from: mb on August 01, 2020, 07:12:28 pm
Ok, I think this vmx bug has been resolved on FreeBSD 12-STABLE:

https://svnweb.freebsd.org/base?view=revision&revision=363163

Let's do some tests.

How can we easy test this? As I'm on a vm I can just create a snapshot before to easy revert back, if something goes wrong :)
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17739
  • Karma: 1620
    • View Profile
Re: Sensei on OPNsense - Application based filtering
« Reply #1007 on: August 02, 2020, 11:36:33 am »
We will likely provide a test kernel next week. Note we are on 12.1 to avoid surprises in other areas and go from there... ;)


Cheers,
Franco
Logged

mb

  • Hero Member
  • *****
  • Posts: 941
  • Karma: 99
    • View Profile
    • Sunny Valley Networks
Re: Sensei on OPNsense - Application based filtering
« Reply #1008 on: August 03, 2020, 11:19:36 pm »
Yes, totally agree. I'm awaiting confirmation from several Sensei users whether 12-STABLE is fixing their problems.

I'll be updating here once I have some news.
Logged

almodovaris

  • Sr. Member
  • ****
  • Posts: 318
  • Karma: 15
    • View Profile
Re: Sensei on OPNsense - Application based filtering
« Reply #1009 on: August 04, 2020, 10:48:58 am »
AFAIK eastpect is single-core. Why not make it use multi-core?
Logged
OPNsense HW:

Minisforum Venus series UN100C, 16 GB RAM, 512 GB SSD
T-bao N9N Pro, 16 GB RAM, 512 GB SSD

mb

  • Hero Member
  • *****
  • Posts: 941
  • Karma: 99
    • View Profile
    • Sunny Valley Networks
Re: Sensei on OPNsense - Application based filtering
« Reply #1010 on: August 04, 2020, 03:29:33 pm »
@almodovaris, very good catch.

Indeed, it is multi-core, but we had to run it single core in the current environment (Routed / L3 mode) because of a lack of OS feature (netmap multiple host rings) and kernel flow asymmetry. In some environments (Bridged / L2 mode), we deploy Sensei - with a custom kernel- in multi-core mode to be able to serve multi-gigabit speeds and userbase exceeding several thousand users.

Multiple host rings feature has been introduced with FreeBSD-12. Flow symmetry requires a bit of work.

Currently, the focus is to help OPNsense ship the new netmap kernel to be able to provide a seamless Sensei / Suricata experience.

Next, this is also planned down the road.

« Last Edit: August 04, 2020, 03:32:03 pm by mb »
Logged

cgone

  • Newbie
  • *
  • Posts: 45
  • Karma: 1
    • View Profile
Re: Sensei on OPNsense - Application based filtering
« Reply #1011 on: August 05, 2020, 02:26:06 pm »
It is possible to enlarge the mount /usr/local/sensei/output/active/temp?

I got often the following error messages (and lags):

Aug  5 12:40:53 firewall kernel: pid 83092 (eastpect), uid 0 inumber 5 on /usr/local/sensei/output/active/temp: filesystem full
Aug  5 12:40:57 firewall kernel: pid 83092 (eastpect), uid 0 inumber 8 on /usr/local/sensei/output/active/temp: filesystem full
Logged

mb

  • Hero Member
  • *****
  • Posts: 941
  • Karma: 99
    • View Profile
    • Sunny Valley Networks
Re: Sensei on OPNsense - Application based filtering
« Reply #1012 on: August 05, 2020, 08:09:37 pm »
Hi @cgone, sure. This feature will ship with the upcoming 1.6 :)

Check for a new configuration item under "Configuration -> Reporting & Data" : "Size of Temporary Memory Disk Space".
Logged

Rickytr

  • Newbie
  • *
  • Posts: 26
  • Karma: 2
    • View Profile
Re: Sensei on OPNsense - Application based filtering
« Reply #1013 on: August 06, 2020, 06:13:49 pm »
I'm trying to install Sensei on a new virtualized (vmware) installation of OPNsense, but during the setup the lan interface (vmx0) is not displayed in available interfaces. I don't have anything installed that can lock that interface.
Any help?
Logged

mb

  • Hero Member
  • *****
  • Posts: 941
  • Karma: 99
    • View Profile
    • Sunny Valley Networks
Re: Sensei on OPNsense - Application based filtering
« Reply #1014 on: August 06, 2020, 06:27:16 pm »
Hi @Rickytr, on 20.7, we explicitly filter out vmx interfaces to prevent a system crash. Please see this thread:

https://forum.opnsense.org/index.php?topic=17363.msg83997#msg83997

Logged

Rickytr

  • Newbie
  • *
  • Posts: 26
  • Karma: 2
    • View Profile
Re: Sensei on OPNsense - Application based filtering
« Reply #1015 on: August 07, 2020, 04:22:56 pm »
In the thread you mentioned seems they found a way to solve the problem. How can I configure sensei correctly on LAN nic after I patch the kernel?
Logged

mb

  • Hero Member
  • *****
  • Posts: 941
  • Karma: 99
    • View Profile
    • Sunny Valley Networks
Re: Sensei on OPNsense - Application based filtering
« Reply #1016 on: August 07, 2020, 04:27:10 pm »
Hi @Rickytr, vmx patch seems incomplete. It just prevents the crash. Packet transmission has problems.

Below table summarizes the current situation.
https://docs.google.com/spreadsheets/d/1RVj8K3XOzWi-Bkjq6hUxWudu7Cxd8FFTqjLiBMzZWEM/edit#gid=0

I'll post more updates once we confirm everything is working.

Logged

actionhenkt

  • Jr. Member
  • **
  • Posts: 50
  • Karma: 2
    • View Profile
Re: Sensei on OPNsense - Application based filtering
« Reply #1017 on: August 07, 2020, 08:25:34 pm »
I upgraded opnsense to the latest version, now sensei doesnt see any interfaces anymore. Im running opnsense on proxmox if that matters. Just finished installing a fresh copy of the latest opnsense and sensei and im getting the same result, sensei doesnt detect any interfaces to protect ?

Logged

mb

  • Hero Member
  • *****
  • Posts: 941
  • Karma: 99
    • View Profile
    • Sunny Valley Networks
Re: Sensei on OPNsense - Application based filtering
« Reply #1018 on: August 07, 2020, 08:29:24 pm »
Hi @actionhenkt,

on 20.7, we explicitly filter out some interfaces to prevent a system crash. If yours is vtnet, this is one of them.

Please see this thread:

https://forum.opnsense.org/index.php?topic=17363.msg83997#msg83997

Good news is; vtnet fix looks good. There'll be a test kernel soon.
Logged

actionhenkt

  • Jr. Member
  • **
  • Posts: 50
  • Karma: 2
    • View Profile
Re: Sensei on OPNsense - Application based filtering
« Reply #1019 on: August 07, 2020, 08:41:26 pm »
Thanks, that was a fast response :) - I installed the kernel but unfortunately im not able to select any interfaces yet (im using vtnet).
Logged

  • Print
Pages: 1 ... 66 67 [68] 69 70 ... 79
« previous next »
  • OPNsense Forum »
  • English Forums »
  • Zenarmor (Sensei) »
  • Sensei on OPNsense - Application based filtering
 

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