To be a little fair the change log opening sentence seems a bit ambiguous. I don't think it was intended that way but the first time I read it I thought it was saying there were other changes that weren't noted in the log.
Quote from: Archanfel80 on August 13, 2020, 08:42:09 pmQuote from: binaryanomaly on August 13, 2020, 06:07:25 pm@mbIs 20.7.1 fixing the netmap issues adressed in the test kernel or would it set me back to the state before?No, read the changelog. That is not fix the netmap issues."From the reported issues we still have more logging quirks to investigate and especially Netmap support (used in IPS and Sensei) is lacking in some areas that were previously working. Patches are being worked on already so we shall get there soon enough. Stay tuned."That could mean anything...
Quote from: binaryanomaly on August 13, 2020, 06:07:25 pm@mbIs 20.7.1 fixing the netmap issues adressed in the test kernel or would it set me back to the state before?No, read the changelog. That is not fix the netmap issues.
@mbIs 20.7.1 fixing the netmap issues adressed in the test kernel or would it set me back to the state before?
Yes but one thing is certain. The fix is still not ready
[root@20gw /root]# cd /boot/[root@20gw:/boot # fetch https://updates.sunnyvalley.io/opnsense/updates/netmap-kernel/kernel-12.1-0815-2.tar.gzkernel-12.1-0815-2.tar.gz 45 MB 4980 kBps 10s[root@20gw /boot]# mv kernel kernel.stock.save[root@20gw /boot]# tar zxf kernel-12.1-0815-2.tar.gz [root@20gw /boot]# reboot
root@20gw:~ # uname -aFreeBSD 20gw.local 12.1-RELEASE-p8-HBSD FreeBSD 12.1-RELEASE-p8-HBSD #3 87f253a0d(master)-dirty: Sat Aug 15 09:29:08 PDT 2020 root@bsd12_openssl:/usr/obj/usr/src/amd64.amd64/sys/SMP amd64root@20gw:~ #
# cd /boot# rm -rf kernel# mv kernel.stock.save kernel# reboot
39226 root 101 0 38M 29M CPU0 0 0:56 98.97% /usr/local/bin/python3 /usr/local/opnsense/scripts/netflow/flowd_aggregate.py (python3.7)11 root 155 ki31 0 32K RUN 0 8:24 50.98% [idle{idle: cpu0}]
I hear that OPNsense will ship an official netmap test kernel in the coming week.
[root@20gw /root]# cd /boot/[root@20gw:/boot # fetch https://updates.sunnyvalley.io/opnsense/updates/netmap-kernel/kernel-12.1-0822-1.tar.gzkernel-12.1-0822-1.tar.gz 45 MB 4980 kBps 10s[root@20gw /boot]# mv kernel kernel.stock.save[root@20gw /boot]# tar zxf kernel-12.1-0822-1.tar.gz[root@20gw /boot]# reboot
root@20gw:~ # uname -aFreeBSD 20gw.local 12.1-RELEASE-p8-HBSD FreeBSD 12.1-RELEASE-p8-HBSD #6 39e30dc05(master)-dirty: Sat Aug 22 09:35:48 PDT 2020 root@sunnyvalley12.localdomain:/usr/obj/usr/src/amd64.amd64/sys/SMP amd64root@20gw:~ #
2020-08-23T09:02:28 suricata[76340] [100106] <Notice> -- all 2 packet processing threads, 4 management threads initialized, engine started.2020-08-23T09:02:28 suricata[76340] [100805] <Notice> -- opened netmap:pppoe1/T from pppoe1: 0x172871fd3002020-08-23T09:02:28 suricata[76340] [100805] <Notice> -- opened netmap:pppoe1^ from pppoe1^: 0x172871fd0002020-08-23T09:02:28 suricata[76340] [100798] <Notice> -- opened netmap:pppoe1^ from pppoe1^: 0x17236be43002020-08-23T09:02:28 suricata[76340] [100798] <Notice> -- opened netmap:pppoe1/R from pppoe1: 0x17236be4000
Should I be expecting to see PPPoE as an available interface?
Tested with igb interfaces and pppoe on wan (removed VLAN for testing)Suricata seems to start fine:....However, it doesn't alert or block on anything.Then I tried Sensei on the WAN Interface. It starts, but afterwards Internet is gone. Reports do not show any sessions or blocks.
At the moment (old config before upgrading) sensei was active on 7 of 8 vmx interfaces and is now running fine since around 2h. Filter/Blocking is working as expected.Edit2:Found this here... after "commenting" vmx and ovpns1 I can now see the interfaces https://forum.opnsense.org/index.php?topic=9521.msg84199#msg84199If I add ovpns1 to "protected interfaces" Sensei is creashing. So no luck with OpenVPN tun interface.
For tun, I need to provide a 1.6 beta to you since Sensei needs to tweak interface initialization parameters for tun(4) interfaces. It's not done on 1.5. Stay tuned, I'll provide the 1.6 txz link today.