| Both sides previous revision Previous revision Next revision | Previous revision |
| summerofcode2020projects:addauditsupporttonfs [2020/08/30 11:37] – update progress ShivankGarg | summerofcode2020projects:addauditsupporttonfs [2020/10/18 23:59] (current) – Update 1 broken link. Fix 1 markup. SashaVigole |
|---|
| ^ Differential ^ Title ^ Status ^ | ^ Differential ^ Title ^ Status ^ |
| | [[https://reviews.freebsd.org/D25263|D25263]] | NFS remove vfs_statfs and vnode_mount macro | [[https://github.com/freebsd/freebsd/commit/ee58a166b5dcab9f035d9c5982396743084f1c9c|Merged]] ✔ | | | [[https://reviews.freebsd.org/D25263|D25263]] | NFS remove vfs_statfs and vnode_mount macro | [[https://github.com/freebsd/freebsd/commit/ee58a166b5dcab9f035d9c5982396743084f1c9c|Merged]] ✔ | |
| | [[https://reviews.freebsd.org/D25869|D25869]] | NFSv3 Audit Support | Revision is still in review | | | <del>D25869</del> [[https://reviews.freebsd.org/D26243|D26243]] | NFSv3 Audit Support | Revision is still in review | |
| |
| Note: | Note: |
| ===== Test Plan ===== | ===== Test Plan ===== |
| |
| **%%NFSAuditTestSuite%%:** The NFS audit test suite is built on the top net/libnfs port and uses Kyua ATF framework for testing. Note: The %%NFSAuditTestSuite%% design and code is deeply influenced and borrowed from [[/RegressionTestSuiteForAuditFramework|RegressionTestSuiteForAuditFramework]] and net/libnfs examples and internal code. | **%%NFSAuditTestSuite%%:** The NFS audit test suite is built on the top net/libnfs port and uses Kyua ATF framework for testing. Note: The %%NFSAuditTestSuite%% design and code is deeply influenced and borrowed from %%RegressionTestSuiteForAuditFramework%% and net/libnfs examples and internal code. |
| %%NFSAuditTestSuite%% uses async libnfs raw-APIs interface to test individual RPCs. This allows us to test the NFS Audit with high flexibility and helps avoid doing RPC that other than the desired one (as much as possible). | %%NFSAuditTestSuite%% uses async libnfs raw-APIs interface to test individual RPCs. This allows us to test the NFS Audit with high flexibility and helps avoid doing RPC that other than the desired one (as much as possible). |
| |
| * Wrote Test Suite(using net/libnfs) for NFSv3 Audit support. [[https://github.com/shivankgarg98/NFSAuditTestSuite/blob/master/nfsv3-test.c|here]] | * Wrote Test Suite(using net/libnfs) for NFSv3 Audit support. [[https://github.com/shivankgarg98/NFSAuditTestSuite/blob/master/nfsv3-test.c|here]] |
| * Added audit support to NFSv4(4, 4.1, 4.2) RPC and Sub-ops. [[https://github.com/shivankgarg98/freebsd/tree/user/shivank/nfsv4_audit|here]] | * Added audit support to NFSv4(4, 4.1, 4.2) RPC and Sub-ops. [[https://github.com/shivankgarg98/freebsd/tree/user/shivank/nfsv4_audit|here]] |
| * Wrote Skeleton for NFSv4 [[/TestSuite|TestSuite]] and success/failure tests for NFSv4 operations. [[https://github.com/shivankgarg98/NFSAuditTestSuite/blob/master/nfsv4-test.c|here]] | * Wrote NFSv4 Test Suite and success/failure tests for NFSv4 operations. [[https://github.com/shivankgarg98/NFSAuditTestSuite/blob/master/nfsv4-test.c|here]] |
| |
| ===== Work Remaining ===== | ===== Work Remaining ===== |
| |
| ^ Report Email Archive ^ | ^ Report Email Archive ^ |
| | [[https://lists.freebsd.org/pipermail/soc-status/2020-June/001220.html0|Introduction mail]] | | | [[https://lists.freebsd.org/pipermail/soc-status/2020-June/001220.html|Introduction mail]] | |
| | [[https://lists.freebsd.org/pipermail/soc-status/2020-June/001223.html|Week 1]] | | | [[https://lists.freebsd.org/pipermail/soc-status/2020-June/001223.html|Week 1]] | |
| | [[https://lists.freebsd.org/pipermail/soc-status/2020-June/001228.html|Week 2]] | | | [[https://lists.freebsd.org/pipermail/soc-status/2020-June/001228.html|Week 2]] | |
| | [[https://lists.freebsd.org/pipermail/soc-status/2020-August/001254.html|Week 12]] | | | [[https://lists.freebsd.org/pipermail/soc-status/2020-August/001254.html|Week 12]] | |
| |
| === Please check this branch for the code === | ===== Please check this branch for the code ===== |
| * NFSv2 and NFSv3 Audit Support - https://github.com/shivankgarg98/freebsd/tree/user/shivank/nfs_audit | * NFSv2 and NFSv3 Audit Support - https://github.com/shivankgarg98/freebsd/tree/user/shivank/nfs_audit |
| * NFSv4 Audit Support feature branch - https://github.com/shivankgarg98/freebsd/tree/user/shivank/nfsv4_audit | * NFSv4 Audit Support feature branch - https://github.com/shivankgarg98/freebsd/tree/user/shivank/nfsv4_audit |
| === Compare File Changed (links for quick lookup) === | === Compare File Changed (links for quick lookup) === |
| * [[https://github.com/freebsd/freebsd/compare/master...shivankgarg98:user/shivank/nfs_audit|Compare NFSv3 audit file changes wrt FreeBSD HEAD]] | * [[https://github.com/freebsd/freebsd/compare/master...shivankgarg98:user/shivank/nfs_audit|Compare NFSv3 audit file changes wrt FreeBSD HEAD]] |
| * [[https://github.com/shivankgarg98/freebsd/compare/user/shivank/nfs_audit...shivankgarg98:user/shivank/nfsv4_audit|Compare NFSv4 audit file changes/addition wrt NFSv3 audit]] | * [[https://github.com/freebsd/freebsd/compare/master...shivankgarg98:user/shivank/nfsv4_audit|Compare NFSv4 audit file changes/addition wrt FreeBSD HEAD]] |
| |
| ===== Useful links ===== | ===== Useful links ===== |