Skip to content

chmey/c-unix-security-logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

usecl - Unix SECurity Logger

You are browsing the repository of a Unix Security Logging Tool.

It was designed as a project assignment for University class.

Modern implementations of systemd on Linux no longer use the files /var/log/authlog and /var/log/syslog for logging (auditory) information.

Instead a more centralized approach with the journalctl is used to query the systemd journal [1].

So writing a security audit tools for modern systemd implementations required reading from the sd-journal.h-api [2].

There is a second branch tracking the development for BSD systems that utilize auth.log,messages and userlog.

Future work includes creating a general build procedure for different UNIX systems that will determine the required method e.g. sd-journal or log files depending on the system.

Additionally I will try to make the program more sophisticated: optionally writing the ouput of the program to a file stream is my first priority.

If you are interested and want to contribute, please create a merge request of the particular branch: e.g. sd-journal or bsd.

Special thanks to @portante for his description [3] of some bugs that might occur when querying the api and how to play around them.