File monitoring software that will log file access to configured directories on the system.
- Linux OS
- Recent version of linux kernel, I used 5.3.7
systemdbased OSlibauditis available and installed in the systemlibpthreadis available and installed in the systemauditdand friends are available and installed in the system
- Reinstall new version:
sudo killall auditd && make && sudo make install && sudo systemctl start auditd
- Gdb analysis of core in case of crash
sudo coredumpctl -1 gdb
- Following debugging output
journalctl -fu auditd
mkdir buildcmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ..makesudo make install
sudo install.sh
tail -f /tmp/file-monitor.log- Change above for different logs
journalctl -fu auditd- Watch here for any relevant app logs
- Is nametype truly the file access type?
- Add executable arguments to specify different config file
- Not such a hardcoded config file location ("/etc/file-monitor.conf")
- Make audit events logged configurable