Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Aug 2020 00:09:55 +0530
From:      Shivank Garg <shivank@freebsd.org>
To:        soc-status@freebsd.org
Cc:        Alan Somers <asomers@freebsd.org>
Subject:   [GSoC'20 Weekly Update] Adding audit(4) support to NFS
Message-ID:  <CAOVCmzG1JTm-Xqe6JJxB=f9gyQQf-Csg1k%2BTqw4-dUnbAXE3_w@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.

Til this I week, I made the following progress:
* Fixed the AUDIT_NFSARG_UPATH1 to avoid unlocking/relocking of vnode for
locked vnode.
* Followed up on NFSv3 Audit(4) support revision here:
https://reviews.freebsd.org/D25869
* Started Auditing NFSv4 Sub-operations:
https://github.com/shivankgarg98/freebsd/compare/user/shivank/nfs_audit_review2...shivankgarg98:user/shivank/nfsv4_audit

Currently, I'm:
* Developing TestSuite for NFSv4 Simultaneously for audited sub-ops.
* auditing remaining NFSv4 services.

Please, do Check this project on
Github: https://github.com/shivankgarg98/freebsd/tree/user/shivank/nfs_audit
NFSv4 audit feature branch:
https://github.com/shivankgarg98/freebsd/tree/user/shivank/nfsv4_audit
Project wiki:
https://wiki.freebsd.org/SummerOfCode2020Projects/AddAuditSupportToNFS
TestSuite: https://github.com/shivankgarg98/NFSAuditTestSuite

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?CAOVCmzG1JTm-Xqe6JJxB=f9gyQQf-Csg1k%2BTqw4-dUnbAXE3_w>