You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, the lastlogx files attached are 65536 bytes (not divisible by 428 or 432).
Looking at the code in lastlogin.c, the "read" call uses a function pointer so it's difficult to trace by reading published source code. But these files appear to be more complex that a flat record struct file like utmp.
The text was updated successfully, but these errors were encountered:
Parse NetBSD
lastlogx
record struct files.Current behavior
/var/log/lastlogx
files cannot be processed.Suggested behavior
Parse
lastlogx
files.Other
Attached are
lastlogx
files (zipped) scraped from NetBSD 9.3 systems.This struct on x86_32 platform is 428 bytes and defined as:
This struct on x86_64 platform is 432 bytes and defined as:
However, the
lastlogx
files attached are 65536 bytes (not divisible by 428 or 432).Looking at the code in
lastlogin.c
, the "read" call uses a function pointer so it's difficult to trace by reading published source code. But these files appear to be more complex that a flat record struct file likeutmp
.The text was updated successfully, but these errors were encountered: