Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jun 2020 23:54:19 +0530
From:      Shivank Garg <shivankgarg98@gmail.com>
To:        soc-status@freebsd.org
Cc:        Alan Somers <asomers@freebsd.org>
Subject:   [GSoC'20 Weekly Update] Adding audit(4) support to NFS
Message-ID:  <CAOVCmzEeyTZpht184Dme2G37xbFanreEW1peu9m_2MiPA046cg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

This project aims to add audit(4) support to NFS, which will allow
auditd(8) to just run on the NFS server and audit all activities within the
NFS network. Audit works mostly on the syscall level and NFS is implemented
within the kernel, which means the NFS RPCs don't generate any audit
records on the server.
Note that audit(4) can still be used on the NFS network but auditd(8) must
run on every NFS client.

This week I made the following progress:
* generate audit tokens for NFS RPC events.
* added NFSRPC audit events to kernel audit_bsm_db

Currently, I am:
* looking into audit kernel code and userspace contrib/openbsm for
inserting event-class mapping for NFS RPC events to kernel db.
* do audit preselection based on audit_control
* looking into net/libnfs port to write tests for NFS audit.


Please, do Check this project on
Github: https://github.com/shivankgarg98/freebsd/tree/user/shivank/nfs_audit
Project wiki:
https://wiki.freebsd.org/SummerOfCode2020Projects/AddAuditSupportToNFS

Please feel free to share your ideas and feedback on this project.

Best Regards,
Shivank Garg



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOVCmzEeyTZpht184Dme2G37xbFanreEW1peu9m_2MiPA046cg>