What's new

Solved Issue with iptables logging in Kamoj addon 5.4b6

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

R. Gerrits

Senior Member
Running addon version 5.4b6 and have some issues with iptables logs.

After reboot, I do get iptables log messages in /var/log/log-message (messages from aegis blocking some connections).
After some time, those iptables log messages are no longer logged there.
(this time latest message was 9984:[ 9983.118994] [aegis] IN=brwan....)

dmesg also does not work. (shows nothing)

If I disable "Save the system logs to USB. (or /opt/kamoj/logs if no USB detected)" then dmesg starts working again.
dmesg then also shows the latest iptables log messages.

But these iptables log messages are still not appended to /var/log/log-message
(that only continues to show messages from DHCP or admin login)

Any ideas what could cause this??

EDIT:
I do see that with "Save the system logs to USB" dmesg logs indeed are on /mnt/sda1/system_logs/dmesg.txt.
But I think aegis is only looking at /var/log/log-message
 
Last edited:
I have the same issue, the Aegis logs stops being output to /var/log/log-message after uptime 9989 for me.
The aegis logs are still coming in the dmesg log though.

Running addon version 5.4b6 and have some issues with iptables logs.

After reboot, I do get iptables log messages in /var/log/log-message (messages from aegis blocking some connections).
After some time, those iptables log messages are no longer logged there.
(this time latest message was 9984:[ 9983.118994] [aegis] IN=brwan....)

dmesg also does not work. (shows nothing)

If I disable "Save the system logs to USB. (or /opt/kamoj/logs if no USB detected)" then dmesg starts working again.
dmesg then also shows the latest iptables log messages.

But these iptables log messages are still not appended to /var/log/log-message
(that only continues to show messages from DHCP or admin login)

Any ideas what could cause this??

EDIT:
I do see that with "Save the system logs to USB" dmesg logs indeed are on /mnt/sda1/system_logs/dmesg.txt.
But I think aegis is only looking at /var/log/log-message
 
  • Like
Reactions: KW.
Ok, found out how to get the Aegis logs back...
Don't know what kind of bug it is. Probably we need @Voxel to solve that riddle.
Code:
 echo "N" >/sys/module/printk/parameters/time

I also set this but don't know if it matters:
Code:
dmesg -n 8
I set this to Y in my add-on to get timestamps on dmesg events.
 
Last edited:
Similar threads

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top