2.5.0 logging authentication
-
It may be syslogd suppressing what it thinks are duplicate messages if the content is identical to the previous instance.
-
Maybe. But i think thats not ok.
-
If you logout and login fast enough to trigger the suppression then it's unlikely to be something shady, though. It will log a message saying something like
last message repeated <number> times
so it doesn't go completely unrecorded.As you said if it comes from another address, it does get logged.
There is an option for syslogd to disable that throttling/compression but running it the other way could lead to even more problems.
-
Nothing is logged about surpression.
But web gui nginx logs shows ok accesses confirming it was only me on the system... -
Disregard about surpression.
It is completley random, sometimes it logs and sometimes not. Nginx log for example shows i was clicking trough menu but auth log and syslog show nothing... -
Ok found pattern
Login, then logout then login again nothing logged.
Login, then logout AND press F5 then login, logged everytime
Cookies?
-
Also failed logins are not logged.
Just upgraded to latest snap, same thing... -
Ssh logons are always correctly logged. So there is something borked somewhere, maybe php, nginx I dont know...
-
Even worst...
Tried fresh 2.5.0It does not log anything about webgui logon/logoff at all...
Not checked disable gui logging so it should be there.
-
OK, so I guess there seems to be cache issue or something with my browser, tried from 2 different computers with firefox and I get same results, auth is not logged everytime.
Then I used Chrome, and it logs EVERY login / logout correctly.??? :)
-
Also fresh Firefox is working OK, just my 2 firefoxes (which I sync to them) are not being logged everytime but sporadically.
-
Maybe some browser add-on isn't actually removing your cookie when you logout? Or something similar.
When the browser actually logs out and back in, it gets logged. You appear to have some local problem and not a problem with the firewall.
-
Well I did complete reset of browser and now it works correctly.
Thanks for suggestions!