[SOLVED]Firewall No live view

Started by bpbiszkopt, September 02, 2021, 10:12:52 PM

Previous topic - Next topic
September 02, 2021, 10:12:52 PM Last Edit: September 18, 2021, 09:09:49 AM by bpbiszkopt
Hello,
I just check my router and I saw that there is no live view in firewall.

All of logs from firewall not working. I know it was working earlier but I don't know when it stoped.
I upgraded my version from 20.7 to 21.7 but without luck.
System -} Settings -} logging options to logs are checked.
Can you please tell my what can I check more to fix it ?


State table size    0 % ( 234/347000 )
MBUF usage    4 % ( 9764/213942 )
Memory usage    8 % ( 306/3474 MB )
Disk usage    15% / [ufs] (2.0G/14G)
      1% /var [tmpfs] (16M/2.9G)
      0% /tmp [tmpfs] (188K/2.9G)

dmesg | more
service -e | grep log
cat /var/log/system.log | more

check other files under /var/log as well, especially the recently changed ones after a restart of the log services.

Bart...

Hi.
I have the same problem.
I did a clean install 21.7, the firewall live log is ok, but after i restored the backup the live log is not working anymore.

CPU usage   
1 %
State table size   
0 % ( 1892/3260000 )
MBUF usage   
0 % ( 10800/2031240 )
Memory usage   
12 % ( 4187/32604 MB )
SWAP usage   
0 % ( 0/8191 MB )
   

Sorry for late answer but i have some mass at my work and children didn't let me check anything at home.
I was checking every log at /var/log and didn't find anything suspicious. I even installed fresh version then restore my settings and same situation all firewall are empty. Logs form other option are working fine.

If i connect from console and chose firewall log i see them.

I enclose some logs

Changing this setting
net.bpf.optimize_writers
to it's default value fix problem.

for me this issue still persists.

firewall logs are working in the console but not in the webinterface.

OPNsense 21.7.2_1-amd64
FreeBSD 12.1-RELEASE-p20-HBSD
OpenSSL 1.1.1l 24 Aug 2021

i have also wiped the ssd, reinstalled OPNsense and imported the configuration again. No change.

QuoteChanging this setting
net.bpf.optimize_writers
to it's default value fix problem.

i cant find this in my tunables.
i want all services to run with wirespeed and therefore run this dedicated hardware configuration:

AMD Ryzen 7 9700x
ASUS Pro B650M-CT-CSM
64GB DDR5 ECC (2x KSM56E46BD8KM-32HA)
Intel XL710-BM1
Intel i350-T4
2x SSD with ZFS mirror
PiKVM for remote maintenance

private user, no business use

Check System->Settings->Tunables 5th option from top.

Quote from: bpbiszkopt on September 18, 2021, 10:58:34 PM
Check System->Settings->Tunables 5th option from top.

This option does not exist. I already used the search function from my browser.
i want all services to run with wirespeed and therefore run this dedicated hardware configuration:

AMD Ryzen 7 9700x
ASUS Pro B650M-CT-CSM
64GB DDR5 ECC (2x KSM56E46BD8KM-32HA)
Intel XL710-BM1
Intel i350-T4
2x SSD with ZFS mirror
PiKVM for remote maintenance

private user, no business use

Quote from: seed on September 19, 2021, 04:39:03 PM
Quote from: bpbiszkopt on September 18, 2021, 10:58:34 PM
Check System->Settings->Tunables 5th option from top.

This option does not exist. I already used the search function from my browser.

i kinda found a solution:

first i also notices that ntpd was not running in the webinterface. ntpd also did not want to start. but checking the sockets port 123 was used and ntp was running in the background. kinda odd.
after running: "killall ntpd" and starting from the gui ntpd startet normal.

After doing that i removed all logfiles from the system using the gui.
The firewall log started working right away.
i want all services to run with wirespeed and therefore run this dedicated hardware configuration:

AMD Ryzen 7 9700x
ASUS Pro B650M-CT-CSM
64GB DDR5 ECC (2x KSM56E46BD8KM-32HA)
Intel XL710-BM1
Intel i350-T4
2x SSD with ZFS mirror
PiKVM for remote maintenance

private user, no business use