OPNsense Forum
English Forums => Zenarmor (Sensei) => Topic started by: Darkopnsense on September 26, 2020, 08:37:10 am
-
hello mb,
Since upgrading to version 20.7 I have the OUT traffic graph widget.
When you stop sensei, the traffic graph widget works.
I have of course checked my statements on my different configurations.
Situation still valid in version 20.7.3
Regards,
French mother tongue.
-
Seems to be related to Netmap. Zabbix Client is not getting any useful data from LAN (Sensei with Netmap) and WAN1 (Suricata in IPS mode) here, too.
-
Does setting net.bpf.zerocopy_enable to 1 help?
From: https://docs.opnsense.org/troubleshooting/network.html
Use zero-copy for bpf(4) for faster processing, when not set (the default) packets will not be seen by bpf, which influences the traffic graphs for example.
-
Just set
# sysctl net.bpf.zerocopy_enable=1
net.bpf.zerocopy_enable: 0 -> 1
but LAN (igb0) with Sensei in Netmap mode is still flatlining, Zabbix is not picking up traffic either.
-
A reboot might be necessary to apply the setting before any services are started. Better to put in Misc -> Tunables so that this survives reboots.
-
A reboot might be necessary to apply the setting before any services are started. Better to put in Misc -> Tunables so that this survives reboots.
Thanks, and sorry I failed to mention that. I had already tried that, too. No luck, as soon as Sensei starts, the igb interface flatlines.
-
Hi @athurdent,
Thanks for the additional update.
This looks like netmap comes into the scene way earlier than iflib getting a chance to tap the packet for bpf(4) processing.
We'll look into that.
-
@mb Great, thank you! :)